From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC9CA1382C5 for ; Tue, 18 May 2021 14:07:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA8CEE041F; Tue, 18 May 2021 14:07:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D29D2E041F for ; Tue, 18 May 2021 14:07:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00448335D28 for ; Tue, 18 May 2021 14:07:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B0F3D63D for ; Tue, 18 May 2021 14:07:00 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1621346816.c8a8d9fc4fd4c9a42fbf753fcab05138ae03f3b5.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/trident/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/trident/trident-1.3-r1.ebuild X-VCS-Directories: dev-java/trident/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: c8a8d9fc4fd4c9a42fbf753fcab05138ae03f3b5 X-VCS-Branch: master Date: Tue, 18 May 2021 14:07:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 48c3e5a1-9520-4987-a463-b3403510ffca X-Archives-Hash: cb178e83678e267ff2a3be91256a0b13 commit: c8a8d9fc4fd4c9a42fbf753fcab05138ae03f3b5 Author: Volkmar W. Pogatzki pogatzki net> AuthorDate: Tue May 18 06:42:08 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Tue May 18 14:06:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8a8d9fc 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 pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/20862 Signed-off-by: Miroslav Šulc gentoo.org> dev-java/trident/trident-1.3-r1.ebuild | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) 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 00000000000..80d22e18305 --- /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/* +}