commit 498e87d49547a6d4b4de1e68940dc21546ee75a6 Author: Juergen Daubert <jue@jue.li> Date: Sun Nov 13 14:00:59 2022 +0100 poppler-qt6: initial release, version 22.11.0 diff --git a/poppler-qt6/.footprint b/poppler-qt6/.footprint new file mode 100644 index 000000000..08480074b --- /dev/null +++ b/poppler-qt6/.footprint @@ -0,0 +1,19 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/poppler/ +drwxr-xr-x root/root usr/include/poppler/qt6/ +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-annotation.h +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-export.h +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-form.h +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-link.h +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-media.h +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-optcontent.h +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-page-transition.h +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-qt6.h +-rw-r--r-- root/root usr/include/poppler/qt6/poppler-version.h +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/libpoppler-qt6.so -> libpoppler-qt6.so.3 +lrwxrwxrwx root/root usr/lib/libpoppler-qt6.so.3 -> libpoppler-qt6.so.3.2.0 +-rwxr-xr-x root/root usr/lib/libpoppler-qt6.so.3.2.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/poppler-qt6.pc diff --git a/poppler-qt6/.signature b/poppler-qt6/.signature new file mode 100644 index 000000000..a01a2ce51 --- /dev/null +++ b/poppler-qt6/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/Riimrkw7iVzFvv14Mxu3PdK/1i3EHgqjOdUguo1TWkljkh8CANGERG0LMPaEwAsvYIAy2oqG1VcaQvJONIItQU= +SHA256 (Pkgfile) = 9dd949752a788500b201325e914d74af059769fa531985d15f7e17fbc4eaa289 +SHA256 (.footprint) = e3ba7cf383f33ac193ec398a90df64eeb81ae127d02fce2a41cb3d56891e80d4 +SHA256 (poppler-22.11.0.tar.xz) = 093ba9844ed774285517361c15e21a31ba4df278a499263d4403cca74f2da828 diff --git a/poppler-qt6/Pkgfile b/poppler-qt6/Pkgfile new file mode 100644 index 000000000..6b668d885 --- /dev/null +++ b/poppler-qt6/Pkgfile @@ -0,0 +1,36 @@ +# Description: qt5 wrapper for poppler +# URL: https://poppler.freedesktop.org/ +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: poppler qt6-base + +name=poppler-qt6 +version=22.11.0 +release=1 +source=(https://poppler.freedesktop.org/poppler-$version.tar.xz) + +build() { + cmake -S poppler-$version -B build -G Ninja \ + -D CMAKE_BUILD_TYPE=Release \ + -D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \ + -D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \ + -D CMAKE_INSTALL_PREFIX=/usr \ + -D CMAKE_INSTALL_LIBDIR=/usr/lib \ + -D ENABLE_UNSTABLE_API_ABI_HEADERS=OFF \ + -D ENABLE_UTILS=OFF \ + -D ENABLE_CPP=OFF \ + -D ENABLE_GLIB=OFF \ + -D ENABLE_QT5=OFF \ + -D ENABLE_QT6=ON \ + -D ENABLE_ZLIB=ON \ + -D ENABLE_CMS=lcms2 \ + -D ENABLE_LIBOPENJPEG=none \ + -D ENABLE_BOOST=OFF \ + -D WITH_NSS3=OFF \ + -D RUN_GPERF_IF_PRESENT=OFF + + cmake --build build -j ${JOBS:-1} + DESTDIR=$PKG cmake --install build + + rm $PKG/usr/lib/libpoppler.so* + rm $PKG/usr/lib/pkgconfig/poppler.pc +}