diff options
Diffstat (limited to 'dev-java/zstd-jni')
-rw-r--r-- | dev-java/zstd-jni/Manifest | 2 | ||||
-rw-r--r-- | dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild | 67 |
2 files changed, 0 insertions, 69 deletions
diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest index 6af0973b7e02..ad9582c8ea3b 100644 --- a/dev-java/zstd-jni/Manifest +++ b/dev-java/zstd-jni/Manifest @@ -1,5 +1,3 @@ -DIST zstd-jni-1.5.2.4.tar.gz 9343792 BLAKE2B 8a446b229d49671b3f38d630ecf2c2688210176af95b66c788027de89986ad1f23615582d670f1d7a0b3866572b05c722ad6c71783d208401844287e8149f65c SHA512 bf67fc6573f2b1e45bd4985186814a54fb948a1b7280b5cf2f6d2577626c1f70626a58994291ffb228f097c91d60e3ed52d56ad92830c8f386b96b11fb6cf4a2 DIST zstd-jni-1.5.2.5.tar.gz 9342510 BLAKE2B 259f3087f06c567f2126dacfb90ecfcc1d20f389ff99ef48a6f8c558441b37b56f29b73ca55aad176116439c4ef47f9ad253116a968f74e527eb13a0fda98f7e SHA512 16f2aeee6005e2da366a849f0972b3ef9245d355ed875e633bf4013d340cc74445604710e7b628aefafa90f74dfaa82a93c741f06f633b8a6c2162e9da304850 -EBUILD zstd-jni-1.5.2.4.ebuild 1693 BLAKE2B c186358196b6c5425eb71ced0d9c594f039c440b73e3e013c3dab89d61d94f478535803312e6180809911dc5b7cf7114ff2446340e666538a5e67b30bd4584d7 SHA512 e5ee8352fcb398a6a6f077c7d70dc3443f62a81f665bb848b33f03fc647528f752bb864444c06da01e0d69008360c84725d3b8d146461166ce97fd84c22dbf35 EBUILD zstd-jni-1.5.2.5.ebuild 1533 BLAKE2B 96eb0470148ba2b6d72431359fa199c2a77766c2b6aa228bf3448333897edc38adc8a8f924e3a1c961035bf68e9ed62e2b7e5e3ddcecb1209aca90b578f3e2e4 SHA512 6d11d9f9997617d0c25ea39e932e9284bfd8403e769a4d149db133643ed1c3d53cdbe7e49c20a5d5e207f910a37f4c3a28b5d7b9029abb0fcfb8623856804b08 MISC metadata.xml 309 BLAKE2B e1f360be677365cd79f35f3c99ec59722ccfe2e2cf7df5d534d7fae1c0f47d6a4c286622a16308bf36c45a2ea4126ba00eef1c8a531d27f1e80288cf5d9ee79e SHA512 2e274c669ea732048cd2fd381188e59f1041e46d1ba738de980e21f763597508e5816ef5eae5a6930ab1c6981b06785e355bd6d3275dff5b30842f35253acfac diff --git a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild deleted file mode 100644 index abfe3a755489..000000000000 --- a/dev-java/zstd-jni/zstd-jni-1.5.2.4.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="doc source" -MAVEN_ID="com.github.luben:zstd-jni:1.5.2-4" - -inherit java-pkg-2 java-pkg-simple cmake - -DESCRIPTION="JNI bindings for Zstd native library" -HOMEPAGE="https://github.com/luben/zstd-jni" -# Snapshop needed because this version is not tagged. -MY_COMMIT="37faee49643b2739457716e3752f44fcaa09005f" -SRC_URI="https://github.com/luben/zstd-jni/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 ppc64 x86" - -RDEPEND=">=virtual/jre-1.8:*" -DEPEND=">=virtual/jdk-1.8:*" - -S="${WORKDIR}/zstd-jni-${MY_COMMIT}" - -JAVA_AUTOMATIC_MODULE_NAME="com.github.luben.zstd_jni" -JAVA_RESOURCE_DIRS="resources" -JAVA_SRC_DIR="src/main/java" - -src_prepare() { - cmake_src_prepare - # https://github.com/luben/zstd-jni/blob/v1.5.2-3/build.gradle#L66 - cat > src/main/java/com/github/luben/zstd/util/ZstdVersion.java <<-EOF || die - package com.github.luben.zstd.util; - - public class ZstdVersion - { - public static final String VERSION = "$(ver_rs 3 -)"; - } - EOF - - mkdir -p resources/META-INF || die - cat > resources/META-INF/MANIFEST.MF <<-EOF || die - Implementation-Version: $(ver_rs 3 -) - Bundle-NativeCode: libzstd-jni.so;osname=Linux" - EOF -} - -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 - java-pkg-simple_src_compile -} - -src_install() { - java-pkg_doso "${BUILD_DIR}/libzstd-jni-$(ver_rs 3 -).so" - java-pkg-simple_src_install -} |