summaryrefslogtreecommitdiff
path: root/dev-java/trident
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/trident')
-rw-r--r--dev-java/trident/Manifest1
-rw-r--r--dev-java/trident/trident-1.3-r1.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/trident/Manifest b/dev-java/trident/Manifest
index 0aad2d0124b4..9a75933c7b7e 100644
--- a/dev-java/trident/Manifest
+++ b/dev-java/trident/Manifest
@@ -1,4 +1,5 @@
AUX 1.3-build.xml.patch 2112 BLAKE2B e014eb8632086256f7abf0068bc076b544dae4e4bcb1f8ffb7cd7ea132d87663f44e672aef93e6d18071d555486f9e526a70d2436d72c26c75592b82636310d1 SHA512 f4790f0f7551d2734c0db2495c1dff5f6580c1734aab596fd0e419447b8c085d3ba2b4010dea972e6e3c400141d619a10baed10a2d4b8f4135e9855e9ec9b6e6
DIST trident-1.3.zip 112050 BLAKE2B 62f5ae9266714524c50e92c00d3d13810d47727596b0247786c056490b5366015fd35b2e859925734eae26c01b8070474d24e0770ac2eb644024f32754a6c5b7 SHA512 2ecccf80c654ad8cff6a2907d4f81409034bd5cc07542e87db7b53a646fb63ee38a472eb778f6f77f6cf1885f8dc5b85d50a6a033ab430e7e03a07000463f68b
+EBUILD trident-1.3-r1.ebuild 1076 BLAKE2B b7fb0039969e284aeb48741725ff053f945a77e1f6f1cf1000c96be69341c6faa251c6294edd95a79dfccba01024f25eb591008cd0806b40abc0cc247642e5fb SHA512 32149bad27add78161bc7bfae10b5f12f277eba5c3743b19424105e8a461ac8f7fe04fc78ef1831205c9d2bc94ff5a360098e3fe0fe9e6a9edf580abd9455ded
EBUILD trident-1.3.ebuild 998 BLAKE2B 8356f3bfcfc2e909b897738f4b40bf23e01eda8b8aa2aee5b8a62e8db2c6ff24ce849567e0a70260db1ca71a3a89e295ba7bf95884e1edc4c9bbdb3e790829ae SHA512 859285924da73f45e601a0cb9553e301f908718f79cce6ad104688fc8f9486f13324ea8cb8aaabe212184e0004671c01b9edede2ffcbc128787243159c804282
MISC metadata.xml 236 BLAKE2B 5a64c4404c26415501f50132968e687d4f1b852738cb0e1a5aef8cc4de9e4ea623066f46068fce3d80514ff122d85304e3fd12282c4b1513a4084523ef8bef07 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253
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..8a029be2e54a
--- /dev/null
+++ b/dev-java/trident/trident-1.3-r1.ebuild
@@ -0,0 +1,54 @@
+# 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"
+
+src_prepare() {
+ default
+ mkdir build/classes -p || die
+ rm -r src/org/pushingpixels/trident/android/ || die
+}
+
+src_compile() {
+ EANT_EXTRA_ARGS="-Djdk.home=$(java-config -O)"
+ java-pkg-2_src_compile
+}
+
+src_install() {
+ java-pkg_dojar drop/${PN}.jar
+
+ use source && java-pkg_dosrc src/*
+}