diff --git a/poppler-qt6/.checksums b/poppler-qt6/.checksums new file mode 100644 index 000000000..9266a55ea --- /dev/null +++ b/poppler-qt6/.checksums @@ -0,0 +1 @@ +20090652a3a78f7a2816db3bfcb383a3 poppler-22.09.0.tar.xz diff --git a/poppler-qt6/.pkgfiles b/poppler-qt6/.pkgfiles new file mode 100644 index 000000000..5dfe29791 --- /dev/null +++ b/poppler-qt6/.pkgfiles @@ -0,0 +1,20 @@ +poppler-qt6-22.09.0-1 +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/spkgbuild b/poppler-qt6/spkgbuild new file mode 100755 index 000000000..c204b6402 --- /dev/null +++ b/poppler-qt6/spkgbuild @@ -0,0 +1,33 @@ +# description : qt6 wrapper for poppler +# depends : poppler qt6-base + +name=poppler-qt6 +version=22.09.0 +release=1 +source="https://poppler.freedesktop.org/poppler-$version.tar.xz" + +build() { + cd poppler-$version + + mkdir build + cd build + + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DTESTDATADIR=$PWD/testfiles \ + -DENABLE_UNSTABLE_API_ABI_HEADERS=OFF \ + -DENABLE_UTILS=OFF \ + -DENABLE_CPP=OFF \ + -DENABLE_GLIB=OFF \ + -DENABLE_QT5=OFF \ + -DENABLE_QT6=ON \ + -DENABLE_BOOST=OFF \ + .. + make + make DESTDIR=$PKG install + + rm $PKG/usr/lib/libpoppler.so* + rm $PKG/usr/lib/pkgconfig/poppler.pc + #rm $PKG/usr/lib/pkgconfig/poppler-splash.pc + #rm $PKG/usr/lib/pkgconfig/poppler-cairo.pc +}