summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-08-29 16:45:29 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-08-30 07:28:21 +0200
commitdec5eb65cd4a47361abe505a04dad3def4467c1d (patch)
tree8245d7a7110524b0ebc06e2b135a7a6d2d950a24 /dev-java
parentsys-boot/efibootmgr: Stabilize 18 ppc64, #867346 (diff)
downloadgentoo-dec5eb65cd4a47361abe505a04dad3def4467c1d.tar.gz
gentoo-dec5eb65cd4a47361abe505a04dad3def4467c1d.tar.bz2
gentoo-dec5eb65cd4a47361abe505a04dad3def4467c1d.zip
dev-java/zstd-jni: drop 1.5.0.4
Closes: https://bugs.gentoo.org/835812 Closes: https://bugs.gentoo.org/814968 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/zstd-jni/Manifest1
-rw-r--r--dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild60
2 files changed, 0 insertions, 61 deletions
diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest
index e31c27c19337..86423a908744 100644
--- a/dev-java/zstd-jni/Manifest
+++ b/dev-java/zstd-jni/Manifest
@@ -1,2 +1 @@
-DIST zstd-jni-1.5.0.4.tar.gz 9296353 BLAKE2B 1b4011cc7876d3d4ca2636d9872b1127d3a700f4cc6b159a36dbff5e73a2ec3af91d4a27965123c9dbb9f017200bb68bf7e078806d25d7e395243c2251936891 SHA512 2d83a1e4ff6c25ef301dc25343dcfd4f2dda7f8c44aae2d1d5da2159affb6d0c2885693022dd5cbd2d360540092bebfe0635b61c899fc7ce8dc496a96ba6f017
DIST zstd-jni-1.5.0.5.tar.gz 9297542 BLAKE2B 96b2aa09d62c7a45c352d52358aa47a66c95c1b122bfc61b7e2b3aaa829e011a8ed6f71373130700ecdb7d8541ca6971c2cd7fda01be396053532c4aeeca3cb1 SHA512 b63858d58c7d1b2c9d120f49d1289caa7e5b429d0f8c3c95b7f58a5d432f09d41504c5f5b0934f53be8eadf3c1ab02a1a872e292bac465907fffe2a67108267e
diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
deleted file mode 100644
index cdef7ad1ab05..000000000000
--- a/dev-java/zstd-jni/zstd-jni-1.5.0.4.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MAVEN_ID="com.github.luben:zstd-jni:1.5.0-4"
-MY_PV="$(ver_rs 3 -)"
-
-inherit java-pkg-2 java-pkg-simple cmake
-
-DESCRIPTION="JNI bindings for Zstd native library"
-
-HOMEPAGE="https://github.com/luben/zstd-jni"
-SRC_URI="https://github.com/luben/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc64 x86"
-
-RDEPEND=">=virtual/jre-1.8:*"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/${P}-filter-flags.patch"
-)
-
-JAVA_SRC_DIR="src/main/java"
-
-src_prepare() {
- cmake_src_prepare
-
- echo -e "package com.github.luben.zstd.util;\n\npublic class ZstdVersion\n{\n\tpublic static final String VERSION = \"${PV}\";\n}\n" \
- >> ${JAVA_SRC_DIR}/com/github/luben/zstd/util/ZstdVersion.java || die "Failed to generate version class"
-}
-
-src_configure() {
- local mycmakeargs=(
- -DJAVA_HOME="$(java-config -g JAVA_HOME)"
- # Resolve bug #776910
- # Reference: https://stackoverflow.com/a/51764145
- -DJAVA_AWT_LIBRARY="NotNeeded"
- )
- cmake_src_configure
-}
-
-src_compile() {
- cmake_src_compile
-
- mkdir -p "${S}/target/classes/META-INF" || die "Failed to create META-INF dir"
- echo "Manifest-Version: 1.0
-Implementation-Version: ${MY_PV}
-Bundle-NativeCode: libzstd-jni.so;osname=Linux" > "${S}/target/classes/META-INF/MANIFEST.MF" || die "Failed to create MANIFEST.MF"
- java-pkg-simple_src_compile
- java-pkg_addres ${JAVA_JAR_FILENAME} "${BUILD_DIR}" -name libzstd-jni.so || die "Failed to add library to jar"
-}
-
-src_install() {
- java-pkg-simple_src_install
-}