diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-05 09:17:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-05 09:17:35 +0000 |
commit | 54c42eb42df420f52e032fcba7727c326ef01094 (patch) | |
tree | 0dee719f67aa7ad3bfb64c3a46912acad885d738 /dev-java/zstd-jni | |
parent | a8b01fd62375e0df65d5f8f20c5ee142ec6739b6 (diff) |
gentoo auto-resync : 05:11:2022 - 09:17:35
Diffstat (limited to 'dev-java/zstd-jni')
-rw-r--r-- | dev-java/zstd-jni/Manifest | 3 | ||||
-rw-r--r-- | dev-java/zstd-jni/files/zstd-jni-1.5.0.4-filter-flags.patch | 9 | ||||
-rw-r--r-- | dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild | 60 |
3 files changed, 0 insertions, 72 deletions
diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest index 85d1c2ccf99d..424b56387fb1 100644 --- a/dev-java/zstd-jni/Manifest +++ b/dev-java/zstd-jni/Manifest @@ -1,6 +1,3 @@ -AUX zstd-jni-1.5.0.4-filter-flags.patch 369 BLAKE2B d79c3f5bee1e8faafb96a6d87c03c1cf5d1f292697fef1d7724394b9a415a30d9912946a612003e93a278648e4e5b1cc532e28d2c296c90b683eb7e0e769ac9c SHA512 fb56c386c6db387aa2c27a722d3c417813c427425d0dc6fb350ca02bee3f261efbb639eefbcc5dd58107f33c0211dba1b5bc696680e111a6338d0a67381ab533 -DIST zstd-jni-1.5.0.5.tar.gz 9297542 BLAKE2B 96b2aa09d62c7a45c352d52358aa47a66c95c1b122bfc61b7e2b3aaa829e011a8ed6f71373130700ecdb7d8541ca6971c2cd7fda01be396053532c4aeeca3cb1 SHA512 b63858d58c7d1b2c9d120f49d1289caa7e5b429d0f8c3c95b7f58a5d432f09d41504c5f5b0934f53be8eadf3c1ab02a1a872e292bac465907fffe2a67108267e DIST zstd-jni-1.5.2.4.tar.gz 9343792 BLAKE2B 8a446b229d49671b3f38d630ecf2c2688210176af95b66c788027de89986ad1f23615582d670f1d7a0b3866572b05c722ad6c71783d208401844287e8149f65c SHA512 bf67fc6573f2b1e45bd4985186814a54fb948a1b7280b5cf2f6d2577626c1f70626a58994291ffb228f097c91d60e3ed52d56ad92830c8f386b96b11fb6cf4a2 -EBUILD zstd-jni-1.5.0.5.ebuild 1649 BLAKE2B 1a8b753c98faf7e6c0c98bfa9d10c1c09cd4049ecbf4cc403a039e3fb9fc8636c6bdb8d59dcf99c2aa097f079bbff382c35891129393aee040e4b41b81b0d51c SHA512 af839745dc4e62c244e0dc5cc5e7d0acbf27434819967919004664f37c5d96ed7385459f729c21cd3a75d7e1b1c51f5f247604b64be115c00acf8b4f415a8420 EBUILD zstd-jni-1.5.2.4.ebuild 1693 BLAKE2B c186358196b6c5425eb71ced0d9c594f039c440b73e3e013c3dab89d61d94f478535803312e6180809911dc5b7cf7114ff2446340e666538a5e67b30bd4584d7 SHA512 e5ee8352fcb398a6a6f077c7d70dc3443f62a81f665bb848b33f03fc647528f752bb864444c06da01e0d69008360c84725d3b8d146461166ce97fd84c22dbf35 MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f diff --git a/dev-java/zstd-jni/files/zstd-jni-1.5.0.4-filter-flags.patch b/dev-java/zstd-jni/files/zstd-jni-1.5.0.4-filter-flags.patch deleted file mode 100644 index 8c880da46623..000000000000 --- a/dev-java/zstd-jni/files/zstd-jni-1.5.0.4-filter-flags.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5d0092f..d0f45b5 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -10,4 +10,3 @@ file(GLOB_RECURSE SOURCES RELATIVE ${CMAKE_SOURCE_DIR} "src/*.c") - add_library(zstd-jni-${NATIVE_VERSION} SHARED ${SOURCES}) - add_definitions("-DZSTD_MULTITHREAD=1") - add_definitions("-DZSTD_LEGACY_SUPPORT=4") --add_definitions("-Oz") diff --git a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild deleted file mode 100644 index 90da21d386e6..000000000000 --- a/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MAVEN_ID="com.github.luben:zstd-jni:1.5.0-5" -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=">=virtual/jdk-1.8:*" - -PATCHES=( - "${FILESDIR}/zstd-jni-1.5.0.4-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 -} |