diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-30 09:09:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-30 09:09:34 +0100 |
commit | ad0412d0cafb8c04ce98024155cf99a4cc27db44 (patch) | |
tree | c34688ab389c18775a322de6cd4cfd957cbe8014 /dev-java | |
parent | cdb747b791914a30c287a3a8e33d1b635e431707 (diff) |
gentoo auto-resync : 30:07:2022 - 09:09:33
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/Manifest.gz | bin | 53265 -> 53259 bytes | |||
-rw-r--r-- | dev-java/gson/Manifest | 2 | ||||
-rw-r--r-- | dev-java/gson/gson-2.9.0-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-java/zstd-jni/Manifest | 2 | ||||
-rw-r--r-- | dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild | 60 |
5 files changed, 64 insertions, 2 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz Binary files differindex 4fcf86620cd1..25eaa41b5f79 100644 --- a/dev-java/Manifest.gz +++ b/dev-java/Manifest.gz diff --git a/dev-java/gson/Manifest b/dev-java/gson/Manifest index c2ab2c5713e4..996642720e4d 100644 --- a/dev-java/gson/Manifest +++ b/dev-java/gson/Manifest @@ -2,5 +2,5 @@ DIST gson-2.8.8-sources.tar.gz 393941 BLAKE2B ebdd1088a069eea58e5ea4e2eddea0d420 DIST gson-2.9.0.tar.gz 350309 BLAKE2B f17f7a7410744b14cb79c979b35c7f3c46a3d9e922722c41893b872013319a1bd06d81526e8380055aafa47524bfcc50e02629d1c5994e1f9f81df4391a9c651 SHA512 25e57f0e3cbff7e4d33070d250ba4ecf1c659380bce07863c52a3b30edd0ba88c923e55b0f38098b5ce3827a74a21c4d41f9de02f6a84da771ae39fd823667d3 EBUILD gson-2.8.8-r1.ebuild 1745 BLAKE2B 6df1694112b6a71a33b7e96cb84d227cd96a69e6f55c3a964e3f4cbb585e96f9f457900e47260fb8204e7bdaf5e771f4dd9833090e9f22a63388e224e9fb4d7f SHA512 af2f7b14c43f914a91ab4285c1f702388fc45d9d78bcf9fdb65b918436bc4cfda135269168255df20813c24cfa32c38ec4eabf5a49fc6e22b2c6cd6e5bc3c063 EBUILD gson-2.9.0-r1.ebuild 2095 BLAKE2B 71415fd6ec715372eddec83dd7ee27e84ba2bbf06d9e0cd206d3ebbccbcd8c90ea310befb4730da41a495609903049aef94bbd0d24125a6c0cc3e7f37b31f34a SHA512 217c6663d07526a44e9c23ffee344c3fd87653da8c14b359f7bb927eb78e564071c7678e55bf28c6b6baf4f019c2046365fffa1041d022c67af1814b71b98436 -EBUILD gson-2.9.0-r2.ebuild 2060 BLAKE2B beda8028f1e6779345dac9e6ba2a7bb80f7ce188425f29f45c9caf673e6e7170c65dbc15691b5fa8433fb582b40d075b6c9711f7f94a2ffa6cd8bc47bb123123 SHA512 a5e874d6a35b5c5006128f94573087972b292229335a4944b0c12fade665fd9dd50b52ddf94a354acd5df4604fd34edb977db1501db699306c972b848e0adf5c +EBUILD gson-2.9.0-r2.ebuild 2057 BLAKE2B 1ef09925f3eed346c4ee76506b821f56c02a848ea01a25d091cbb2773080253bf18ef155de6b39cef73ce89baf3c9f878cb191510da43982e7d9bc0aeddd00b6 SHA512 9f9c561f910de179b87ead15ba45f6b781e4d16df2b5f80f59304f582e4c0fb571941d14b6f9c6d78716506541d271de7e0689f76ab71e75f089621c4e5c9794 MISC metadata.xml 630 BLAKE2B e4732be361d93273cb3c6084e4fa596def785aa6b0cd747f3cc65b9d9b693666e60188c6b30c0e7a234cca56239b9d22c14eaf21af7958f818de3a6b4b246729 SHA512 063d42b12383dde777dfdea7fb884423bdf3e377aa585b4b46d6d2581e81cd943e0a444792997c87d3443fa4516d211d9c3f78e5702b7376cda63718f14f6504 diff --git a/dev-java/gson/gson-2.9.0-r2.ebuild b/dev-java/gson/gson-2.9.0-r2.ebuild index c5ddf82b4f07..bad7217e8a67 100644 --- a/dev-java/gson/gson-2.9.0-r2.ebuild +++ b/dev-java/gson/gson-2.9.0-r2.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/google/${PN}/archive/${PN}-parent-${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="2.6" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ppc64 x86" DEPEND=">=virtual/jdk-11:*" RDEPEND=">=virtual/jre-1.8:*" diff --git a/dev-java/zstd-jni/Manifest b/dev-java/zstd-jni/Manifest index 663af35f4242..ee37783202e9 100644 --- a/dev-java/zstd-jni/Manifest +++ b/dev-java/zstd-jni/Manifest @@ -1,4 +1,6 @@ AUX zstd-jni-1.5.0.4-filter-flags.patch 369 BLAKE2B d79c3f5bee1e8faafb96a6d87c03c1cf5d1f292697fef1d7724394b9a415a30d9912946a612003e93a278648e4e5b1cc532e28d2c296c90b683eb7e0e769ac9c SHA512 fb56c386c6db387aa2c27a722d3c417813c427425d0dc6fb350ca02bee3f261efbb639eefbcc5dd58107f33c0211dba1b5bc696680e111a6338d0a67381ab533 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 EBUILD zstd-jni-1.5.0.4.ebuild 1628 BLAKE2B af3514aff4b542a30f98f179ccb5bdf7d78d9f1c152e2ecbffb10d585dfbcc9308a5b0a9515574650641eab1654d848ae75fd8d1526b424de4d0b7c463cc59af SHA512 0d5f86d2e2c55e58679b80e8091ba2726da1d37ec286003190b3ead62f645dbae10e89a820d9d501d2a66bdd10c0089d0d861c998aed9b30e6a77c223a8d83a1 +EBUILD zstd-jni-1.5.0.5.ebuild 1653 BLAKE2B deb34bf0b64209f8f1e40e4672eecca6997def1e39706ccd7c6ef523b573d749ec3963e370a984e7bc6a336e1cc552ab5da4c178d5eea5f2437602fe288667dd SHA512 e9a7280291cf5f0849a9e1b429469680dace8349d338a8dc334ebbfa50e396ebe96d599561d7acd2a55a9c14dcc2fc2a002a8e0527a0fcad5fdbe23c426965ec MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f 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 new file mode 100644 index 000000000000..fd0b9e85ee37 --- /dev/null +++ b/dev-java/zstd-jni/zstd-jni-1.5.0.5.ebuild @@ -0,0 +1,60 @@ +# 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 +} |