diff options
author | James Le Cuirot <chewi@gentoo.org> | 2016-08-01 21:33:44 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2016-08-02 23:34:29 +0100 |
commit | a139324480ba3b552ddaa09a49840007eab585da (patch) | |
tree | 7184c478c92fec41dc7390b469ee7ce5cc04f326 /dev-java | |
parent | 5e544ac6e350e83fbaa4216e46f4930cd75c6724 (diff) | |
download | gentoo-a139324480ba3b552ddaa09a49840007eab585da.tar.gz gentoo-a139324480ba3b552ddaa09a49840007eab585da.tar.xz |
dev-java/icedtea-bin: Bump to 3.1.0, adds multilib for amd64
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/icedtea-bin/Manifest | 10 | ||||
-rw-r--r-- | dev-java/icedtea-bin/files/icedtea-bin.env.sh | 18 | ||||
-rw-r--r-- | dev-java/icedtea-bin/icedtea-bin-3.1.0.ebuild | 151 |
3 files changed, 179 insertions, 0 deletions
diff --git a/dev-java/icedtea-bin/Manifest b/dev-java/icedtea-bin/Manifest index f9198fd556d..010526f5972 100644 --- a/dev-java/icedtea-bin/Manifest +++ b/dev-java/icedtea-bin/Manifest @@ -2,15 +2,25 @@ DIST icedtea-bin-core-3.0.1-amd64.tar.xz 56933308 SHA256 e19c85536d042d20f725c20 DIST icedtea-bin-core-3.0.1-arm.tar.xz 48954784 SHA256 d3df31b2fd26abd5bd068727ad77d97120670659e64fbdf04eecae0403a43088 SHA512 8eaee6c16f066c971a433fb146c980df6f5777022bf876a1d17c5551737aff0888d86d580287cd931788c468b0a176f97f45651b7fa721dbb363f7f6c470296b WHIRLPOOL 407763172f9e1688bc89419b51626812f6a3440b94a2ebe40f56b34da9a67a819b1c72e519d52f391fb363076f22a9f0848aa26ee600b22e638fbced3e28ede6 DIST icedtea-bin-core-3.0.1-ppc64.tar.xz 49966028 SHA256 60389202417cdd136b341d03d886f514534939388b055b08f206e86df5e15640 SHA512 634153fad39bb9efeb26ef823d0b10cc7681f55b5510eb00a6c61d3b4af6ea691c1b19de23baea9d149cf2d3d4a20296a40c4f97e438bd8b97f853a6340b0933 WHIRLPOOL e5dad750128ec5eb8fc0640753a6af8b8f4993307320a5dc580516da049991034f751141069e8022643a199afc704ff15cc85a172bf2f3fdbb3238667076f58a DIST icedtea-bin-core-3.0.1-x86.tar.xz 56406280 SHA256 e0c380d493b67bae7fb0379720f65106877e3d5abf933e0c22aaa29d9d774ec3 SHA512 bf4c1b8da8f5301efadbf05ce65d0ae451e2445e1bc5e2244a8b3689df53d8b6e55aeb13a877f2458e9c48c46f4c0c180a1036b309692aec1a30a76cb33f7b58 WHIRLPOOL 7640c3e8354f10dc0bd03e37ecd4240a758382bea8092d6c30e389992ff16ec30eda7409968c15462a4c7ebfa4eccc41bd50b3eb94fa98da1952226ccc27ef2a +DIST icedtea-bin-core-3.1.0-amd64.tar.xz 61688188 SHA256 51cffe3202b311bea19c5a6b85332578986af80b0eafc9833dc83b1823c80403 SHA512 87138137dcde5197fe146ee6a6fc7076980237dba8661ea786902bf94dfd614a1f71fcccf4632fb91bb1d73aa267fef80d9d894b2ae3d820686d4b841a4b194e WHIRLPOOL 4a676f031ed0caadc4e4bfbb1f8f8af6c97443078717feffec172f6b4ef625f7afbc6aa800eb4704fe2de1bf24d46febfc302754d0ac47a8dc5cf7a71699c334 +DIST icedtea-bin-core-3.1.0-arm.tar.xz 53013144 SHA256 8d3fe33f9cd65936cb0aa5da39fca3bd3a2b73e88ca3870bc066b2caa5c6de78 SHA512 acc0b057f4ab3748c6f1e492ee47cea5fe566781721717c34fa7100685bdefa76be5d463b9292f3e80708632c1d45f62509ce50b521c5dcddee09e2aa73a4de1 WHIRLPOOL a05385af3d2f4c9190b20e3167aeca860600de6d2b90fc04a4958e5153d47a5f2637e783ac4cc423642cd782a0afedde5e15d2333201a175919860953eb5838e +DIST icedtea-bin-core-3.1.0-ppc64.tar.xz 54025844 SHA256 2183b3c2764d3c4293d9af7a6bd27249e469c75f1835d0f9f9acc4ff27354227 SHA512 ef259a57e354f149f41d1f1d3f67596e6adf931104953599baee95cb8adf6f329a6d7f739d71b6aa87013494a19989bc953e83b40a0452ed5824a79b78d78682 WHIRLPOOL 6c1dae02103379b4f0cef1547428c11eeb3b0e1aa6b06f14e6856da1925295275e07eab03e02fc302eb96fddac26266eac6ea6be6c8bce65d0d3e8a1f5b8b0ef +DIST icedtea-bin-core-3.1.0-x86.tar.xz 61073964 SHA256 f8ab3a75f48444fa608fda61163423db473f99a8923a4f7ea17c520382578fd6 SHA512 1380b1875c7ea48000cc1bc557f8f6a222afd2304afd145db413f7949e7919d6d1838aadc84c6059b6aa105879b2f0b92c99a19da96906c107aa7d42c85c94a8 WHIRLPOOL 34a0800d86460fbde7b8d3f036a4310866ab7b7c65b46ddc58ef6c4f97344f530e346e111dfd76d2dd9f22546b75a883b9e296ede8d033ed1b20d72f1b770b3c DIST icedtea-bin-core-7.2.6.6-amd64.tar.xz 53051836 SHA256 9729ac37ed34b60f6a9c18c6865e99648379c79e24f189842c0f8dc81424fd9b SHA512 ee621f3dfcc19fb274acb8b936f7256b2053ff97864340732e6cf97db5a265d81ace7269c9f90ee7e4135b4299d7ecdd2b660f5e806ede64e4d74a4dd80b0592 WHIRLPOOL bfd8dd85fd074f7f16d296a41bf7ccaaa167fbeeb3bfcde4119c2b2ee8a59aa2dad9e627a15dd3790f318b9fc8fa8328ead9c472af527a82a93c153b1d92de02 DIST icedtea-bin-core-7.2.6.6-x86.tar.xz 54697212 SHA256 c33e89990e1207458abc56ab0b2720b239ee0a3924e73360e19f52e7a29f8ee6 SHA512 7ebca976f2864cee1e08ed858e93c0dbbc850d127c9359b7e1edb7abacd7e14e0b5cdbb1f042ffd40232cbcea72f21074caad2a669096a5a5a7808c246d4e04d WHIRLPOOL 6640c59170b451f81541cf98451325d596115ad8e530b9d5fabb6f060e4e32e09c9ac49b6799694508108f09b58b82f98c4bd4d678ea8d9319c5653ba342d873 DIST icedtea-bin-doc-3.0.1.tar.xz 11681216 SHA256 5f05fb2fb4a8eb6e52d2d26100d04e121e1afb5611ff68114bde323f5540581d SHA512 1eea99d62e8fc0c917e4622b798df6d32ec3ea6f90ad9b949530dcdf64dd14a4fbb6d7c334634b8aec22b2775fbb9a67b0f70afb79ea678015bc266743afa794 WHIRLPOOL 8ad6d54042627374948447b48fc52123af37fdfcf9bbdf757240d42623b3c3d9d69b76775efb70b9b8e5bd6a7b914e77d0f0f34352d8fe32b6f70f87169684f5 +DIST icedtea-bin-doc-3.1.0.tar.xz 11683216 SHA256 05e5ed8110123e4a0941458f4b4b73ee999029db98fcbad35033d0de97e14b25 SHA512 cd4d3f60e29777240a26ac6fffead099ee31eb05bfb2faa8f3c2c5a7c2aded3159ad0a8aecdc298e7a84bf96cae626d7c1b1cf18af24c39f02c6455d260a64a5 WHIRLPOOL a008c276bf6da08385524c8886366d2f62c2975659d6181991bcbab9f2396a8a8c5a1cdee847d71d6c994ded738d126aeacc4c7180f4a1f5202a7e01f171db00 DIST icedtea-bin-doc-7.2.6.6.tar.xz 10603724 SHA256 150a8aa157b442569b60491c5261909a7a381e0a253070e2bf6d9fd8d0344708 SHA512 39ab65e002d9f780c881cbdea41a4fbae792080399a020c189d7fccf24a83c604ecc90b6fad47b9657eba11254b1021d8c45d83cb8a0dcfe62011f9cede53ce3 WHIRLPOOL 480fb25b1b551699163fc07ad5bf31e774c38f4ef51694d906d0f5c5c5d3f4941806b352ee472fdc3e02c007d96a28d395c41adc4d4965f826babb2465011bb9 DIST icedtea-bin-examples-3.0.1-amd64.tar.xz 1811748 SHA256 9728a787131d892eef67c0b10882f6a7e33d0fde2a6856c84f1c910086eae7fb SHA512 a76caf7a7927e28dc0e46a4e851540231971fd7fd0f4be1c46c1b72e71952495590a10f56aaa60defd0f9d00c77830dc716fe6ecb1c4777e7d0862804d72d463 WHIRLPOOL aca2ade6113814dd4ac89bb1a730cdd36cd6c33162986bedc58df790b10d7ab469192a36e854f2ff34eb13a787420c01e48c5c6d5636be2159a1ca10b5261c9f DIST icedtea-bin-examples-3.0.1-arm.tar.xz 1794448 SHA256 3cce37e8ee7786c80a1dc90088ca278c81e2239481e7ede4f59c2c3178fa7db0 SHA512 08645c50ca1ad770bb7da044a74b47f4c8590b5382874af3f8683ddc741ba87d0bc3ddcbe0617a551d18da6bd8746fc75ba9c5bcb237b56fa7f4c0dafd73acdc WHIRLPOOL 36ae06e990e1d5aa88692e49eaf2ef4f4dd8ff498cba5eb7259a516b29b543f4522d4fe78ff40baf53e93faad93792ace115e48bc5173211ce18b04902297da4 DIST icedtea-bin-examples-3.0.1-ppc64.tar.xz 1805088 SHA256 5a07a075c4bb3319b734daf1dcbd22670100cb133706aa5594718efa79802cb8 SHA512 4a81748d24f2e3c05445d7331c5327aa05606692c96cd983dbdb29cfc2e96bb2b0fb306fcf97e7fedb90aca8a64ec229c0355be26c4d5b829979ffad79e2b9dd WHIRLPOOL 0f1f5cd66f085e7e430f7a636e6d6e59c8c108fd437bc9ddfd98b6e8c71f7b921900565e2c6c5a7ae768214dd700663286f75365e8c8cf36e542f59ff08b5a4f DIST icedtea-bin-examples-3.0.1-x86.tar.xz 1816976 SHA256 1704607f2032438115abcc332002dbfba3b9e8653bc016e65e505cc782bf162c SHA512 674ad236d24bded4b1623ffaae779cd87a0cccf082d4318cfb0ad454eaf9c05911b283963fbedf26a9ab922b6b781f1b4ef5b2b4984123983e8ceb2a1dab60c8 WHIRLPOOL 9418ff7721a49e6d926265e7935647d998cd306d79339c896eaabfa7605cd425a911b261c44dd70357a084285f70aeef28468af6b578ab77c7876778be671643 +DIST icedtea-bin-examples-3.1.0-amd64.tar.xz 1855912 SHA256 f5d40a7d8a6e2877f0edb331e2fe288be12f07c373b088889e7682440ea1348c SHA512 c89acc0b6e3b41f043da6a95ca73239606e6b4d262de0a38624e1f31539619c60933ffc6c92ef8f5cf2cb88b2c3bedabe129fbe88a6579c1d44a60c806112139 WHIRLPOOL e2c8567d4d419f79828157118cf2b581b25e6519b13d9fda4c54adfd3c2ac08b593a5f190d1deedfaa19cdf34003748caf6d714751e0b1538038b09005597969 +DIST icedtea-bin-examples-3.1.0-arm.tar.xz 1838976 SHA256 a64f2e9b0129847f629304cc96d3b003005afd4bef8160d53c91dd585f956c6b SHA512 a36657b5b9eb26322daaf7e47cfcc7505e76b936cd00f8e6f6b1e631b4c02e6bf652d021981a39dc70825688cf0fdb6a975855bf0a98dd4212e1c8a578d06673 WHIRLPOOL 511a9734857e31a37ce2fdaba0be1215514fd07d698a2bfe820539829d7376df0fa6d91644c63f4add4f97eb7dcca4f8aa8c8fc198c169bc0f0d76e1e62f81d6 +DIST icedtea-bin-examples-3.1.0-ppc64.tar.xz 1849324 SHA256 8ccc52218af73fe29ef15d2def1ab131637887a692599af2314e99b53cf23753 SHA512 bf1a9dd9447fdffffeaf6c8be18ea24c439c15346f4e1938a214427b491c0245f0727dd895b85a12fd22b06f3e105a4e20c82f91ba4d3347cdc2adf9922aff69 WHIRLPOOL 3cc5316a5b83c81b53ad2971860cd6bc6fde4de69560cf59d380cbba17f950cf0d0de955c8a1da1f6c4e5e8e96b7e03475ed28bc861014fd50327266290a1c8a +DIST icedtea-bin-examples-3.1.0-x86.tar.xz 1861868 SHA256 34b7e8c4baa1145c86790cf8ebd90df9ba3e466c4743f405c13682eaeedd7691 SHA512 d4f77345dea35c7ffdf06bd6a24d117c9dac26802562724a048f4baa95c9d0d463005e6537b79d7948ff6b1ff3fc87690b531c09cf2130f34af829168bc5b615 WHIRLPOOL 07c3b24782f47cba8ff57c89d2459bfb1c083fd160948e4d6b8f01258d1c9ef1ca8326b214e7ce2868e92f924ff02062d526117dc0f291ab09dda54f025676ce DIST icedtea-bin-examples-7.2.6.6-amd64.tar.xz 1796808 SHA256 b6add78d86e3420f589f6bcfee1e4a9fb983fc4d0b6a905fe162dfca56e73500 SHA512 38e2d91f6621e38959c2d0bef84f4d566370303a5b50cc468cae6fc97da46d752fccd8c980b6490f43709c0c6340c3af88dd9f7c9a0d7f400289127aa568b3ac WHIRLPOOL c212b2a953f784a05759a1b82d7120fbb5f642d8d7f014750f8c509aa44c29f193f17dc86257b1b653f0e5334e167054f71021726745adc8b8d1c57273902223 DIST icedtea-bin-examples-7.2.6.6-x86.tar.xz 1796496 SHA256 5f7a4f52ed2f36d06ecc6c37041e2b400ed84c56ef4921375a925682b4523d88 SHA512 e80c965ca8cccf60561138fb5c4f21e293b6e44b5a4cecc97d94ffbccffe4f18da40942e2659c7264df54563c8db327b5e7a7f71fbf6ef873a4e74afc122050a WHIRLPOOL 402a1e10aa17e875dd83adff72dbe9d37c05b40a44c26e3212658ea690efec3dc9a61b57aebe24c77f16c52961dcd925f412c645e828e9e0456ae3a8d77ebd9a DIST icedtea-bin-src-3.0.1.tar.xz 45656168 SHA256 0820242fa98a918f0a25c248cb43a01ba13f87848eba43aa1b731b9ca17f576a SHA512 ece43dcc77812a1e212b48cc4d30a795055e74d52c2f5faac9b8e07fc26f51d3963cd333f71d2603cf3ac82f3ec80fea5093787f079fbb1cea969193b120a4ce WHIRLPOOL 5f7546142824747ae2d551d004223d577ed4d32acb988d1d3cd4f42fedd0a94903366b0b3bf042c0b86d5093b4c32c3c44ae6abb82aceae390de45d8d44cfd1f +DIST icedtea-bin-src-3.1.0.tar.xz 45670204 SHA256 4a96edba2b2d8cf91253bf2ceb55316729e9688f456abfd46695dceb96dfeaa6 SHA512 f1416398761f66bb57803368aca9bf17a14b4366b99ab3fe8ca3e470c026e962a2554c1b089b879e6d0ce43626a3eacbc81bf6b6f13f9593df54fe05b78256bd WHIRLPOOL 10ee09c2d860f6f0ea1f2fb3d545fd5909e1d6b6fa16d59f873ec35bcfd02d229a294df6ef3b9bdec8c9d899b562df4056d0cfa626454d9d774499b805d5c8cc DIST icedtea-bin-src-7.2.6.6.tar.xz 40045788 SHA256 4d759dfc12a39ff44650b61a5a89f2ee4dcc5d6d0a863c54f8c6e2c86023ce8c SHA512 13cf426366bd7ced497d16b76dd5d49aadfac45e9686b78c185b4d7c95b47f96fecfc789b14138780592580c39857a2d68d8d35a6d016fb4ba1c0c8103b74f9f WHIRLPOOL f645c6da2a5c08e48bd6598bda025776d4e4fceb3a92898b4c5d9ca7321797e834df572656c07cf24fbd2eb0cde097b38137472857d968b663ccba2788406c07 diff --git a/dev-java/icedtea-bin/files/icedtea-bin.env.sh b/dev-java/icedtea-bin/files/icedtea-bin.env.sh new file mode 100644 index 00000000000..a77df81ee66 --- /dev/null +++ b/dev-java/icedtea-bin/files/icedtea-bin.env.sh @@ -0,0 +1,18 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +VERSION="IcedTea JDK ${PV}$(multilib_is_native_abi || printf ' ('${ABI}')')" +JAVA_HOME="${EPREFIX}/opt/icedtea-bin-${PV}$(multilib_is_native_abi || printf -- -${ABI})" +JDK_HOME="${EPREFIX}/opt/icedtea-bin-${PV}$(multilib_is_native_abi || printf -- -${ABI})" +JAVAC="\${JAVA_HOME}/bin/javac" +PATH="\${JAVA_HOME}/bin:\${JAVA_HOME}/jre/bin" +ROOTPATH="\${JAVA_HOME}/bin:\${JAVA_HOME}/jre/bin" +LDPATH="\${JAVA_HOME}/jre/lib/$(get_system_arch)/:\${JAVA_HOME}/jre/lib/$(get_system_arch)/server/$([[ ${SLOT} = 7 ]] && printf :\${JAVA_HOME}/jre/lib/$(get_system_arch)/xawt/)" +MANPATH="${EPREFIX}/opt/icedtea-bin-${PV}/man" +PROVIDES_TYPE="JDK JRE" +PROVIDES_VERSION="1.${SLOT}" +# Taken from sun.boot.class.path property +BOOTCLASSPATH="\${JAVA_HOME}/jre/lib/resources.jar:\${JAVA_HOME}/jre/lib/rt.jar:\${JAVA_HOME}/jre/lib/sunrsasign.jar:\${JAVA_HOME}/jre/lib/jsse.jar:\${JAVA_HOME}/jre/lib/jce.jar:\${JAVA_HOME}/jre/lib/charsets.jar:\${JAVA_HOME}/jre/lib/jfr.jar" +GENERATION="2" +ENV_VARS="JAVA_HOME JDK_HOME JAVAC PATH ROOTPATH LDPATH MANPATH" diff --git a/dev-java/icedtea-bin/icedtea-bin-3.1.0.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.1.0.ebuild new file mode 100644 index 00000000000..f78675df52d --- /dev/null +++ b/dev-java/icedtea-bin/icedtea-bin-3.1.0.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit java-vm-2 multilib-build toolchain-funcs + +MULTILIB_COMPAT=( abi_ppc_64 abi_x86_{32,64} ) +KEYWORDS="-* ~amd64 ~arm ~ppc64 ~x86" + +BASE_URI="https://dev.gentoo.org/~chewi/distfiles" +SRC_URI="doc? ( ${BASE_URI}/${PN}-doc-${PV}.tar.xz ) + source? ( ${BASE_URI}/${PN}-src-${PV}.tar.xz ) + multilib? ( amd64? ( abi_x86_32? ( ${BASE_URI}/${PN}-core-${PV}-x86.tar.xz ) ) )" + +for abi in amd64 arm ppc64 x86; do + SRC_URI+=" + ${abi}? ( + ${BASE_URI}/${PN}-core-${PV}-${abi}.tar.xz + examples? ( ${BASE_URI}/${PN}-examples-${PV}-${abi}.tar.xz ) + )" +done + +DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK" +HOMEPAGE="http://icedtea.classpath.org" +LICENSE="GPL-2-with-linking-exception" +SLOT="8" + +IUSE="+alsa +cups doc examples +gtk headless-awt multilib nsplugin pulseaudio selinux source +webstart" +REQUIRED_USE="gtk? ( !headless-awt ) nsplugin? ( !headless-awt )" + +RESTRICT="preserve-libs strip" +QA_PREBUILT="opt/.*" + +RDEPEND=">=dev-libs/glib-2.42:2% + >=dev-libs/nss-3.16.1-r1% + >=dev-libs/nspr-4.10% + >=media-libs/fontconfig-2.11:1.0% + >=media-libs/freetype-2.5.5:2% + >=media-libs/lcms-2.6:2% + >=sys-libs/zlib-1.2.8-r1% + virtual/jpeg:62% + alsa? ( >=media-libs/alsa-lib-1.0% ) + cups? ( >=net-print/cups-2.0% ) + gtk? ( + >=dev-libs/atk-2.16.0% + >=x11-libs/cairo-1.14.2% + x11-libs/gdk-pixbuf:2% + >=x11-libs/gtk+-2.24:2% + >=x11-libs/pango-1.36% + ) + !headless-awt? ( + >=media-libs/giflib-4.1.6-r1% + media-libs/libpng:0/16% + >=x11-libs/libX11-1.6% + >=x11-libs/libXext-1.3% + >=x11-libs/libXi-1.7% + >=x11-libs/libXrender-0.9.8% + >=x11-libs/libXtst-1.2% + )" + +RDEPEND=">=sys-devel/gcc-4.9.3[multilib?] + >=sys-libs/glibc-2.22[multilib?] + virtual/ttf-fonts + selinux? ( sec-policy/selinux-java ) + multilib? ( ${RDEPEND//%/[${MULTILIB_USEDEP}]} ) + !multilib? ( ${RDEPEND//%/} )" + +PDEPEND="webstart? ( >=dev-java/icedtea-web-1.6.1:0 ) + nsplugin? ( >=dev-java/icedtea-web-1.6.1:0 ) + pulseaudio? ( dev-java/icedtea-sound )" + +S="${WORKDIR}" + +pkg_pretend() { + if [[ "$(tc-is-softfloat)" != "no" ]]; then + die "These binaries require a hardfloat system." + fi +} + +src_prepare() { + if ! use alsa; then + rm -v */jre/lib/*/libjsoundalsa.* || die + fi + + if use headless-awt; then + rm -vr */jre/lib/*/lib*{[jx]awt,splashscreen}* \ + */{,jre/}bin/policytool */bin/appletviewer || die + fi +} + +multilib_src_install() { + local dest="/opt/${P}-${ABI}" + dest="${dest/%-${DEFAULT_ABI}/}" + local ddest="${ED}${dest#/}" + dodir "${dest}" + + if multilib_is_native_abi; then + dodoc ${P}-${ABI}/doc/{ASSEMBLY_EXCEPTION,AUTHORS,NEWS,README,THIRD_PARTY_README} + use doc && dodoc -r ${P}/doc/html + + # doins doesn't preserve executable bits. + cp -pRP ${P}-${ABI}/{bin,include,jre,lib,man} "${ddest}" || die + + if use examples; then + cp -pRP ${P}-${ABI}/{demo,sample} "${ddest}" || die + fi + + if use source; then + cp ${P}/src.zip "${ddest}" || die + fi + + # Use default VMHANDLE. + java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh" + else + local x native=$(get_system_arch ${DEFAULT_ABI}) + + for x in {,/jre}/{bin,lib/$(get_system_arch)} /jre/lib/rt.jar; do + dodir "${dest}"${x%/*} + cp -pRP ${P}-${ABI}${x} "${ddest}"${x} || die + done + + for x in ${P}-${DEFAULT_ABI}{,/jre}/lib/*; do + [[ ${x##*/} = ${native} ]] && continue + [[ -e "${ddest}"/${x#*/} ]] && continue + dosym "${EPREFIX}"/opt/${P}/${x#*/} "${dest}"/${x#*/} + done + + # Use ABI-suffixed VMHANDLE. + VMHANDLE+="-${ABI}" java-vm_install-env "${FILESDIR}/icedtea-bin.env.sh" + fi + + # Both icedtea itself and the icedtea ebuild set PAX markings but we + # disable them for the icedtea-bin build because the line below will + # respect end-user settings when icedtea-bin is actually installed. + java-vm_set-pax-markings "${ddest}" + + # Each invocation appends to the config. + java-vm_revdep-mask "${EPREFIX}${dest}" +} + +src_install() { + if use multilib; then + multilib_foreach_abi multilib_src_install + else + multilib_src_install + fi + + java-vm_sandbox-predict /proc/self/coredump_filter +} |