summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-03-30 20:47:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-03-30 20:50:50 +0200
commit5b1e4a34bdfd1ecaf3e7d914195d8acaaf2ef905 (patch)
tree915b31ecc856d30891f4d4e5f42c4912563f9d68 /net-nds/jxplorer
parentnet-misc/remmina: bump to 1.4.13 (diff)
downloadgentoo-5b1e4a34bdfd1ecaf3e7d914195d8acaaf2ef905.tar.gz
gentoo-5b1e4a34bdfd1ecaf3e7d914195d8acaaf2ef905.tar.bz2
gentoo-5b1e4a34bdfd1ecaf3e7d914195d8acaaf2ef905.zip
net-nds/jxplorer: EAPI-7 bump, add missing desktop.eclass
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-nds/jxplorer')
-rw-r--r--net-nds/jxplorer/files/3.3-disable-jxworkbench.patch6
-rw-r--r--net-nds/jxplorer/jxplorer-3.3.1.2.ebuild41
2 files changed, 23 insertions, 24 deletions
diff --git a/net-nds/jxplorer/files/3.3-disable-jxworkbench.patch b/net-nds/jxplorer/files/3.3-disable-jxworkbench.patch
index 302b37c0061..4b1009159f4 100644
--- a/net-nds/jxplorer/files/3.3-disable-jxworkbench.patch
+++ b/net-nds/jxplorer/files/3.3-disable-jxworkbench.patch
@@ -1,6 +1,6 @@
-diff -Nru /tmp/jxplorer.orig/src/com/ca/directory/jxplorer/JXplorer.java src/com/ca/directory/jxplorer/JXplorer.java
---- /tmp/jxplorer.orig/src/com/ca/directory/jxplorer/JXplorer.java 2012-07-31 14:53:59.869914047 +0300
-+++ src/com/ca/directory/jxplorer/JXplorer.java 2012-07-31 14:54:47.836311029 +0300
+diff -Nru a/src/com/ca/directory/jxplorer/JXplorer.java src/com/ca/directory/jxplorer/JXplorer.java
+--- a/src/com/ca/directory/jxplorer/JXplorer.java 2012-07-31 14:53:59.869914047 +0300
++++ b/src/com/ca/directory/jxplorer/JXplorer.java 2012-07-31 14:54:47.836311029 +0300
@@ -502,7 +502,7 @@
// look for JXWorkBenchBrowser 'add on' module...
diff --git a/net-nds/jxplorer/jxplorer-3.3.1.2.ebuild b/net-nds/jxplorer/jxplorer-3.3.1.2.ebuild
index ff20bda345b..dbe5e1d8d05 100644
--- a/net-nds/jxplorer/jxplorer-3.3.1.2.ebuild
+++ b/net-nds/jxplorer/jxplorer-3.3.1.2.ebuild
@@ -1,45 +1,44 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
JAVA_PKG_IUSE="doc source test"
+inherit desktop java-pkg-2 java-ant-2 prefix virtualx
-inherit java-pkg-2 java-ant-2 prefix virtualx
-
-DESCRIPTION="A fully functional ldap browser written in Java"
+DESCRIPTION="Fully functional LDAP browser written in Java"
HOMEPAGE="http://jxplorer.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}-project.zip"
-LICENSE="CAOSL"
+S="${WORKDIR}/${PN}"
-IUSE=""
+LICENSE="CAOSL"
SLOT="0"
+IUSE=""
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
RESTRICT="test"
-CDEPEND="
- >=dev-java/javahelp-2.0.02_p46:0"
-
-RDEPEND="
- ${CDEPEND}
- >=virtual/jre-1.5"
-
-DEPEND="
- ${CDEPEND}
+COMMON_DEPEND="
+ >=dev-java/javahelp-2.0.02_p46:0
+"
+RDEPEND="${COMMON_DEPEND}
+ >=virtual/jre-1.5
+"
+DEPEND="${COMMON_DEPEND}
virtual/jdk:1.8
- test? ( dev-java/junit:0 )"
-
-S="${WORKDIR}/${PN}"
+ test? ( dev-java/junit:0 )
+"
JAVA_ANT_REWRITE_CLASSPATH="yes"
EANT_GENTOO_CLASSPATH="javahelp"
EANT_TEST_ANT_TASKS="ant-junit"
+PATCHES=( "${FILESDIR}"/3.3-disable-jxworkbench.patch )
+
src_prepare() {
- epatch "${FILESDIR}"/3.3-disable-jxworkbench.patch
+ default
rm -v jars/*.jar || die
- sed -i -e 's/<fileset dir="${jasper}.*//g' "${S}/build.xml" || die
+ sed -i -e 's/<fileset dir="${jasper}.*//g' build.xml || die
if use test; then
EANT_GENTOO_CLASSPATH_EXTRA=$(java-pkg_getjars --build-only junit)