diff options
Diffstat (limited to 'app-text/pdftk')
-rw-r--r-- | app-text/pdftk/Manifest | 4 | ||||
-rw-r--r-- | app-text/pdftk/pdftk-3.3.2.ebuild | 42 | ||||
-rw-r--r-- | app-text/pdftk/pdftk-9999.ebuild | 10 |
3 files changed, 50 insertions, 6 deletions
diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest index ae62dc3210b6..acef760d9d1a 100644 --- a/app-text/pdftk/Manifest +++ b/app-text/pdftk/Manifest @@ -1,4 +1,6 @@ DIST pdftk-v3.2.2.tar.bz2 1245439 BLAKE2B ac1991e60ad06308cb7be1e74f9b3772c80416e490fe525e806efb6d30c6bbc9d310b98c255ef9e3eb3f814541d7388140210c4df2b694bd4a9ee325c27b3f24 SHA512 03220ac3036098768dd4250bbfeb6675561e9126697b99703ab5788b2cee7551256c301d9191745c5fdedf429056b46641351d1fb92631ef17673d7e740c5431 +DIST pdftk-v3.3.2.tar.bz2 2169492 BLAKE2B 53cb98fe3e3d1dbe8b01a45b5b11c6fbe57017ea8029efe35677914a48ffd446c5d67621443a89f512b15d0f7e77a81c945d4c220ccaf4fd658cc1726cc32059 SHA512 b02c713b67531205e760e8d8a240a82af47dbdc28e59aa683e03772d2fb27b504b98f8be1e8dc73bfc967cc9532f3dc1eccbd105abb21db396268855233051eb EBUILD pdftk-3.2.2.ebuild 900 BLAKE2B 4ce505b123cb0eb98db780bc7b32016e0363bfe489fbca02a84b4db29748e3e39a925d7fa15bf725c157fc997666a4af43b38acee14f0e39bddbc2769f4cd55b SHA512 8f7b74233fa3de35807c93f96721358ad5f107354e6289fd447d4dc37da5cbb35945d18e4631a8292aefba9fd1326babb9cdd8b9b8a1901f207a7b891ae77046 -EBUILD pdftk-9999.ebuild 891 BLAKE2B f932721020bbd1bc3fa5d1c5df5c109ef4e528d65cdc307ac6c06d0178f5ceb973f985642855fcd4e9e3b668914a4dca658492cbd136cca632c32c4880233624 SHA512 064d9a9673a8659d7e9c1de6fe5d8348701caea7935fb3602a2f72622de0a3ceaf7ab523e0240592b19f8826aab4539b2d6a698417015305608d85f867e42b6b +EBUILD pdftk-3.3.2.ebuild 906 BLAKE2B bbc5a168431ff4f4f8a51ee581c1dde06c3044212be071360168a7f192cf7f257fa3b0bf966cc66532763b3cbe5ac74fca56de276f8afbf17cfe49fa7a837a5a SHA512 312c2f2bfb40abc41c2b67f96ecb54b1cdaeeb083dffb2d395e5fb757e56b7b1d128850f64c6427a4066734a2cf33d29ebbf3841497cbc8a106edb1c305de55a +EBUILD pdftk-9999.ebuild 906 BLAKE2B bbc5a168431ff4f4f8a51ee581c1dde06c3044212be071360168a7f192cf7f257fa3b0bf966cc66532763b3cbe5ac74fca56de276f8afbf17cfe49fa7a837a5a SHA512 312c2f2bfb40abc41c2b67f96ecb54b1cdaeeb083dffb2d395e5fb757e56b7b1d128850f64c6427a4066734a2cf33d29ebbf3841497cbc8a106edb1c305de55a MISC metadata.xml 349 BLAKE2B 3fd6e82540ef8da6c46195a90af4638d914e5f3f6a1e6f3e3dbf0bfb940f23ed7b26578185219ef1fd00f069bb38a308056a39edea7661e263ac523c3bd40a2e SHA512 364f75cc6a80de2e1d517b094c1073fab7fc10738182d1fb37f0723fdcfc5238704f905a0f6ec8e373e1a91f2a7ad0990891beb26f94010eab13e8f688d230ad 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 +} diff --git a/app-text/pdftk/pdftk-9999.ebuild b/app-text/pdftk/pdftk-9999.ebuild index 9fe6b13efc09..01bda985c416 100644 --- a/app-text/pdftk/pdftk-9999.ebuild +++ b/app-text/pdftk/pdftk-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit java-pkg-2 java-ant-2 @@ -13,7 +13,7 @@ if [[ ${PV} == 9999 ]] ; then 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 ~x86" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" S="${WORKDIR}/pdftk-v${PV}" fi @@ -30,11 +30,11 @@ CDEPEND=" RDEPEND=" ${CDEPEND} - >=virtual/jre-1.7" + >=virtual/jre-1.8:*" DEPEND=" ${CDEPEND} - >=virtual/jdk-1.7" + >=virtual/jdk-1.8:*" src_install() { java-pkg_newjar "build/jar/pdftk.jar" |