diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2021-06-12 12:00:54 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2021-06-12 15:19:37 +0200 |
commit | 463ee301ac6407219d558c077bab31334c6706ba (patch) | |
tree | c3ad50f3340a2aab2c660d5e810af372e485b938 | |
parent | dev-cpp/pystring: Don't use hardcoded g++ (convert to CMake) (diff) | |
download | gentoo-463ee301ac6407219d558c077bab31334c6706ba.tar.gz gentoo-463ee301ac6407219d558c077bab31334c6706ba.tar.bz2 gentoo-463ee301ac6407219d558c077bab31334c6706ba.zip |
dev-java/jna: removed obsolete 4.2.2-r1
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
-rw-r--r-- | dev-java/jna/jna-4.2.2-r1.ebuild | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/dev-java/jna/jna-4.2.2-r1.ebuild b/dev-java/jna/jna-4.2.2-r1.ebuild deleted file mode 100644 index 6ae5356a0b03..000000000000 --- a/dev-java/jna/jna-4.2.2-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 toolchain-funcs - -DESCRIPTION="Java Native Access (JNA)" -HOMEPAGE="https://github.com/twall/jna" -SRC_URI="https://github.com/twall/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" -LICENSE="LGPL-2.1" -SLOT="4" -KEYWORDS="~amd64 ~x86" -IUSE="+awt +nio-buffers test" -REQUIRED_USE="test? ( awt nio-buffers )" - -# The tests stall immediately on some systems (not current stable?) when -# the sandbox is active but pass successfully otherwise. Chewi has not -# been able to determine why. This began in 4.2.0 as 4.1.0 worked -# fine. Someone bisect it please. :) -RESTRICT="test" - -CDEPEND="dev-libs/libffi" - -RDEPEND="${CDEPEND} - >=virtual/jre-1.7" - -DEPEND="${CDEPEND} - >=virtual/jdk-1.7 - x11-libs/libXt - virtual/pkgconfig - test? ( - dev-java/ant-junit:0 - dev-java/guava:20 - dev-java/javassist:3 - dev-java/reflections:0 - )" - -PATCHES=( - "${FILESDIR}"/${PV}-build.xml.patch - "${FILESDIR}"/${PV}-makefile-flags.patch -) - -JAVA_ANT_REWRITE_CLASSPATH="true" -EANT_BUILD_TARGET="native jar contrib-jars" -EANT_EXTRA_ARGS="-Ddynlink.native=true" -EANT_TEST_EXTRA_ARGS="-Dheadless=true -Djava.io.tmpdir=${T}" -EANT_TEST_GENTOO_CLASSPATH="guava-20,javassist-3,reflections" - -src_prepare() { - default - - # delete bundled jars and copy of libffi - # except native jars because build.xml needs them all - find ! -path "./lib/native/*" -name "*.jar" -delete || die - rm -r native/libffi || die - - if ! use awt ; then - sed -i -E "s/^(CDEFINES=.*)/\1 -DNO_JAWT/g" native/Makefile || die - fi - - if ! use nio-buffers ; then - sed -i -E "s/^(CDEFINES=.*)/\1 -DNO_NIO_BUFFERS/g" native/Makefile || die - fi - - java-pkg-2_src_prepare -} - -src_configure() { - tc-export CC -} - -src_install() { - java-pkg_newjar build/${PN}-min.jar - java-pkg_dojar contrib/platform/dist/${PN}-platform.jar - java-pkg_doso build/native-*/libjnidispatch.so - - use source && java-pkg_dosrc src/* - use doc && java-pkg_dojavadoc doc/javadoc -} - -src_test() { - java-pkg-2_src_test -} |