diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-12-24 09:16:19 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-12-24 09:16:24 +0100 |
commit | b3d9f518e7b9a2119835b9e08005127443b7219b (patch) | |
tree | 8a7ee0c76d14f15933e57038a0d8b2d2796b57ca /app-text/pdftk | |
parent | app-text/pdftk: updated live (diff) | |
download | gentoo-b3d9f518e7b9a2119835b9e08005127443b7219b.tar.gz gentoo-b3d9f518e7b9a2119835b9e08005127443b7219b.tar.bz2 gentoo-b3d9f518e7b9a2119835b9e08005127443b7219b.zip |
app-text/pdftk: bump to 3.3.2
eapi7, min java to 1.8
Package-Manager: Portage-3.0.30, Repoman-3.0.3
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.3.2.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest index 7842f625de51..57fe4d9c0c88 100644 --- a/app-text/pdftk/Manifest +++ b/app-text/pdftk/Manifest @@ -1 +1,2 @@ DIST pdftk-v3.2.2.tar.bz2 1245439 BLAKE2B ac1991e60ad06308cb7be1e74f9b3772c80416e490fe525e806efb6d30c6bbc9d310b98c255ef9e3eb3f814541d7388140210c4df2b694bd4a9ee325c27b3f24 SHA512 03220ac3036098768dd4250bbfeb6675561e9126697b99703ab5788b2cee7551256c301d9191745c5fdedf429056b46641351d1fb92631ef17673d7e740c5431 +DIST pdftk-v3.3.2.tar.bz2 2169492 BLAKE2B 53cb98fe3e3d1dbe8b01a45b5b11c6fbe57017ea8029efe35677914a48ffd446c5d67621443a89f512b15d0f7e77a81c945d4c220ccaf4fd658cc1726cc32059 SHA512 b02c713b67531205e760e8d8a240a82af47dbdc28e59aa683e03772d2fb27b504b98f8be1e8dc73bfc967cc9532f3dc1eccbd105abb21db396268855233051eb diff --git a/app-text/pdftk/pdftk-3.3.2.ebuild b/app-text/pdftk/pdftk-3.3.2.ebuild new file mode 100644 index 000000000000..01bda985c416 --- /dev/null +++ b/app-text/pdftk/pdftk-3.3.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 ~arm64 ~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 +} |