app-text/qpdf: Bump to version 8.3.0
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 21 Jan 2019 10:06:35 +0000 (11:06 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 21 Jan 2019 10:06:35 +0000 (11:06 +0100)
Package-Manager: Portage-2.3.57, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-text/qpdf/Manifest
app-text/qpdf/qpdf-8.3.0.ebuild [new file with mode: 0644]

index 62bb502539b6913a7cf553438f5d06bfcda9532c..56b874be62dcf08c76e52568bf33b8cb9b58cad3 100644 (file)
@@ -3,3 +3,4 @@ DIST qpdf-7.1.1.tar.gz 7099282 BLAKE2B 9658dd1cc6f8d0e3dd13137db147e0f954f747b5b
 DIST qpdf-8.0.2.tar.gz 7952979 BLAKE2B a9c81f41d6b5e3e9f80dab8325fffbedb8740ae500efbf4f4d2c27aca1778b1e2c438b7aba7846bd62874e2ff4265bb50b3b3d3d32302fb3e4583ba0251bf8f4 SHA512 f6d062f011d87f3f1df44e96e5dec0cd4b1b5f800dc6c088bf1313b2c96922d2f3c1b6eb1109a6ef00c558144b85dc20aeb85f937b73a3b594633aa67104f5e3
 DIST qpdf-8.1.0.tar.gz 8243624 BLAKE2B 6db64282353bedca91225f2f5a9bc2a568872209d9c6b392374412e561bcb37d8e17223ecb34b332ebc7a83aa826bf2e85fbb0b3eeee3f055b24f343a26eed9d SHA512 1831bcaaed87dae268db5d61805d1483ec5c101f6ce594be660664c119597ae67cf011c2b50092964d785a814d5f6c780935127a89401fe37a1026ae4d3af15c
 DIST qpdf-8.2.1.tar.gz 8256216 BLAKE2B 67e9b897ed938b9dd2e8508efaddd4dd6f63568aa23332ef72918a0888cc1e1b8fe844f0c1424b8ab568ee5ce42f8efd04293cd525e9d8de0c5fe7b352f49367 SHA512 ef3aeb4a7ca3ec48ab62341533eedcb2a6d0985767317ab72c22f0c0ecfef6849bfdc34b1bcec6427c7bde166143adb409c895ff40d8be6628e6323e27697a8c
+DIST qpdf-8.3.0.tar.gz 8915504 BLAKE2B 961e6534a389f2f42ce86f5f7cab9534bdda32c998622cd7fcf1f2d62cf42444f8a3dc7d1582e691b81b9571d5578ad78e278136ac6ace23a31113fe177ba34e SHA512 9982a489cc6b9c880adc7decb18f1941930a86f430a00505f230364fbadf83c5afd832a1ccf7966a9453cdbb40b7c60db438f7b27d836a242eefb07a77d7284d
diff --git a/app-text/qpdf/qpdf-8.3.0.ebuild b/app-text/qpdf/qpdf-8.3.0.ebuild
new file mode 100644 (file)
index 0000000..320e39e
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
+HOMEPAGE="http://qpdf.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 Artistic-2 )"
+
+# subslot = libqpdf soname version
+SLOT="0/21"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~m68k-mint ~sparc-solaris"
+IUSE="doc examples perl static-libs test"
+
+CDEPEND="
+       sys-libs/zlib
+       virtual/jpeg:0=
+"
+DEPEND="${CDEPEND}
+       test? (
+               sys-apps/diffutils
+               media-libs/tiff
+               app-text/ghostscript-gpl[tiff]
+       )
+"
+# Only need perl for the installed tools.
+RDEPEND="${CDEPEND}
+       perl? ( >=dev-lang/perl-5.8 )
+"
+
+DOCS=( ChangeLog README.md TODO )
+
+src_configure() {
+       local myeconfargs=(
+               $(use_enable static-libs static)
+               $(use_enable test test-compare-images)
+       )
+       CONFIG_SHELL=/bin/bash econf "${myeconfargs[@]}"
+}
+
+src_install() {
+       default
+
+       if ! use perl ; then
+               rm "${ED}"/usr/bin/fix-qdf || die
+               rm "${ED}"/usr/share/man/man1/fix-qdf.1 || die
+       fi
+
+       if use examples ; then
+               dobin examples/build/.libs/*
+       fi
+
+       find "${ED}" -name '*.la' -delete || die
+}