aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/gluegen/gluegen-2.1.4.ebuild')
-rw-r--r--dev-java/gluegen/gluegen-2.1.4.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/dev-java/gluegen/gluegen-2.1.4.ebuild b/dev-java/gluegen/gluegen-2.1.4.ebuild
index 578be9b15..e98823dba 100644
--- a/dev-java/gluegen/gluegen-2.1.4.ebuild
+++ b/dev-java/gluegen/gluegen-2.1.4.ebuild
@@ -1,7 +1,7 @@
# 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"
WANT_ANT_TASKS="ant-antlr ant-contrib dev-java/cpptasks:0"
@@ -15,7 +15,6 @@ SRC_URI="https://github.com/sgothel/gluegen/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="2.1"
KEYWORDS="~amd64 ~x86"
-IUSE=""
COMMON_DEP="
dev-java/ant-core:0
@@ -42,9 +41,15 @@ EANT_TEST_GENTOO_CLASSPATH="${EANT_GENTOO_CLASSPATH},junit-4"
EANT_GENTOO_CLASSPATH_EXTRA="${S}/build/${PN}{,-rt}.jar"
EANT_EXTRA_ARGS="-Dc.strip.libraries=false"
-java_prepare() {
+PATCHES=(
+ "${FILESDIR}/${PV}-dont-copy-jars.patch"
+ "${FILESDIR}/${PV}-dont-strip.patch"
+ "${FILESDIR}/${PV}-dont-test-archive.patch"
+)
+
+src_prepare() {
rm -rf make/lib
- epatch "${FILESDIR}"/${PV}-*.patch
+ default
java-ant_bsfix_files "${S}/make/build-test.xml"
}
@@ -56,7 +61,7 @@ src_install() {
java-pkg_dojar build/${PN}{,-rt}.jar
java-pkg_doso build/obj/*.so
- use doc && dohtml -r doc/manual
+ use doc && dodoc -r doc/manual
use source && java-pkg_dosrc src/java/*
# for building jogl