diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-19 12:11:50 +0100 |
commit | fe0961fc9674dd24a017f474a34c1edbbd005965 (patch) | |
tree | dfdf05888e0f5fff9c1faafe6eb0dd5d827b63e5 /dev-java/jeromq | |
parent | bcd00c826070701606b0ccebf46234dfc792d3e9 (diff) |
gentoo auto-resync : 19:09:2024 - 12:11:50
Diffstat (limited to 'dev-java/jeromq')
-rw-r--r-- | dev-java/jeromq/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jeromq/jeromq-0.6.0-r1.ebuild | 55 |
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/jeromq/Manifest b/dev-java/jeromq/Manifest index 22ae147bc3e0..345e44f6384b 100644 --- a/dev-java/jeromq/Manifest +++ b/dev-java/jeromq/Manifest @@ -1,3 +1,5 @@ DIST jeromq-0.5.2.tar.gz 422673 BLAKE2B f244ef95bff70de8eb184e6eda8e292c54488435b8c9e000dbff5f1d6cb7b2b3066061bcb1fa678d2756117a52c39df795dae84071b544b0f577a331aecc8516 SHA512 49a3e9f7ff6b54dcde03958a84e72b8d4b44fb150fc980e9f1ea4ba9e258dcb0a0730d006550a3eb33e9f241e6d89cdc0ee2155213ddd309e255d606d1fa567b +DIST jeromq-0.6.0.tar.gz 467854 BLAKE2B 65b5b8cf676965a07d4bc26898a6db6739a1b5431678c16c0c182eee5d0c69c86a01b17ad1055caacec78149816ddc0c9468fec577f2ab82c681b7822858ee17 SHA512 2e140d456bf6a7f566b3cd563a7697d08c96b004ae70cdc37e427e4526cf8db83e5df6a492e63887f3dba639e3c29384fc46ee9e9e4a6a800e3c2c2446a65695 EBUILD jeromq-0.5.2.ebuild 1264 BLAKE2B 1b0ae5d6f70f6b8f3f1c96403d8980381720653dd6f93278f8c8cbc9650ea7e3cca9a3db33338267d244df1267f50c9f01be0cd0b597e26ad2c43faee9900c3b SHA512 6f836e43242732acb4c57f2e2c9796e65b84950587a00629208e3ebaa5bc90ad51124e9429eb6b96e0b35fbf7b959a11de3d045cc83afb1e646614243a00ca4b +EBUILD jeromq-0.6.0-r1.ebuild 1417 BLAKE2B 20aee43663163aec7a9a03a469510eddaa0c25327f87ee5de98bfee7ce693a4427d81b36270453114b73ebd9c07c64a0a7b78a45da3868455efc7754d98f180b SHA512 a50a5b568316d242b2a29ca342a94afff04c9817b01154f89ddc996267f5a62a16e1e6b29a232ddb6564201509064d331fb3a4c4b7088cbd6a46b982e0f72e20 MISC metadata.xml 295 BLAKE2B cc5e491443af7c5808738d518bbd4e7f6012c782487fb29ada12e177a5cdf8d7963995fff7bc0663f0f300259de931dd64d6a11231044ab6ac9ccdac1a0055ae SHA512 cbe037fc5d2620849406bdb16273d3ce99e404f3c3b2c0017a6becf2c828950f9010c4bb84572ecea3c2d10fd137e765aa33660a98a5c0defe74f20c982855de diff --git a/dev-java/jeromq/jeromq-0.6.0-r1.ebuild b/dev-java/jeromq/jeromq-0.6.0-r1.ebuild new file mode 100644 index 000000000000..30abb471818b --- /dev/null +++ b/dev-java/jeromq/jeromq-0.6.0-r1.ebuild @@ -0,0 +1,55 @@ +# 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.zeromq:jeromq:0.6.0" +JAVA_TESTING_FRAMEWORKS="junit-4" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Pure Java implementation of libzmq" +HOMEPAGE="https://github.com/zeromq/jeromq" +SRC_URI="https://github.com/zeromq/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P}" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +PROPERTIES="test_network" +RESTRICT="test" + +DEPEND=" + >=dev-java/jnacl-1.0-r1:0 + >=virtual/jdk-11:* +" + +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( AUTHORS {CHANGELOG,CONTRIBUTING,README}.md ) + +JAVA_CLASSPATH_EXTRA="jnacl" +JAVA_SRC_DIR="src/main/java" + +JAVA_TEST_GENTOO_CLASSPATH="junit-4" +JAVA_TEST_SRC_DIR="src/test/java" + +src_compile() { + JAVA_JAR_FILENAME="org.zeromq.${PN}.jar" + java-pkg-simple_src_compile # creates a legacy jar file without module-info + + # maven does it with jnacl not providing module-info + # need to figure out how jdeps could do so - we simply add one to jnacl + jdeps \ + --module-path "$(java-pkg_getjars --build-only jnacl)" \ + --add-modules com.neilalexander.jnacl \ + --generate-module-info \ + src/main/java \ + --multi-release 9 \ + "${JAVA_JAR_FILENAME}" || die + + JAVA_JAR_FILENAME="${PN}.jar" + java-pkg-simple_src_compile # creates the final jar file including module-info +} |