smlinux/gtk/poppler/smbuild
PktSurf 05e903aace Added sysconfdir build option to gtk/dbus-glib
Upgraded gtk/openjpeg to 2.5.2
Upgraded poppler to 24.02.0
2024-11-05 17:13:51 +05:30

43 lines
1.1 KiB
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=poppler
version=24.02.0
build=1sml
homepage="https://poppler.freedesktop.org/"
download="https://poppler.freedesktop.org/poppler-$version.tar.xz"
desc="PDF rendering library aimed at centralised code maintenance"
requires="pkgconf gcc-libs libjpeg-turbo python3 curl lcms2 openjpeg icu cairo gtk2 gobject-introspection gtk3"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_CPP_TESTS=OFF \
-DBUILD_GTK_TESTS=OFF \
-DBUILD_MANUAL_TESTS=OFF \
-DBUILD_QT5_TESTS=OFF \
-DBUILD_QT6_TESTS=OFF \
-DENABLE_QT5=OFF \
-DENABLE_QT6=OFF
make
make install DESTDIR=$pkg
cp ../COPYING $pkgdocs/
mkfinalpkg
}
sha512sums="
392100e7bf7d72aae5bbdd0367ba93b63a96eac114d3d8e18793099ada091bc0d55cd56b0d8d899f887e975fe930cd512b16559ae11f1ee6e302591499f58caa poppler-24.02.0.tar.lz
"