From 60d72639d08fc735de096fe952963bfb7c0c166e Mon Sep 17 00:00:00 2001 From: Malte Kiefer Date: Wed, 6 Jan 2021 13:00:41 +0100 Subject: [PATCH] added qpdf --- core/qpdf/.checksums | 1 + core/qpdf/.pkgfiles | 69 ++++++++++++++++++++++++++++++++++++++++++++ core/qpdf/spkgbuild | 18 ++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 core/qpdf/.checksums create mode 100644 core/qpdf/.pkgfiles create mode 100644 core/qpdf/spkgbuild diff --git a/core/qpdf/.checksums b/core/qpdf/.checksums new file mode 100644 index 000000000..4386371a3 --- /dev/null +++ b/core/qpdf/.checksums @@ -0,0 +1 @@ +6d72264ff68a9807418af4d7fc613e95 qpdf-10.1.0.tar.gz diff --git a/core/qpdf/.pkgfiles b/core/qpdf/.pkgfiles new file mode 100644 index 000000000..7fb0e1dc5 --- /dev/null +++ b/core/qpdf/.pkgfiles @@ -0,0 +1,69 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/fix-qdf +-rwxr-xr-x root/root usr/bin/qpdf +-rwxr-xr-x root/root usr/bin/zlib-flate +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/qpdf/ +-rw-r--r-- root/root usr/include/qpdf/Buffer.hh +-rw-r--r-- root/root usr/include/qpdf/BufferInputSource.hh +-rw-r--r-- root/root usr/include/qpdf/ClosedFileInputSource.hh +-rw-r--r-- root/root usr/include/qpdf/Constants.h +-rw-r--r-- root/root usr/include/qpdf/DLL.h +-rw-r--r-- root/root usr/include/qpdf/FileInputSource.hh +-rw-r--r-- root/root usr/include/qpdf/InputSource.hh +-rw-r--r-- root/root usr/include/qpdf/JSON.hh +-rw-r--r-- root/root usr/include/qpdf/Pipeline.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_Buffer.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_Concatenate.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_Count.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_DCT.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_Discard.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_Flate.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_QPDFTokenizer.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_RunLength.hh +-rw-r--r-- root/root usr/include/qpdf/Pl_StdioFile.hh +-rw-r--r-- root/root usr/include/qpdf/PointerHolder.hh +-rw-r--r-- root/root usr/include/qpdf/QIntC.hh +-rw-r--r-- root/root usr/include/qpdf/QPDF.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFAcroFormDocumentHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFAnnotationObjectHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFCryptoImpl.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFCryptoProvider.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFDocumentHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFExc.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFFormFieldObjectHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFNameTreeObjectHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFNumberTreeObjectHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFObjGen.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFObject.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFObjectHandle.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFObjectHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFOutlineDocumentHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFOutlineObjectHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFPageDocumentHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFPageLabelDocumentHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFPageObjectHelper.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFStreamFilter.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFSystemError.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFTokenizer.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFWriter.hh +-rw-r--r-- root/root usr/include/qpdf/QPDFXRefEntry.hh +-rw-r--r-- root/root usr/include/qpdf/QTC.hh +-rw-r--r-- root/root usr/include/qpdf/QUtil.hh +-rw-r--r-- root/root usr/include/qpdf/RandomDataProvider.hh +-rw-r--r-- root/root usr/include/qpdf/Types.h +-rw-r--r-- root/root usr/include/qpdf/qpdf-c.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libqpdf.a +lrwxrwxrwx root/root usr/lib/libqpdf.so -> libqpdf.so.28.1.0 +lrwxrwxrwx root/root usr/lib/libqpdf.so.28 -> libqpdf.so.28.1.0 +-rwxr-xr-x root/root usr/lib/libqpdf.so.28.1.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/libqpdf.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/fix-qdf.1.gz +-rw-r--r-- root/root usr/share/man/man1/qpdf.1.gz +-rw-r--r-- root/root usr/share/man/man1/zlib-flate.1.gz diff --git a/core/qpdf/spkgbuild b/core/qpdf/spkgbuild new file mode 100644 index 000000000..838e51b6b --- /dev/null +++ b/core/qpdf/spkgbuild @@ -0,0 +1,18 @@ +# description : Utility that does structural, content-preserving transformations on PDF files +# depends : gnutls zlib libjpeg-turbo openssl + +name=qpdf +version=10.1.0 +release=1 +options="" +noextract="" +backup="" +source="http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz" + +build() { + cd $name-$version + ./configure --prefix=/usr + make + make DESTDIR=$PKG install + rm -r $PKG/usr/share/doc +}