diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2021-05-18 08:42:08 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-05-18 16:06:56 +0200 |
commit | c8a8d9fc4fd4c9a42fbf753fcab05138ae03f3b5 (patch) | |
tree | e3192095bcf77e895e95427c798811a56191379d /dev-java | |
parent | dev-python/terminado: Remove old (diff) | |
download | gentoo-c8a8d9fc4fd4c9a42fbf753fcab05138ae03f3b5.tar.gz gentoo-c8a8d9fc4fd4c9a42fbf753fcab05138ae03f3b5.tar.bz2 gentoo-c8a8d9fc4fd4c9a42fbf753fcab05138ae03f3b5.zip |
dev-java/trident: min java 1.8, swt:4.10
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/20862
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/trident/trident-1.3-r1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-java/trident/trident-1.3-r1.ebuild b/dev-java/trident/trident-1.3-r1.ebuild new file mode 100644 index 000000000000..80d22e18305c --- /dev/null +++ b/dev-java/trident/trident-1.3-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +JAVA_PKG_IUSE="source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java animation library" +HOMEPAGE="https://kenai.com/projects/trident/pages/Home" +SRC_URI="https://kenai.com/projects/trident/downloads/download/version%20${PV}%20-%20stable/${PN}-all.zip -> ${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RESTRICT="test" + +CDEPEND="dev-java/swt:4.10" + +DEPEND=">=virtual/jdk-1.8:* + ${CDEPEND}" +RDEPEND=">=virtual/jre-1.8:* + ${CDEPEND}" +BDEPEND="app-arch/unzip" + +PATCHES=( + "${FILESDIR}"/1.3-build.xml.patch +) + +S="${WORKDIR}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_BUILD_TARGET="timestamp init clean compile.module.trident jar" +EANT_GENTOO_CLASSPATH="swt-4.10" +EANT_EXTRA_ARGS="-Djdk.home=${JAVA_HOME}" + +src_prepare() { + default + mkdir build/classes -p || die + rm -r src/org/pushingpixels/trident/android/ || die +} + +src_install() { + java-pkg_dojar drop/${PN}.jar + + use source && java-pkg_dosrc src/* +} |