summaryrefslogtreecommitdiff
path: root/app-text/pdftk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-12-15 18:09:03 +0000
commit7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch)
tree4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /app-text/pdftk
parentb284a3168fa91a038925d2ecf5e4791011ea5e7d (diff)
gentoo resync : 15.12.2019
Diffstat (limited to 'app-text/pdftk')
-rw-r--r--app-text/pdftk/Manifest2
-rw-r--r--app-text/pdftk/pdftk-3.0.8.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/app-text/pdftk/Manifest b/app-text/pdftk/Manifest
index 930c837dc96c..2325e9df3fa1 100644
--- a/app-text/pdftk/Manifest
+++ b/app-text/pdftk/Manifest
@@ -1,4 +1,6 @@
DIST pdftk-v3.0.0.tar.bz2 546821 BLAKE2B 1d1935322f1468d9e2e8044e748fbb816e399599e445e078866d416d5e99866739134fb794ff42dbfcc37271d66655440f706db46f152722ab7030cba16edf38 SHA512 3b487f7532140366c9ac41222cd366d387b93e67aada845772f60ff20601e25611e34a190a65fbcec9d776a0b5683100fdd54453357bf7c43cebea7dda0c6229
+DIST pdftk-v3.0.8.tar.bz2 1147182 BLAKE2B 3832445eca456c4880dfe0eabab50be0b8e53acee1eb67c871c3c6b6d44d723869662fcb9cbb28acb7847c11be2d3d456b7bca5a18e4ea6069d73717986771ca SHA512 1b7f8b07e97877fe3a7ff42f425da5b1fdf1397f7abf88ef06c5033a3b849f03fed89f02f15c770bcd581537a7b5442e5693a93ff903efc9588ed60e85cdcdc3
EBUILD pdftk-3.0.0.ebuild 904 BLAKE2B 1639a85321d6fe453d7b16c9c6bb3d4becda977a6cf624feff4abc3aa3964c05eed4ce22c8f74f54c5f1a1edc3ec14c0198d71f0f725482f518f8efc18c52357 SHA512 f0866fb18062a9e7110a7f654747be14f3ebc58a9f20a6bd32fd591851096bac0b5ee33c04b648ec412744b2dcf7e30062696c329d305109a3d1706aa8a2b57b
+EBUILD pdftk-3.0.8.ebuild 888 BLAKE2B 7e1303da5e39813dd95821d57da3a311af2b240997c88aacc2f7c7bf96df64cf2940aed20be5df7a94e1273c030b43bf32b4df8b807a76c0eed4c1c90baab48f SHA512 23313feb465c003692d03f2ab80f22f037865f25dc6a7466163e246f9339cd325a7e5663e783923b3faa71070466f4b274dd2744e30ad155ac6002bada76d544
EBUILD pdftk-9999.ebuild 891 BLAKE2B f932721020bbd1bc3fa5d1c5df5c109ef4e528d65cdc307ac6c06d0178f5ceb973f985642855fcd4e9e3b668914a4dca658492cbd136cca632c32c4880233624 SHA512 064d9a9673a8659d7e9c1de6fe5d8348701caea7935fb3602a2f72622de0a3ceaf7ab523e0240592b19f8826aab4539b2d6a698417015305608d85f867e42b6b
MISC metadata.xml 348 BLAKE2B ef51c768c6964646b5e264d379b5c259134b37df3c9d4368b92c44855ee21fa40005fcf1514e95fba43fb683fbf49c35dc251521d1b63f91449c73ecb527a749 SHA512 f7031388d3d15f091e5e477bbcc7291b1e2362cc41fb485875e8a4ec81c9b86ee4a8b9ee640eeffe7e2bc17cc90ab417945bd6aca52cf13c85d979774e8a3572
diff --git a/app-text/pdftk/pdftk-3.0.8.ebuild b/app-text/pdftk/pdftk-3.0.8.ebuild
new file mode 100644
index 000000000000..ed8e3f4b3a5f
--- /dev/null
+++ b/app-text/pdftk/pdftk-3.0.8.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~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.7"
+
+DEPEND="
+ ${CDEPEND}
+ >=virtual/jdk-1.7"
+
+src_install() {
+ java-pkg_newjar "build/jar/pdftk.jar"
+ java-pkg_dolauncher ${PN} --main com.gitlab.pdftk_java.pdftk
+}