summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-09-06 20:48:02 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-09-07 09:28:47 +0200
commit70b89ae5bc30d6db359c5ae4fbf8133443719b6c (patch)
treef34d86b561e2a315f8c3ace1ce40299487c05edb /dev-java
parentwww-servers/tomcat: add missing dependency on dev-java/bnd:0 (diff)
downloadgentoo-70b89ae5bc30d6db359c5ae4fbf8133443719b6c.tar.gz
gentoo-70b89ae5bc30d6db359c5ae4fbf8133443719b6c.tar.bz2
gentoo-70b89ae5bc30d6db359c5ae4fbf8133443719b6c.zip
dev-java/fec: drop 1.0.4-r4
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/fec/fec-1.0.4-r4.ebuild68
1 files changed, 0 insertions, 68 deletions
diff --git a/dev-java/fec/fec-1.0.4-r4.ebuild b/dev-java/fec/fec-1.0.4-r4.ebuild
deleted file mode 100644
index 62b81cfdee9d..000000000000
--- a/dev-java/fec/fec-1.0.4-r4.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-JAVA_PKG_IUSE="doc source"
-
-inherit flag-o-matic toolchain-funcs java-pkg-2 java-ant-2
-
-DESCRIPTION="Forward Error Correction library in Java"
-HOMEPAGE="https://github.com/hyphanet/contrib/blob/master/README"
-SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
-
-CDEPEND="dev-java/log4j-12-api:2"
-
-RDEPEND="
- ${CDEPEND}
- >=virtual/jre-1.8:*"
-
-DEPEND="
- ${CDEPEND}
- >=virtual/jdk-1.8:*"
-
-PATCHES=(
- "${FILESDIR}"/"${P}-libfec8path.patch"
- "${FILESDIR}"/"${P}-build.patch"
- "${FILESDIR}"/"${P}-soname.patch"
- "${FILESDIR}"/"${P}-remove-concurrent-util-imports.patch"
-)
-
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-JAVA_ANT_CLASSPATH_TAGS="javac javadoc"
-EANT_GENTOO_CLASSPATH="log4j-12-api-2"
-EANT_BUILD_TARGET="jars"
-
-# There seems to be unit tests, but they are in such a state.
-RESTRICT="test"
-
-src_prepare() {
- # Apply patches.
- default
-
- # In fact, we'll wipe tests altogether.
- rm -rf tests || die
-
- # Get rid of bundled jars.
- java-pkg_clean
-}
-
-src_compile() {
- java-pkg-2_src_compile
- einfo "Sucessfully compiled Java classes!"
-
- cd "${S}"/src/csrc || die
- append-flags -fPIC
- emake CC=$(tc-getCC) CFLAGS="${CFLAGS} $(java-pkg_get-jni-cflags)"
- einfo "Sucessfully compiled C files!"
-}
-
-src_install() {
- java-pkg_newjar "lib/onion-${PN}.jar" "${PN}.jar"
- use doc && java-pkg_dojavadoc javadoc
- use source && java-pkg_dosrc src/com
- dolib.so src/csrc/libfec{8,16}.so
-}