diff options
author | Octiabrina Terrien–Puig <octiabrina@myrvogna.net> | 2021-02-24 11:19:56 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-02-24 11:53:48 +0100 |
commit | f5d39fe2138573bc5ea7c2664c68721cf51e2c6f (patch) | |
tree | d233fb80bb7a1b6e59141f757593fc207cf976fb /app-text/pdftk | |
parent | media-sound/ardour: bump to 6.6, eapi7 + updated live (diff) | |
download | gentoo-f5d39fe2138573bc5ea7c2664c68721cf51e2c6f.tar.gz gentoo-f5d39fe2138573bc5ea7c2664c68721cf51e2c6f.tar.bz2 gentoo-f5d39fe2138573bc5ea7c2664c68721cf51e2c6f.zip |
app-text/pdftk: bump to 3.2.2
Signed-off-by: Octiabrina Terrien-Puig <octiabrina@myrvogna.net>
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Closes: https://github.com/gentoo/gentoo/pull/19624
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'app-text/pdftk')
-rw-r--r-- | app-text/pdftk/Manifest | 1 | ||||
-rw-r--r-- | app-text/pdftk/pdftk-3.2.2.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest index 3f34c8e9cdfb..736e0c03fa15 100644 --- a/app-text/pdftk/Manifest +++ b/app-text/pdftk/Manifest @@ -1,2 +1,3 @@ DIST pdftk-v3.0.0.tar.bz2 546821 BLAKE2B 1d1935322f1468d9e2e8044e748fbb816e399599e445e078866d416d5e99866739134fb794ff42dbfcc37271d66655440f706db46f152722ab7030cba16edf38 SHA512 3b487f7532140366c9ac41222cd366d387b93e67aada845772f60ff20601e25611e34a190a65fbcec9d776a0b5683100fdd54453357bf7c43cebea7dda0c6229 DIST pdftk-v3.0.8.tar.bz2 1147182 BLAKE2B 3832445eca456c4880dfe0eabab50be0b8e53acee1eb67c871c3c6b6d44d723869662fcb9cbb28acb7847c11be2d3d456b7bca5a18e4ea6069d73717986771ca SHA512 1b7f8b07e97877fe3a7ff42f425da5b1fdf1397f7abf88ef06c5033a3b849f03fed89f02f15c770bcd581537a7b5442e5693a93ff903efc9588ed60e85cdcdc3 +DIST pdftk-v3.2.2.tar.bz2 1245439 BLAKE2B ac1991e60ad06308cb7be1e74f9b3772c80416e490fe525e806efb6d30c6bbc9d310b98c255ef9e3eb3f814541d7388140210c4df2b694bd4a9ee325c27b3f24 SHA512 03220ac3036098768dd4250bbfeb6675561e9126697b99703ab5788b2cee7551256c301d9191745c5fdedf429056b46641351d1fb92631ef17673d7e740c5431 diff --git a/app-text/pdftk/pdftk-3.2.2.ebuild b/app-text/pdftk/pdftk-3.2.2.ebuild new file mode 100644 index 000000000000..493a76696305 --- /dev/null +++ b/app-text/pdftk/pdftk-3.2.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="gcj-free version of pdftk written in Java" +HOMEPAGE="https://gitlab.com/pdftk-java/pdftk" + +if [[ ${PV} == 9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.com/pdftk-java/pdftk/" +else + SRC_URI="https://gitlab.com/pdftk-java/pdftk/-/archive/v${PV}/pdftk-v${PV}.tar.bz2" + KEYWORDS="~amd64 ~ppc64 ~x86" + S="${WORKDIR}/pdftk-v${PV}" +fi + +LICENSE="GPL-2" +SLOT="0" + +JAVA_PKG_STRICT="yes" +EANT_GENTOO_CLASSPATH="bcprov,commons-lang-3.6" +JAVA_ANT_REWRITE_CLASSPATH="true" + +CDEPEND=" + dev-java/bcprov:0 + dev-java/commons-lang:3.6" + +RDEPEND=" + ${CDEPEND} + >=virtual/jre-1.8" + +DEPEND=" + ${CDEPEND} + >=virtual/jdk-1.8" + +src_install() { + java-pkg_newjar "build/jar/pdftk.jar" + java-pkg_dolauncher ${PN} --main com.gitlab.pdftk_java.pdftk +} |