diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-03-28 10:17:19 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-03-29 08:06:22 +0200 |
commit | 448891c90089d0ba86a5e36df527a35d0ae4cf0f (patch) | |
tree | a191fa490da45765684635fefebd35c7aa49cd4f /dev-java/fec | |
parent | sec-keys/openpgp-keys-sysvinit: initial import (diff) | |
download | gentoo-448891c90089d0ba86a5e36df527a35d0ae4cf0f.tar.gz gentoo-448891c90089d0ba86a5e36df527a35d0ae4cf0f.tar.bz2 gentoo-448891c90089d0ba86a5e36df527a35d0ae4cf0f.zip |
dev-java/fec: Drop 1.0.4-r3
Closes: https://bugs.gentoo.org/831712
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/fec')
-rw-r--r-- | dev-java/fec/fec-1.0.4-r3.ebuild | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/dev-java/fec/fec-1.0.4-r3.ebuild b/dev-java/fec/fec-1.0.4-r3.ebuild deleted file mode 100644 index 4a2592c69750..000000000000 --- a/dev-java/fec/fec-1.0.4-r3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -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://bitbucket.org/onionnetworks/" -SRC_URI="https://dev.gentoo.org/~monsieurp/packages/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="" - -CDEPEND="dev-java/log4j:0" - -RDEPEND=" - ${CDEPEND} - >=virtual/jre-1.8:*" - -DEPEND=" - ${CDEPEND} - >=virtual/jdk-1.8:* - app-arch/unzip" - -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" -EANT_GENTOO_CLASSPATH="log4j" -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 -} |