diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-09-29 15:36:19 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-10-01 09:29:20 +0200 |
commit | 0d742c85b175ee97e4e5f50060fb64a2cd36dc96 (patch) | |
tree | 571508e8096ff612a23cf6a96e92662c37ba76aa /app-text/pdftk/pdftk-9999.ebuild | |
parent | app-text/pdftk: install man pages, minor style updates (diff) | |
download | gentoo-0d742c85b175ee97e4e5f50060fb64a2cd36dc96.tar.gz gentoo-0d742c85b175ee97e4e5f50060fb64a2cd36dc96.tar.bz2 gentoo-0d742c85b175ee97e4e5f50060fb64a2cd36dc96.zip |
app-text/pdftk: update live ebuild
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/33122
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'app-text/pdftk/pdftk-9999.ebuild')
-rw-r--r-- | app-text/pdftk/pdftk-9999.ebuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app-text/pdftk/pdftk-9999.ebuild b/app-text/pdftk/pdftk-9999.ebuild index f76cb2d086b7..5054bbcc6777 100644 --- a/app-text/pdftk/pdftk-9999.ebuild +++ b/app-text/pdftk/pdftk-9999.ebuild @@ -9,7 +9,7 @@ JAVA_TESTING_FRAMEWORKS="junit-4" inherit java-pkg-2 java-pkg-simple -DESCRIPTION="gcj-free version of pdftk written in Java" +DESCRIPTION="A port of pdftk into java" HOMEPAGE="https://gitlab.com/pdftk-java/pdftk" if [[ ${PV} == 9999 ]] ; then @@ -25,16 +25,12 @@ fi LICENSE="GPL-2" SLOT="0" +# Switch back to bcprov:0 once pdftk updates its bcprov dependency. CP_DEPEND=" - dev-java/bcprov:0 + dev-java/bcprov:1.74 dev-java/commons-lang:3.6 " -# Compile dependencies -# POM: pom.xml -# test? com.github.stefanbirkner:system-rules:1.19.0 -> !!!groupId-not-found!!! -# test? junit:junit:4.12 -> >=dev-java/junit-4.13.2:4 - DEPEND=" >=virtual/jdk-1.8:* ${CP_DEPEND} @@ -50,16 +46,15 @@ RDEPEND=" DOCS=( CHANGELOG.md README.md ) -JAVA_LAUNCHER_FILENAME="${PN}" JAVA_MAIN_CLASS="com.gitlab.pdftk_java.pdftk" -JAVA_SRC_DIR="java" JAVA_RESOURCE_DIRS="resources/java" +JAVA_SRC_DIR="java" JAVA_TEST_GENTOO_CLASSPATH="junit-4,system-rules" JAVA_TEST_SRC_DIR="test" src_prepare() { - default + java-pkg-2_src_prepare mkdir resources || die cp -r {,resources/}java || die rm -r resources/java/com/gitlab/pdftk_java/com/lowagie/text/pdf/codec || die @@ -86,3 +81,8 @@ src_test() { ) java-pkg-simple_src_test } + +src_install() { + java-pkg-simple_src_install + doman "${PN}.1" +} |