Merge pull request #1589 from Visone-Selektah/poppler

New port; poppler-qt6 22.9.0
This commit is contained in:
Luis
2022-09-02 14:53:41 +02:00
committed by GitHub
3 changed files with 54 additions and 0 deletions

1
poppler-qt6/.checksums Normal file
View File

@@ -0,0 +1 @@
20090652a3a78f7a2816db3bfcb383a3 poppler-22.09.0.tar.xz

20
poppler-qt6/.pkgfiles Normal file
View File

@@ -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

33
poppler-qt6/spkgbuild Executable file
View File

@@ -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
}