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, 06 May 2019 11:46:00
Message-Id: 1557143147.4b80941ae6c6f66d230101653476ade3634d90b9.polynomial-c@gentoo
1 commit: 4b80941ae6c6f66d230101653476ade3634d90b9
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 6 11:13:55 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon May 6 11:45:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b80941a
7
8 app-text/qpdf: Bump to version 8.4.1
9
10 Package-Manager: Portage-2.3.66, 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.4.1.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 58 insertions(+)
16
17 diff --git a/app-text/qpdf/Manifest b/app-text/qpdf/Manifest
18 index ed982f10671..5375f58d002 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.2.1.tar.gz 8256216 BLAKE2B 67e9b897ed938b9dd2e8508efaddd4dd6f63568aa23332ef72918a0888cc1e1b8fe844f0c1424b8ab568ee5ce42f8efd04293cd525e9d8de0c5fe7b352f49367 SHA512 ef3aeb4a7ca3ec48ab62341533eedcb2a6d0985767317ab72c22f0c0ecfef6849bfdc34b1bcec6427c7bde166143adb409c895ff40d8be6628e6323e27697a8c
23 DIST qpdf-8.3.0.tar.gz 8915504 BLAKE2B 961e6534a389f2f42ce86f5f7cab9534bdda32c998622cd7fcf1f2d62cf42444f8a3dc7d1582e691b81b9571d5578ad78e278136ac6ace23a31113fe177ba34e SHA512 9982a489cc6b9c880adc7decb18f1941930a86f430a00505f230364fbadf83c5afd832a1ccf7966a9453cdbb40b7c60db438f7b27d836a242eefb07a77d7284d
24 DIST qpdf-8.4.0.tar.gz 16981811 BLAKE2B ac0f7b6ab0ca5b421229bf3813cba6b59cc5b7472080246b1384db468e14a4e634f00e1e9e9347e2f8ac8d7e5c15c1b1c18e954f4249298e5ee4778f996fc4ee SHA512 13225c6285311e8fe89970971b082b9613e70d474ee71dd5572f1ae268234d366c2c9c7bf427c4758a746a1a27ecc0127d31044ab501dbc08885c8aa0a514028
25 +DIST qpdf-8.4.1.tar.gz 16990752 BLAKE2B 6e7ccd212cf8d01aea3dc615f5924c0575392f19cdd20b35327a71bd1f97d7e515fe1a73cd2e3901964f621cafa19ab07a1314af19f40ded28d3e9f683c02ab0 SHA512 d5ac3376345650f05278f8b4d99182cd58b927537085a4a6415d3df0b80b7ddd80a7c33778ec8c3b85d9788ea081ea3266bd4a9315eda9820988e9e54a22f80d
26
27 diff --git a/app-text/qpdf/qpdf-8.4.1.ebuild b/app-text/qpdf/qpdf-8.4.1.ebuild
28 new file mode 100644
29 index 00000000000..320e39eb2a6
30 --- /dev/null
31 +++ b/app-text/qpdf/qpdf-8.4.1.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 +}