summaryrefslogtreecommitdiff
path: root/dev-java
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-16 02:01:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-16 02:01:58 +0000
commite07c6f9648d478943b5ecd6f1c42cc91cae0f547 (patch)
tree2c56c6944fb4016ee510ee97a1a158baf49edfe4 /dev-java
parent16a4365c3b854e62b50726456ddb29bb78fd5038 (diff)
gentoo auto-resync : 16:12:2024 - 02:01:58
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/Manifest.gzbin55409 -> 55394 bytes
-rw-r--r--dev-java/commons-codec/Manifest3
-rw-r--r--dev-java/commons-codec/commons-codec-1.16.1.ebuild46
-rw-r--r--dev-java/jansi/Manifest2
-rw-r--r--dev-java/jansi/jansi-1.13.ebuild38
-rw-r--r--dev-java/snappy-java/Manifest3
-rw-r--r--dev-java/snappy-java/files/snappy-1.1.10.1-commons-lang3.patch11
-rw-r--r--dev-java/snappy-java/snappy-java-1.1.10.5-r2.ebuild125
8 files changed, 0 insertions, 228 deletions
diff --git a/dev-java/Manifest.gz b/dev-java/Manifest.gz
index fb3498433520..36a70a7d665c 100644
--- a/dev-java/Manifest.gz
+++ b/dev-java/Manifest.gz
Binary files differ
diff --git a/dev-java/commons-codec/Manifest b/dev-java/commons-codec/Manifest
index c7117f928772..398a2b12fff7 100644
--- a/dev-java/commons-codec/Manifest
+++ b/dev-java/commons-codec/Manifest
@@ -1,7 +1,4 @@
-DIST commons-codec-1.16.1-src.tar.gz 450009 BLAKE2B da06c823fae5e106c27b10274fb159e3de62827fe1bb1ace8d65377da26d012534636a8ac58a558b653ba3a7e868bb2f7d94b2ea820b5ddc6400fd4d288c6ba9 SHA512 8e2d40ae625c04e61b0dd7473dea0b32fdd13a6d3aad47b8b052952ca46f57d3df4917133f523ea147305a1c7ed9267cce7c4fa34d901496e36e9d5de9856e61
-DIST commons-codec-1.16.1-src.tar.gz.asc 488 BLAKE2B d3f193b602339714728875189ae90a49f70f9efb70076e73bdc460ccca99aea832a7cf0b18ecd212b016787f8cc96a1e30f9cb0af7b83f05db2dfba00d71c144 SHA512 a0716601374f17add25698eb5abd111c560c258f4ab18278b6bd857b2bf32916b5e4e590ce8c39a0bdef3b83e16e9330ce84268dec810db7dfab1679cace85af
DIST commons-codec-1.17.1-src.tar.gz 456746 BLAKE2B 9bf33c183d4344bdccdffa1c573f9b2cfe34db227cbcffa66a7baed85778a516339a736ddade637859989055e2ab86abb5464ab9bc57782e3c972cc8ed2c4dbd SHA512 c98456664396d4d9cb794c185a479e6bb4a5055ed1f526a8e358fe3a59409c057dbb16f59c251bb52976995dbca14d8f15857074c9d19fbc7bdfed625a13abf0
DIST commons-codec-1.17.1-src.tar.gz.asc 488 BLAKE2B 63bd00bcf69ab41e58e1eb2b2e56749211aa044e769a16fe2eea6acdeeac85d59c7465597aaec671b6efe22c68b05cd64c2e7a4bd2dc2f7f2b235dd27a125153 SHA512 6e9475773162193ce005635a5af926e0c7bfbaaca4c801a66bdabe73de0a2d17ec489a77d904d7d69e5749bc2af07d5b0b97d5aef2a319c614a3f1db632d424c
-EBUILD commons-codec-1.16.1.ebuild 1268 BLAKE2B e90e95babee8cb4b4e48d994365a68efe052d98ca4e63a0d8cb3462624588570085d7bf741e5ce543c49d3beffde3ce7220b3d28b909daf375421079cf9ae328 SHA512 6b5f81d4a44d4345f424691a8246a473416a2441cb363f7670eada7ccbb0e82fc06e01ed2dc2ca542075027087fea468efa461de057318efdee69bfb67b27592
EBUILD commons-codec-1.17.1-r1.ebuild 1568 BLAKE2B cbf52de892a785431f6255335217eedf3f4cf2097c3cff6855aeb89e7c0d4ee3bfabda17d91ec5fd62790441162f3073c5863fa577fb44508543cf92e0938d68 SHA512 2bd9546ea5f4339560620fcc9f71deea62e83bd2a8c9556b7b6c7ddb40051a2962d414c8431b8eecd2eb83c2e277d9d3e90da26804e89149c64ad5534212a1a0
MISC metadata.xml 1443 BLAKE2B 9dc72c216ed78422e21ce8c25aab0ca901fe2947ab3d26076379701c7ed585def08c49d258e30d035ffb8e7f618540578cc34ca4246a30e21e1ebbab13c706bd SHA512 1ae390b599a1b817f1d7bc54e8d73dfe596de6a6829ef65554f4a27d16e79e1c99645302d1d761caefb48e46f54ba930cf0991985beedc93e7fb416b7146a920
diff --git a/dev-java/commons-codec/commons-codec-1.16.1.ebuild b/dev-java/commons-codec/commons-codec-1.16.1.ebuild
deleted file mode 100644
index e7dd7fc4a86f..000000000000
--- a/dev-java/commons-codec/commons-codec-1.16.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="commons-codec:commons-codec:${PV}"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple verify-sig
-
-DESCRIPTION="Implementations of common encoders and decoders in Java"
-HOMEPAGE="https://commons.apache.org/proper/commons-codec/"
-SRC_URI="mirror://apache/commons/codec/source/${P}-src.tar.gz
- verify-sig? ( https://downloads.apache.org/commons/codec/source/${P}-src.tar.gz.asc )"
-S="${WORKDIR}/${P}-src"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64 ~amd64-linux ~x86-linux"
-RESTRICT="test" #839681
-
-VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
-DEPEND="
- >=virtual/jdk-1.8:*
- test? (
- dev-java/commons-lang:3.6
- dev-java/hamcrest:0
- dev-java/junit:5[migration-support]
- )
-"
-RDEPEND=">=virtual/jre-1.8:*"
-
-JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.codec"
-JAVA_RESOURCE_DIRS="src/main/resources"
-JAVA_SRC_DIR="src/main/java"
-
-JAVA_TEST_GENTOO_CLASSPATH="
- junit-4
- junit-5
- commons-lang-3.6
- hamcrest
-"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-JAVA_TEST_SRC_DIR="src/test/java"
diff --git a/dev-java/jansi/Manifest b/dev-java/jansi/Manifest
index 82cbcc476ea3..c8f81bae626b 100644
--- a/dev-java/jansi/Manifest
+++ b/dev-java/jansi/Manifest
@@ -1,9 +1,7 @@
-DIST jansi-1.13.tar.gz 253219 BLAKE2B 89fc81710bc0860c717241c97fe2e7a148ccbaa5fb1e7db30b978aa69cddccbc9ea45a0e30ef384c42a741d707f5eab73ce8b2a76e1095c66a2c95f9088f28f0 SHA512 9c4bb0b7435c102068718e039900828994f1ba60ed44307eb726eb91a2884bc406688c2747635b9353f3bd68a6bf0e7c082a4069343b59efffc900f59c563fde
DIST jansi-1.18.tar.gz 273545 BLAKE2B 9bb18ac181551008316ecf2735a4e573a64e9869d1d5f2f79dc25072c40c088798d0388fe0c65f860617f1afcaf97af1be6c2539a6e19541e4ed40863aaed52c SHA512 d34f271853250d4b23987c0b4d2eeadd9fdb1211b2f5187258bb43e2741d8263312ee04c9a39812550eb658853668a5e941ff3978682cea47c059c6ba85d3e9d
DIST jansi-2.4.1-jni.h 74987 BLAKE2B 23ecaf1e83f043492d774420bb20b4a890fd37bc7469fe8710dcddc72ddbded4aaa7f17589f7b886f26bf9a95cac50c3afd6480fee25d6cf1b01660f98a55f3f SHA512 2c9be8438b8c93f3d00abb8cd3f4b14e57fbaa8de562c12b982db5d32c250a436210e4d44aba22585b489dcb47ea1504cd1a7695a6d1fc60808ecd2140f400b2
DIST jansi-2.4.1-jni_md.h 2002 BLAKE2B 2112e87963902727e1755b6fa3bc4301b5181787a6f4003674db095896b78f9f745cabe3278b1df06b5cde13dffaf77938668f389f388e410b97cadd42851d75 SHA512 c3c7dffd9518accbcbab60c904af7acadb999048881c571acada162fd39f18de9aa024b09abe10a2138c1398b281890e4473fbaef6e27541e50370119eed5dff
DIST jansi-2.4.1.tar.gz 243911 BLAKE2B 56955f71e37a2e2bbc59d0d859c9d04918737da02ea3121ab7747b763c2e5ef8fd0422f0be2bb51de64eaff526d73a6d78a74a3725ed7b1e93a12cf401892f97 SHA512 ca0de5a8e2098c4d2d72fff4e345d0426ac306ed6b9778ab1fc1a6a23c251a01c86da1089c663739aecea039b6bcfda785018c99046fec42112fa70d53b63ab6
-EBUILD jansi-1.13.ebuild 937 BLAKE2B d0cc11151b0824956f59d5e5bb8c4de3c5fdc64ec93bddd5a34f3b1d07bca87449c6b6b3cff13c08fe05571c0aa9ece8a7ef363fad727ed1dbc8ed1d47479b92 SHA512 ecdf7ef0238242a26317d0a5df1f40a77dc2d27b53479cf25de9c1e9daeb0549feedd0603299c37a51ffbee75f1c7d5221f93022db309d0cdc2a824a3585789e
EBUILD jansi-1.18.ebuild 911 BLAKE2B b59887026b769786634c295958ec1aa5eb6a88c5678d5d119b26a04ebf5c2305e7872769ca16378866bdd5b9f4ccbdbbb6672ca49f6e50d724ceec255701d2cc SHA512 ea816521438ef3dce3c794e1124b9c699ad80fc70b51fd890ec63eaff07d14f94bcf716f6c510c08f2f0da6157a1ef62dcd88cceaadc3f9bf82a6cae3afe70f5
EBUILD jansi-2.4.1.ebuild 1983 BLAKE2B d7da2140f43871b5d4484bc245454b4f7d1c7e7e877a8bc6f4721ddf884a3524619b90d6d50f36fcd4c1569de40675fe9b859ea229219cc3ac6f7c8530d2b25d SHA512 3fa3853a7f2fa607d889250767bc0328be9557b9a75e5565a1b734584475df36a119d92f3d5a22f977fbd55e175b78e37e1f2c4c0c6783be18bba77f201d5e45
MISC metadata.xml 492 BLAKE2B 6620d0d7d7c5cc16b029617d431785e423a84ce8d23e06cc7a7a88c876d62223113be6c867d46b3a8537e3376174d00e2e3db19b3a178354140066a37da9956a SHA512 a460cd0627fa5d6ea41178f6268454f3841e67bbabaa7426d9d0e96caf941881694acd88e6c9a038ad5eafd46c78f7b0a29a3308e13be676f26d73e9fd9af79c
diff --git a/dev-java/jansi/jansi-1.13.ebuild b/dev-java/jansi/jansi-1.13.ebuild
deleted file mode 100644
index 70462305dba4..000000000000
--- a/dev-java/jansi/jansi-1.13.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="org.fusesource.jansi:jansi:1.13"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple
-
-DESCRIPTION="A library that allows you to use ANSI escape sequences in your console output"
-HOMEPAGE="https://fusesource.github.io/jansi/"
-SRC_URI="https://github.com/fusesource/${PN}/archive/${PN}-project-${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64"
-
-CDEPEND="dev-java/jansi-native:0"
-
-DEPEND="${CDEPEND}
- test? (
- dev-java/junit:4
- )
- >=virtual/jdk-1.8:*"
-
-RDEPEND="${CDEPEND}
- >=virtual/jre-1.8:*"
-
-S="${WORKDIR}/jansi-jansi-project-${PV}/jansi"
-
-JAVA_GENTOO_CLASSPATH="jansi-native"
-JAVA_SRC_DIR="src/main/java"
-
-JAVA_TEST_GENTOO_CLASSPATH="junit-4"
-JAVA_TEST_SRC_DIR="src/test/java"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
diff --git a/dev-java/snappy-java/Manifest b/dev-java/snappy-java/Manifest
index 36fdd7aa4eae..3678595e106e 100644
--- a/dev-java/snappy-java/Manifest
+++ b/dev-java/snappy-java/Manifest
@@ -1,12 +1,9 @@
AUX 1.1.7.8-gentoo.patch 832 BLAKE2B 0e3a5061c0b410b7609ac49ec3b610ca7934c664398488020a15033fabf3c1576ee9900359948e69e2e86c54a56709f98b68482a75dff156a77874ffaa966674 SHA512 2a75eebf1851bebda7d6204c43503b6464416adff12cf5de5e35825fd6a9c43495419e886343cf3566f6ae437295eff2098aea0f17314a5c138011a3abf6f9b9
AUX 1.1.7.8-java-version-target.patch 1875 BLAKE2B 6e2b66e642806acbf3de146fa853bb642764eb73ebb3489edd5208622f15fa9bc037bcb26447c4f45cfb362ce72910943b76dd8c1a6cf5f61fd4b05f6929a974 SHA512 5a60cc590dd10829487108c04c82a10b207fe95524f94163be967f557782537c0e19176a44782a1189f0e72e14dbd62a9c0f2f8415476d0fc133e040881a7d61
AUX 1.1.7.8-unbundle-bitshuffle.patch 1006 BLAKE2B 99b88fd2af02ff6d95d90ec2e302593c7ae00691156b283e11425677f904847d2809ce91d7094de8a5ec759595e721bf0f80d3deadd56f0f05e8d4ae1d4c4613 SHA512 dd4877f023095f7d41e6d22213d1916ae17ec8a88977354d5e1662fa3e555f89bc27def9537cd6ffd07a75794c25719379189b14a0db481df1c2e729525b12f0
-AUX snappy-1.1.10.1-commons-lang3.patch 507 BLAKE2B 17a9219e4e9fbcf8900dff8ce06762262d5d40ac07861d895ba29da8a2583ce37c011b04892382359a86c79ffff77ceac36d0f8fcca420fc20011d3411f9078a SHA512 2c08bbf6fe408778233a1194df72182a5cf4083b8647f9baea740b9fb403f31e001e1671913992624465d2e7d7197142ea47cc4891d64124fc54ac95a9d9accb
AUX snappy-1.1.10.1-unbundle-snappy.patch 1928 BLAKE2B cc67a38e53dcd08d208b33796a003d7ca73f79a54a8d0a4411de9f15aae1e09e079bc55c9230964e990f8a27e4be3872e9d5092fe7abb5af760ce91641b753c1 SHA512 78cef705a76c379ec7cc59e4f4c6012bbba5f54b4a24172b7ab2ef0ccd7a8e22cf3e469938c9dca5933e066990c3e973893c0c93368fecd90486010f9b8ad69f
AUX snappy-1.1.10.5-SnappyOutputStreamTest.patch 1215 BLAKE2B 34005766546b28012ffbd86927b37d9368eab212b3fc2252492f2c49f7b639519cdf5bd197fb7dce3769108bab1175414f0b9287cf4893d41ad784e9f27ae8c0 SHA512 3c65030686fcdd1177c6865894510081ba41631db9c3945c52aeef921ccf049fa65083225af9f022a1537814e8a50de2ad0740292b9d6d8e8ee900176ff69267
DIST hadoop-common-3.3.5.jar 4535144 BLAKE2B 66582661a1832cc54493fc9dcea9076eb0e3f4e974a7d24d593e8fff2b9e2a3a82ed6eb4587f23523473aecc35d2a15de2ad81b2617c1bdac50847149cdeb6a8 SHA512 f1fb439a5853b04e9e771ec4e80e1ed078494ecfaa741abe065936fc1c26b5369fdd4e8082f4da59c1a3a7a5c025beaa14a68c38dc772e81499f83a3cb91717b
-DIST snappy-java-1.1.10.5.tar.gz 3917442 BLAKE2B 0632fa7ba4d0a863801e88ced22098c3bc228c1f3e188c67cb9ff62807f9454b580b49fff15c7deee1e790db51f4664c50a6546259439eda18597097a5128329 SHA512 f84778f59635eb97c0072489766904a16208be4f41b28151b14eecd0fe84f3f04a44c18d452b9d79e752b22d5e5b9ab5b36064cc8aeec8de655d7635132093ea
DIST snappy-java-1.1.10.7.tar.gz 3953515 BLAKE2B 40657085a25186b7c78024196406002a39afe26e97145f57a438d783fb512c0168b48ef3f38d9d123954458c56e593f8490a5069a1712bb7d4ec86cf425a828c SHA512 1d7f484202f6bfd59454d56a9f57b0795f0919ae607e0bfd4da0b58c0caae437ae3c3f8638699a94b0b4794197a03058c3b5e258c5cf87b95683587a3e8396fe
-EBUILD snappy-java-1.1.10.5-r2.ebuild 2913 BLAKE2B 4bef9197af7f575c9a99ba641fd22380da652780696d205166f8fc8d2aec17cb2893e9022b4faa8ab639220587a1ca890afb0102c85b53aad51aec5cee4b4d53 SHA512 e2d0e968cbed43c305d760969b25068c2c8260b6fd073d0f6975a5b982983b5a8b67aaf75e4c00eb0ccfcfcba5cccb907c9a03fa9427b99cad00bb4ad97b0f02
EBUILD snappy-java-1.1.10.7.ebuild 2862 BLAKE2B ca23eda7b1195c28759fbc72699fdafd557ccb959ec1048cdd18511e983c75f1ea7c6b48bdbe0c304fb5f50cb4267f78dcaea18873cfd52f3b5d1e4f8c9fae57 SHA512 1bac84a19ec152b023e11c5d6b6bb886938120df3c51eca3ae5f010b12304b91c3da62a22a0b65026624f12f9c022c1bc2807670d55f371217f7b639e019a5e3
MISC metadata.xml 320 BLAKE2B 5e3039edeec0b66e6b896158777909fdfed881f06def61b5e3424baeb51ea898cb3cb273e6ddc939b7efea88860a945b5f29da513be22ee6b601551a6e02170a SHA512 c2e9282ce950b419588d080145e85e63e6491500edce141678a4aaae65a43d945694ad992dd4d485c94748e26ac225e58177fcff11db3430035b837741ec45af
diff --git a/dev-java/snappy-java/files/snappy-1.1.10.1-commons-lang3.patch b/dev-java/snappy-java/files/snappy-1.1.10.1-commons-lang3.patch
deleted file mode 100644
index 064482eabb7f..000000000000
--- a/dev-java/snappy-java/files/snappy-1.1.10.1-commons-lang3.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/test/java/org/xerial/snappy/SnappyHadoopCompatibleOutputStreamTest.java
-+++ b/src/test/java/org/xerial/snappy/SnappyHadoopCompatibleOutputStreamTest.java
-@@ -2,7 +2,7 @@ package org.xerial.snappy;
-
- import org.apache.commons.io.FileUtils;
- import org.apache.commons.io.IOUtils;
--import org.apache.commons.lang.SystemUtils;
-+import org.apache.commons.lang3.SystemUtils;
- import org.apache.hadoop.conf.Configuration;
- import org.apache.hadoop.io.compress.SnappyCodec;
- import org.junit.AfterClass;
diff --git a/dev-java/snappy-java/snappy-java-1.1.10.5-r2.ebuild b/dev-java/snappy-java/snappy-java-1.1.10.5-r2.ebuild
deleted file mode 100644
index 169bab40a0d6..000000000000
--- a/dev-java/snappy-java/snappy-java-1.1.10.5-r2.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-JAVA_PKG_IUSE="doc source test"
-MAVEN_ID="org.xerial.snappy:snappy-java:${PV}"
-JAVA_TESTING_FRAMEWORKS="junit-4"
-
-inherit java-pkg-2 java-pkg-simple toolchain-funcs check-reqs
-
-DESCRIPTION="Snappy compressor/decompressor for Java"
-HOMEPAGE="https://github.com/xerial/snappy-java/"
-# ::gentoo does not have hadoop-common packaged. Currently we bundle the binary version.
-# It's used for testing only and does not get installed.
-HCV="3.3.5"
-SRC_URI="https://github.com/xerial/snappy-java/archive/v${PV}.tar.gz -> ${P}.tar.gz
- test? ( https://repo1.maven.org/maven2/org/apache/hadoop/hadoop-common/${HCV}/hadoop-common-${HCV}.jar )"
-S="${WORKDIR}/${P}"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 arm64 ppc64"
-
-CP_DEPEND="dev-java/osgi-core:0"
-
-CDEPEND="
- app-arch/snappy
- >=dev-libs/bitshuffle-0.3.5-r1
-"
-
-DEPEND=">=virtual/jdk-1.8:*
- ${CP_DEPEND}
- ${CDEPEND}
- test? (
- >=dev-java/ant-1.10.14:0[junit4]
- dev-java/commons-io:1
- dev-java/commons-lang:3.6
- dev-java/plexus-classworlds:0
- dev-java/xerial-core:0
- )"
-
-RDEPEND=">=virtual/jre-1.8:*
- ${CP_DEPEND}
- ${CDEPEND}"
-
-PATCHES=(
- "${FILESDIR}/1.1.7.8-java-version-target.patch"
- "${FILESDIR}/snappy-1.1.10.1-unbundle-snappy.patch"
- "${FILESDIR}/1.1.7.8-unbundle-bitshuffle.patch"
- "${FILESDIR}/1.1.7.8-gentoo.patch"
- "${FILESDIR}/snappy-1.1.10.5-SnappyOutputStreamTest.patch"
- "${FILESDIR}/snappy-1.1.10.1-commons-lang3.patch"
-)
-
-JAVA_RESOURCE_DIRS="src/main/resources"
-JAVA_SRC_DIR="src/main/java"
-
-JAVA_TEST_GENTOO_CLASSPATH="
- commons-io-1
- commons-lang-3.6
- junit-4
- plexus-classworlds
- xerial-core
-"
-JAVA_TEST_RESOURCE_DIRS="src/test/resources"
-JAVA_TEST_SRC_DIR="src/test/java"
-
-check_env() {
- if use test; then
- # this is needed only for tests
- CHECKREQS_MEMORY="2560M"
- check-reqs_pkg_pretend
- fi
-}
-
-pkg_pretend() {
- check_env
-}
-
-pkg_setup() {
- check_env
- java-pkg-2_pkg_setup
-}
-
-src_prepare() {
- default
- java-pkg-2_src_prepare
- # remove pre-compiled sofiles
- rm -r src/main/resources/org/xerial/snappy/native || die
- rm -r src/test/resources/lib || die
-}
-
-src_compile() {
- emake \
- CXX="$(tc-getCXX)" \
- JAVA_SOURCE="$(java-pkg_get-source)" \
- JAVA_TARGET="$(java-pkg_get-target)"
-
- java-pkg-simple_src_compile
-}
-
-src_test() {
- JAVA_GENTOO_CLASSPATH_EXTRA="${DISTDIR}/hadoop-common-${HCV}.jar"
- JAVA_TEST_EXTRA_ARGS=( -Xmx${CHECKREQS_MEMORY} )
- local vm_version="$(java-config -g PROVIDES_VERSION)"
- if ver_test "${vm_version}" -ge 17; then
- java-pkg-simple_src_test
- else
- einfo "Tests need jdk-17 to pass."
- fi
-}
-
-src_install() {
- java-pkg-simple_src_install
-
- local jniext=.so
- if [[ ${CHOST} == *-darwin* ]] ; then
- jniext=.jnilib
- # avoid install_name check failure
- install_name_tool -id "@loader_path/libsnappyjava${jniext}" \
- "target/libsnappyjava${jniext}"
- fi
- java-pkg_doso "target/libsnappyjava${jniext}"
-}