summaryrefslogtreecommitdiff
path: root/dev-java/sun-jai-bin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-22 07:31:18 +0100
commit908778078736bd36f7a60a2d576d415cb8e000fa (patch)
treec6a4796c48b608c14dc7e9674cdbd38f905e3c15 /dev-java/sun-jai-bin
parent185fa19bbf68a4d4dca534d2b46729207a177f16 (diff)
gentoo resync : 22.05.2021
Diffstat (limited to 'dev-java/sun-jai-bin')
-rw-r--r--dev-java/sun-jai-bin/Manifest1
-rw-r--r--dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r2.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/sun-jai-bin/Manifest b/dev-java/sun-jai-bin/Manifest
index 892eaed76c7b..0e8b76d8be0e 100644
--- a/dev-java/sun-jai-bin/Manifest
+++ b/dev-java/sun-jai-bin/Manifest
@@ -1,5 +1,6 @@
DIST jai-1_1_3-lib-linux-amd64.tar.gz 3510451 BLAKE2B c16dc0e04127bf57df6390dc9d99a1e44040c0fe81ccacc88698493d3fd3483aae12d664a89bc13939655d21ce2d92b64537b073c0d1063bbf91e18129da5eb4 SHA512 5089b696baabdea9622683aa7a3569daf724fd7fa8a4f1c95073b9e96ff5c37fc55a9e3a6fe499abafe61f5f4a109770bd27172ae6711ab7b4da3de55d8b0f56
DIST jai-1_1_3-lib-linux-i586.tar.gz 3501711 BLAKE2B eec4976124a9701367e7b61c652ed619df69fa12eb02c5288d9d1ba4845ca7e2315514fba1f75f15c8bbb90cba981972961e8d1e843a8a8ac2b000e5e4917975 SHA512 bd142eea557b68d10d26a18b6b0d04e5cb42212e98268035b1b3615d6489bbc4fa07ad141fd04fc5ae3c74f1703c9ade77130cbf8a61603b4b271e3a0e06e860
EBUILD sun-jai-bin-1.1.3-r1.ebuild 1099 BLAKE2B 0257abd4b7fd290f56200786782459183a09c1c55e7cfe8702b85447f8f05b8e80e21a688e26bdb000b5ae28cae43bd9f9ea3b234df2cc5e3723781c6f0c3e34 SHA512 621448fc993b3376701632312d1efc7d8e675b7f3eeaf1ed2391a58b3e0e10e212a8dae9b69f2d52473703ff695e1c0edd5fc416ba9fcf8dd4e98dd2c74e0150
+EBUILD sun-jai-bin-1.1.3-r2.ebuild 1091 BLAKE2B dc4eaaa13002d5c337ebf76af5804a17505c2d5d6bf57d5b51a574bb37b46531b709d650f84d0d5d1b04f95fb9409c53a055a4b2f6ca4ef97fea054ebe121f32 SHA512 4b3bb1f789012d207d9d8ad0b407a9491195f079f7c2df72024bedae8003bc8f0767898f77fe8e8bf854b8f8eac040d1eb7a5de464d8c76d5e7cfdb1ef025740
EBUILD sun-jai-bin-1.1.3.ebuild 973 BLAKE2B 07e9e2c6e99b48b56f5ea8dc8d1bc8efc9d5a353b79b398ba078d92e1d92e286d61bad00a81a580e108a64317b3c87644889cb87dd1a69f51683f59380ab4a83 SHA512 2a2e4756e1b32c14d25642d912cba5b08371d4722b69fd0bf0db0f8c8d0348a7f4bbd136b9d28fe9355f3baeed54492c3b22bffce8f616c3d3c992feb518bc0e
MISC metadata.xml 232 BLAKE2B 513679b02247d8e4cb4c874abd785119d9ca62ad24c44969d52a42c3765d0ebf689024512a2c4c48e69688a4ce02a74ae05708b050a720bc73d8d2bf2ceff58d SHA512 00beaf2c81112ff757c4395f4ea47e85f2d48e369e241f10ddf200090dd6513d52ae2b1aef6d28b7417f1cf34608a7258a167eb307d5670323a2190f3710f893
diff --git a/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r2.ebuild b/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r2.ebuild
new file mode 100644
index 000000000000..1f5ba79b8b0c
--- /dev/null
+++ b/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2
+
+MY_PV=${PV//./_}
+DESCRIPTION="JAI is a class library for managing images"
+HOMEPAGE="https://jai.dev.java.net/"
+
+BASE=https://download.java.net/media/jai/builds/release/${MY_PV}
+MY_P="jai-${MY_PV}"
+SRC_URI="
+ !amd64? ( ${BASE}/${MY_P}-lib-linux-i586.tar.gz )
+ amd64? ( ${BASE}/${MY_P}-lib-linux-amd64.tar.gz )"
+
+LICENSE="sun-bcla-jai"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND=""
+RDEPEND="virtual/jre:1.8"
+
+RESTRICT="bindist mirror"
+QA_PREBUILT="*"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ default
+ rm LICENSE-jai.txt || die
+}
+
+src_compile() { :; }
+
+src_install() {
+ dodoc *.txt
+
+ java-pkg_dojar lib/*.jar
+ use x86 && java-pkg_doso lib/*.so
+ use amd64 && java-pkg_doso lib/*.so
+}
+
+pkg_postinst() {
+ elog "This ebuild now installs into /opt/${PN} and /usr/share/${PN}"
+ elog 'To use you need to pass the following to java'
+ if use x86 || use amd64; then
+ elog '-Djava.library.path=$(java-config -i sun-jai-bin)'
+ fi
+ elog '-classpath $(java-config -p sun-jai-bin)'
+}