Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/qpdf/
Date: Mon, 21 Jan 2019 10:23:53
Message-Id: 1548065195.eda5704e1c0ce80c8717802137922ef0d0215175.polynomial-c@gentoo
1 commit: eda5704e1c0ce80c8717802137922ef0d0215175
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 21 10:06:35 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 21 10:06:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eda5704e
7
8 app-text/qpdf: Bump to version 8.3.0
9
10 Package-Manager: Portage-2.3.57, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 app-text/qpdf/Manifest | 1 +
14 app-text/qpdf/qpdf-8.3.0.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
18 index 62bb502539b..56b874be62d 100644
19 --- a/app-text/qpdf/Manifest
20 +++ b/app-text/qpdf/Manifest
21 @@ -3,3 +3,4 @@ DIST qpdf-7.1.1.tar.gz 7099282 BLAKE2B 9658dd1cc6f8d0e3dd13137db147e0f954f747b5b
22 DIST qpdf-8.0.2.tar.gz 7952979 BLAKE2B a9c81f41d6b5e3e9f80dab8325fffbedb8740ae500efbf4f4d2c27aca1778b1e2c438b7aba7846bd62874e2ff4265bb50b3b3d3d32302fb3e4583ba0251bf8f4 SHA512 f6d062f011d87f3f1df44e96e5dec0cd4b1b5f800dc6c088bf1313b2c96922d2f3c1b6eb1109a6ef00c558144b85dc20aeb85f937b73a3b594633aa67104f5e3
23 DIST qpdf-8.1.0.tar.gz 8243624 BLAKE2B 6db64282353bedca91225f2f5a9bc2a568872209d9c6b392374412e561bcb37d8e17223ecb34b332ebc7a83aa826bf2e85fbb0b3eeee3f055b24f343a26eed9d SHA512 1831bcaaed87dae268db5d61805d1483ec5c101f6ce594be660664c119597ae67cf011c2b50092964d785a814d5f6c780935127a89401fe37a1026ae4d3af15c
24 DIST qpdf-8.2.1.tar.gz 8256216 BLAKE2B 67e9b897ed938b9dd2e8508efaddd4dd6f63568aa23332ef72918a0888cc1e1b8fe844f0c1424b8ab568ee5ce42f8efd04293cd525e9d8de0c5fe7b352f49367 SHA512 ef3aeb4a7ca3ec48ab62341533eedcb2a6d0985767317ab72c22f0c0ecfef6849bfdc34b1bcec6427c7bde166143adb409c895ff40d8be6628e6323e27697a8c
25 +DIST qpdf-8.3.0.tar.gz 8915504 BLAKE2B 961e6534a389f2f42ce86f5f7cab9534bdda32c998622cd7fcf1f2d62cf42444f8a3dc7d1582e691b81b9571d5578ad78e278136ac6ace23a31113fe177ba34e SHA512 9982a489cc6b9c880adc7decb18f1941930a86f430a00505f230364fbadf83c5afd832a1ccf7966a9453cdbb40b7c60db438f7b27d836a242eefb07a77d7284d
26
27 diff --git a/app-text/qpdf/qpdf-8.3.0.ebuild b/app-text/qpdf/qpdf-8.3.0.ebuild
28 new file mode 100644
29 index 00000000000..320e39eb2a6
30 --- /dev/null
31 +++ b/app-text/qpdf/qpdf-8.3.0.ebuild
32 @@ -0,0 +1,57 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DESCRIPTION="Command-line tool for structural, content-preserving transformation of PDF files"
39 +HOMEPAGE="http://qpdf.sourceforge.net/"
40 +SRC_URI="mirror://sourceforge/qpdf/${P}.tar.gz"
41 +
42 +LICENSE="|| ( Apache-2.0 Artistic-2 )"
43 +
44 +# subslot = libqpdf soname version
45 +SLOT="0/21"
46 +
47 +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"
48 +IUSE="doc examples perl static-libs test"
49 +
50 +CDEPEND="
51 + sys-libs/zlib
52 + virtual/jpeg:0=
53 +"
54 +DEPEND="${CDEPEND}
55 + test? (
56 + sys-apps/diffutils
57 + media-libs/tiff
58 + app-text/ghostscript-gpl[tiff]
59 + )
60 +"
61 +# Only need perl for the installed tools.
62 +RDEPEND="${CDEPEND}
63 + perl? ( >=dev-lang/perl-5.8 )
64 +"
65 +
66 +DOCS=( ChangeLog README.md TODO )
67 +
68 +src_configure() {
69 + local myeconfargs=(
70 + $(use_enable static-libs static)
71 + $(use_enable test test-compare-images)
72 + )
73 + CONFIG_SHELL=/bin/bash econf "${myeconfargs[@]}"
74 +}
75 +
76 +src_install() {
77 + default
78 +
79 + if ! use perl ; then
80 + rm "${ED}"/usr/bin/fix-qdf || die
81 + rm "${ED}"/usr/share/man/man1/fix-qdf.1 || die
82 + fi
83 +
84 + if use examples ; then
85 + dobin examples/build/.libs/*
86 + fi
87 +
88 + find "${ED}" -name '*.la' -delete || die
89 +}