Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/cpdf/
Date: Fri, 27 Dec 2019 19:11:16
Message-Id: 1577473832.a094d7a5e61c22722316abf9091863fc016d20f8.radhermit@gentoo
1 commit: a094d7a5e61c22722316abf9091863fc016d20f8
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 27 18:46:05 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 27 19:10:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a094d7a5
7
8 app-text/cpdf: version bump to 2.3.1
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 app-text/cpdf/Manifest | 1 +
13 app-text/cpdf/cpdf-2.3.1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/app-text/cpdf/Manifest b/app-text/cpdf/Manifest
17 index f4180f33fe8..95ee8d57ffb 100644
18 --- a/app-text/cpdf/Manifest
19 +++ b/app-text/cpdf/Manifest
20 @@ -1,2 +1,3 @@
21 DIST cpdf-2.2.1.tar.gz 704730 BLAKE2B 1767d2c9fdc645b4ff97b828b1d7bedb22aa645444f299e36ec4717015ea7b87dbbac4c9ec27bb508a7adb28b2c75c155bf9094a168567abbffa93887712241d SHA512 3dda72513c551cca5d8cb60732b3f2c2e8ad400bd2c9fcf0c3b54a68e94385e3f19ec7713de95efa90eafb7b0077662097565a28616041019e03edf140b6af4f
22 +DIST cpdf-2.3.1.tar.gz 385720 BLAKE2B fae61c8e62b1c679919512c5fa4c57279e118d7ecc8378b528053a1487731675f47877c6164d92f3770e38db78fd9bcce0635f76f0b2efdf10c775a1e9cf5ed7 SHA512 3f22e76bc6bffe2bcd6b2c27d0aa8dc55b842cf0eee46f23c0f3e23e1a86ac7af4665b48513ae3e2d7d2ae84fc864af3b6c3c92e93d78b7798b801bb9be987a1
23 DIST cpdf-2.3.tar.gz 384594 BLAKE2B 391cc2d88ae5ad2decc3911ea2125345cb337e15f059b2411f8e835f91460bc0cb28410ebe8a15bbf3c2c5ba511f89b0bcfec8ccae3aca69658fd6eb55c64dc2 SHA512 db17bd019a6c2a719761662af682cc74a7dbcc673c22867652cef37508b6d3dcbf4d5da9d9db9e8b1b0cf912f03be18f16748ab15dcbdfbdfd37900d4fd04ddd
24
25 diff --git a/app-text/cpdf/cpdf-2.3.1.ebuild b/app-text/cpdf/cpdf-2.3.1.ebuild
26 new file mode 100644
27 index 00000000000..3df1825ad11
28 --- /dev/null
29 +++ b/app-text/cpdf/cpdf-2.3.1.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit findlib
37 +
38 +DESCRIPTION="A command line tool for manipulating PDF files"
39 +HOMEPAGE="https://community.coherentpdf.com/ https://github.com/johnwhitington/cpdf-source/"
40 +SRC_URI="https://github.com/johnwhitington/cpdf-source/archive/v${PV}.tar.gz -> ${P}.tar.gz"
41 +
42 +# BSD is only for xmlm.ml
43 +LICENSE="Coherent-Graphics BSD"
44 +SLOT="0"
45 +KEYWORDS="~amd64 ~x86"
46 +IUSE="doc"
47 +
48 +RDEPEND=">=dev-lang/ocaml-4:=[ocamlopt]
49 + ~dev-ml/camlpdf-${PV}:="
50 +DEPEND="${RDEPEND}"
51 +
52 +RESTRICT="mirror bindist"
53 +
54 +S=${WORKDIR}/${PN}-source-${PV}
55 +
56 +src_compile() {
57 + # parallel make issues
58 + emake -j1
59 +}
60 +
61 +src_install() {
62 + findlib_src_install
63 +
64 + dobin cpdf
65 + dodoc Changes README.md cpdfmanual.pdf
66 + doman cpdf.1
67 +
68 + use doc && dodoc -r doc/cpdf/html
69 +}