From d70cd3898072210a693d77ccb0868cb4fe55b6c6 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Tue, 1 Aug 2017 20:28:06 +0100 Subject: dev-java/icedtea-bin: Version bump to 3.5.1 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-java/icedtea-bin/Manifest | 14 +++ dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild | 160 ++++++++++++++++++++++++++ 2 files changed, 174 insertions(+) create mode 100644 dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild (limited to 'dev-java/icedtea-bin') diff --git a/dev-java/icedtea-bin/Manifest b/dev-java/icedtea-bin/Manifest index 6cafcce6aed7..9b2c35a8dca5 100644 --- a/dev-java/icedtea-bin/Manifest +++ b/dev-java/icedtea-bin/Manifest @@ -7,10 +7,17 @@ DIST icedtea-bin-core-3.5.0-arm.tar.xz 57929932 SHA256 e5daecf51259853846442f64e DIST icedtea-bin-core-3.5.0-ppc64.tar.xz 54192080 SHA256 44b8cd9087c8ca0f265d119956ed4538a7d98fc3aa0c3316a47c8dd51b0c0b53 SHA512 7222fcaf67df434cf914bb0ac6f835eef38e1d61e68febd0c42159da8edd03361eeae548beb54d78fcad8b6cb1d915805aa887b0785df1a011c4671b5b5382f2 WHIRLPOOL 0b824ecf1095e94eedcff4bfed06543252f8fad8f6ece5b98d0cbb7d3fab33e54ce8b87048934b2690e791fc4aa030b27abc97d37ded71c4cf2ac78be966330c DIST icedtea-bin-core-3.5.0-ppc64le.tar.xz 54243552 SHA256 e8815e01db8c59966e0ea8ff06695a6b027f829527759c4085c431bbde0de5f2 SHA512 58727f07b48d1690c214b5309c3081d21f3f7719a41d1605457318e5a634cb762ff50426ab185f0149d5196f51d2cf3d4098ec874ea8f89f0b2b7716d9132dc3 WHIRLPOOL 43f5c6e19c337d3a8ff056b6d3daecd3cd60f09345c06bd96be77ad5d77811954e8397dc65bd6d51cfa812cb6caa8dc18ce412205e4a8008aba84dad3cfaa067 DIST icedtea-bin-core-3.5.0-x86.tar.xz 61349140 SHA256 db3f200c5611d33a8f1f0f28a36a0f4231f8c1ff91e178c6abd820cacca1789a SHA512 20eb965e029b0a3cf03122b176ceed22c1ef361b1105dc8e4ef4e9a8f885781148a367d01efe8789c9d93ad0da77cb7f490f806bf779304b4dc42741572ee72a WHIRLPOOL f3977fc2edcb9d1b942b2c48ebb7d5ba079ad42610003fd3b0eb2c54f52a1063aaea334c59522402cb400dc81c33c72120267248f00d7fc564774b82bcaf148d +DIST icedtea-bin-core-3.5.1-amd64.tar.xz 61880160 SHA256 159cfafc2b48d1042cc8b2ea9fec596f4ef59d7774d83c1606c8c213355d9b3d SHA512 1b7d8bfc8509ce0cc12406d14d70450b239838763b990d71b102a01400d6fee4359401c198669236a07794e410462a575b7b0fa2083b49e0c0f6fe637690db08 WHIRLPOOL 1bf461a833d8824136b629be7a88f8f96d18f11537b75735b0de07e073f3b9e018c0d5b0d9de6095159092dafef18af8f98ec11e7b08646e4b6d7685049dbfe9 +DIST icedtea-bin-core-3.5.1-arm.tar.xz 57957952 SHA256 b9b95ac5b6281f0ddbd5bbea24f1a84d2a1c517087f9775d33aedaa58fa888c8 SHA512 824782e010c037390e64c7a60e101c94f216a05fa94f854978cdcfa7351583554557d0b22a3fb46ee1033a9be2476cf58509ab5150d58f460e770f7399bb6b3d WHIRLPOOL 4063feef1b53261264f0793f514e79c4b394bf5ab8fd66cff8baa1a3ee9014885eae17b27d58809e9b82525ac4ff67bcb458f274a8136a7d263cc19bebede169 +DIST icedtea-bin-core-3.5.1-arm64.tar.xz 58951988 SHA256 f88a4f6c18956e6b1aba0e7d10936105ab39eef44d1a1b83ecdad7e187b4738f SHA512 023eb7743d055db28d67b234947860f1ecd362cfd38234e839092f9f182762673c50b7130e4db4c12a1dfc91d319e9546b8cdbd8486630800327e82c9940090f WHIRLPOOL 6a695ddbe3a105b4ff1cd370c1d5594276fa188666ad0e01cfce4192059a4eb297779e993328133879ff3cea3799ac70d27d8c4e2f8dd97e9db1bedd03e4a2af +DIST icedtea-bin-core-3.5.1-ppc64.tar.xz 54197760 SHA256 999b47f42a4f952eeb8c4a603ea614463c380d66150f93e17d7974684f32fa8b SHA512 58116c0bd67dc8f6ba65c5150513c2f62319cf3cef48f0624926e8d874787f6cf222e0ec8012822a6d9151b4f18691f8a1b5b65bce3e3b5bee54a85f503928e3 WHIRLPOOL 3ea91a281fe74ec75415acaa0b5275578e2b016a1d9c743c0cb9f85bad546e09fc0f660bd5d24f55cc8f2f386413cc2f9a2b58f906308dc1aa338238c40cf8a1 +DIST icedtea-bin-core-3.5.1-ppc64le.tar.xz 54240304 SHA256 0bac113ea9e165fcf2cf59c4c2476965c807d00d1c16e638f1803adb2ea5b05b SHA512 c781daf655362b571acdc78f4f3f8b86b1c132fb853ffe5cf4ac05968ae4d733bb90ee43d0d71f25418de399b1b25429dabdb9831dfbbbd98b937f4416c05487 WHIRLPOOL 320c92c8581064dcb5d715d7f457ce1926bd9e864d39569ced07e9d116fa2bd55f40441ec74a3b297ce0418aebc8bdd8b425d587fadc5bc4a53b351e457875d2 +DIST icedtea-bin-core-3.5.1-x86.tar.xz 61349068 SHA256 85bea3a4291b8140a1ed5d7e5585fb3fdd67c0f05dbfde41df7882e7f3f4f171 SHA512 89bbcc3f5340894c6500179e3be8f75d9eead0480758db76133ca18ce6d216a6ede2f4ab820f56b220fd66060433d1c135fe7993339384d70cbfed0aa072ed20 WHIRLPOOL 6c3660bac05571c1a25e53ad20bb06d622e9286c6cd0c080c99e15b14ddba72567e8912ead3078745e2874ce0e9441bf879afd5d2fc8e10dc55fa1890ccb93e0 DIST icedtea-bin-core-7.2.6.10-amd64.tar.xz 53414248 SHA256 332468fbfacd89cffd6f6f7f4860bbf9a4e49446e09d4a38154cef1f018a154d SHA512 11e2d094c3f53ffce8ddd639501d0ded25b991ede87521208da66cfe60c9d43ba1d5a0bb8b7985db5555796c1beaf931cc385a4c78910c1ddfc790322a678bc2 WHIRLPOOL e6a9a4b3043c53fb07d2b39bff08e13393a5cf515f901334397a3a6409efb79b98ac752830a6d73a7fa767e46589fc28d137c8422488b7b68b0da7a180e7e507 DIST icedtea-bin-core-7.2.6.10-x86.tar.xz 55334952 SHA256 717ebb14e834390206578c9ed487a03f3e80e663eb7c08d39dd05785641a1332 SHA512 4e0a8eb204d1144d9f784f0bc4de3f7ff6d84585c34c154f9f49b3bed2c2896ccbaadb016bd252c7f4d8402d4857f3541da1a953325d0bd962ff0674587c6d76 WHIRLPOOL 6d4f161aa8a403fd2517b390a4465c3513e470ed5ff9f8b5fdbfc659411668951dc336b972740d558f39b91234ab4e7cc764faa0ca59ee9a747685eed93422c3 DIST icedtea-bin-doc-3.4.0.tar.xz 11684272 SHA256 fb6d16f81bfc1b6d8c9bbf93a07797a3b667c7e3fbf6083292cfb858b6f58056 SHA512 06682cdb16fa7a49918f892aeb9ab6bf3fb4a4fc2b64cc555b38d38f826a70fa2451a5c549d0f1c113fc20f216d9ae3ab2fd81cd88ea79a14af94854e9ef3799 WHIRLPOOL 666aec67b8f1fe8d4bc2bdb0a5873ece59cebb44c480074d694365a04c40c17bc54913394fcbf6ce6257bac35e9e831217ec0806e63d9f7a66a97a480e6d4dbd DIST icedtea-bin-doc-3.5.0.tar.xz 11680592 SHA256 b6e06d86ec3ceb1937658196970a9f187162d36f385dbea5692dd641d1d03da5 SHA512 65d4ab3bd98f1071324b266746f32fee91c715474878ede271bf12cf392e8c87b8476c78cde47b20faccee94b980d7586100afea844d99895370569998c0c96e WHIRLPOOL 2859a06117447ee6703fcc7702b5286e46bb6facb57a55cee13c69bc84fd128b4f47a6c5169fc8f00fadbf3c4a747156ad92b3417b2e19d07e852d0605de6962 +DIST icedtea-bin-doc-3.5.1.tar.xz 11682876 SHA256 09df364aac70225f2dc19e43c157e1283e6e76a6f813de61a1ce35be7ac87d08 SHA512 df43658202c08e10ada2f5179c9f6eae15ffed3981b95495cc7ee7a9b4bf3b5f7957dce156451ef589edb0f0b9f50eb4faff1942263dfec665a83e75fad55caf WHIRLPOOL 1563a7d4bfc21acaf576ff291a110ab9bf4280cf9c5f9e582665faa32fd87969213b98540c0ec4cdabaf64c0a94ddedc9cbe3e1d134ca59a3796d1a58b7f8015 DIST icedtea-bin-doc-7.2.6.10.tar.xz 10614336 SHA256 e8a79fd42c8b6341df6dfc9a5a277aaecadcfe48e214988c900d1773313a95e2 SHA512 fa0748d0042f297527f5af11beccdad0b671225b8f258495ec93faa3f55b8669488575e53375ec71a8a8c75d17db4b26fd5980ce0381ed5ab598fb5c07c80af6 WHIRLPOOL 3f9f82c115869c5f849527485ef841d6b985139c3494e388a4d0a4a5c9adeba6c45aabe2da87d9717c692866a8baad0170f1059dd22d0911ba8b88e84f55f777 DIST icedtea-bin-examples-3.4.0-amd64.tar.xz 1856216 SHA256 05d187bf937fb162ec828ae7fe214e739d4fb1d237320897eff5e196626c86af SHA512 0ec78903919ad524cdd0d9458c6c2ab437d38f2487807e8854e28df04a8126a43529f22080958e90ec16d7a0d9c72d01570058b383e507b2f1a96b7b7d9578e3 WHIRLPOOL 8dfaed413f1f722458e3b1c5616beacebe65b9a8dbec4e892e0c3b69135a0fbc3c2af2aba19ec0a2841a15bdbab4e051275e1ef84a2c870c6e2c6e11e3be85cb DIST icedtea-bin-examples-3.4.0-arm.tar.xz 1840060 SHA256 546f99327d2dc1908a057842781c91693bd92c18663e4af65ab82da929de64cf SHA512 0bd3a13f77e69099b11c0dfee8437b43d64bee4f9ed411af523042c5a53ebff592832e5ff8973bfd9c2858789938b1cabbd230e9b6498721249315b7442a7d9e WHIRLPOOL e9096453f7d8fbde8636981aa140d7606380c05b31d8b1fa03430438f4650bc87dc51e890b8416d2fc06922a8e32f7ce32cb8ef0fdcf89dc0fc6706392904a2b @@ -21,8 +28,15 @@ DIST icedtea-bin-examples-3.5.0-arm.tar.xz 1840420 SHA256 3354fcb8099ce044f7ce78 DIST icedtea-bin-examples-3.5.0-ppc64.tar.xz 1847668 SHA256 74e14f3a145c4fa5fb0cd7cbd7386cc89466ae08b2e1280c8115ea1271b29238 SHA512 cef3f2bff12f66935c3ae3fbd4220711b94842c4edf7acdec4a1ca37247f2b064fa3ec9797fd993a218ebcbd3ae06d7278ce91ffd093c09ca3e5a811972a3964 WHIRLPOOL 1d9cb603e77ff614e414ea7a82e6a5261df66d63d9d356347eba70b375c055378bed332cbff7121bdb0eb3b7fcb1de28c1fe8596c4dae9b951220f5725544e05 DIST icedtea-bin-examples-3.5.0-ppc64le.tar.xz 1845340 SHA256 67893fb039985a5980a81b47428afc0c6507f63a54aefda66799489d214cbc50 SHA512 e99b1bd97aa6f7113f84cbe67216eebfe8ce3db2fb6e5be52c690a77fb263cacd9763e423de80e69429146e44445fb2743824ee515ab76d75b65b946db081a52 WHIRLPOOL d7a77137ff9f15eecbe6fdd91649b64eb02df56d909d82ca6fe141bd75143d6a9c868898dae295e2fdad648d527304d3f6167ae590dd499f9e699355cd1f8934 DIST icedtea-bin-examples-3.5.0-x86.tar.xz 1862840 SHA256 3cc1c6515586faafd0155f2b031cf5b765c62d83ba310aa01df37f56a3ab5961 SHA512 2c16cda4256dcb9d6f2b4fd630c2b6aa125e0bfcfa5d0b2144ff38530734ad5cdcd0b6a26015acfd0e89d21b586379779f7fc5050fad531125c3e72bbc45265d WHIRLPOOL 055b74437f2031f4891c0636c7604d75e3084794b462f4f2d5e7154cdda2a8d34e1b757e4acce99f196c76f2c0a38152dcdc0e771dd0c5ea79c5ac5fbcb3c4b3 +DIST icedtea-bin-examples-3.5.1-amd64.tar.xz 1856316 SHA256 990c86ce2a2c6e15db35d62a4ec49bb192476345d2d1f73b1faaa1f099c74884 SHA512 f32b55e03308c2e3cc7d8e823b53c8a6009e710c7120a665bafea1ae209664c24e2c0a3f408315461066dab67faa343199778ad0c255e3861b0c90f9bda72dbf WHIRLPOOL 5829a269bddf786786736dced0dbaa6db285e2184fc7cd3fe948415f2f0ad5a52ab8df6e16f5c1fe3cdc999072c5c474667e1507c2ac5d98fb5e78c3af903655 +DIST icedtea-bin-examples-3.5.1-arm.tar.xz 1840324 SHA256 6d81c9781c69ddf98fe06d9942d7e1e695a2eb28e1b42b1b1b6a7b0d41922ec4 SHA512 f40461e5267f43e8990d88784bff02ab4b85b5d41bf9d4bd519dd6c9a215779ce37c19a8572dabe72cbfd84db27eac9d71d12b15f9f6c1549cfc1a607fd957b8 WHIRLPOOL 21df1a426b3a5f97389bf9704eac79ab7e6d17275b2b8c32e932e0ba13a1d3f513fa37ddb1408dc95cfc302b744b1106fde22b2e8fbc6e3557209036a0384419 +DIST icedtea-bin-examples-3.5.1-arm64.tar.xz 1835880 SHA256 c147717e0b97ba78c0a9e5348acc58e15d31bfe193dba478f1e375130df60d90 SHA512 502f4e2220a8616c154fc9e7de742407bb48f92cc41e50eb5a334579cc12c5597adde5c673250fc5028ce88488f6289217047ad6709e3e146d99557c94c36c20 WHIRLPOOL d42b82fd73533fecde0bc6c1a64bf07593727e8c396f8578c7aa9354f07bbc2721945462954c576180c52397cba3132e97c48430dd21aa8def190c2212bf7ec5 +DIST icedtea-bin-examples-3.5.1-ppc64.tar.xz 1848368 SHA256 9453818b7160a5968f4fa9e2303982a093e77091dd82f7352344f5c4429a6976 SHA512 7d4ad879a00ebdf0c2bd6b33aa3e057ffe73a11e67f2bf80f781e7399943d9783ee1e88e0213d04de94e59284627a325168ac3913183bb04d8966b84f0d81dab WHIRLPOOL d04092cf4840c65ec402146738c36da10012d66aa3388a287150b3ebcd151f8ba88e891eece63ea7dcfea5aec8ecb04ef4e72d9492bff73dc74fdee0d8d0bf2e +DIST icedtea-bin-examples-3.5.1-ppc64le.tar.xz 1845336 SHA256 1332ae34d932fcb70c9f0684c292bebacad9837f446915e0d93b2e8213117b0e SHA512 7436d572ee16c9fc01fc1ab98f5dcdae7233e9c03f799637751b906e0f1e3c790673c0ea94312de997203aba11132167976e1008808ad90b7c4410a00f7752bf WHIRLPOOL b16392a13f80e232a0ff87084434c74484820b353b6a782e522fe767b70c85d92055242ca2de012eb73bd374c72d9ed58a411f8b0c49b7dca77d0c16333e0362 +DIST icedtea-bin-examples-3.5.1-x86.tar.xz 1862744 SHA256 bfe2ca3d365c83eb56f74e5f1c92ae72b82ba1b350d0a72145723aa7c2227522 SHA512 a803c9c91401f1a85a81d49b261445121b9ee9b5858df6ee711900684421027b4543b6f789395dff30a38afc726d5cc2e5b8307ad18996cc88ef235e6f9546a5 WHIRLPOOL 4faf5df1382c6b4021e6bb2086c35c6192240658ca5f75fb5279431ad9bb49585f5eab0142ada0c0bce42684f145c3d01374e323d6a58d3928aa3ded0cbe06f9 DIST icedtea-bin-examples-7.2.6.10-amd64.tar.xz 1796152 SHA256 a50a708e234055912ef8f7374d0d9a86f5dae80efd760ce0c58fb7fb9529dd4f SHA512 f3f2322d6c631130a21320fc4aa82f3c927ef9b877e557adc149d09794c859cd281542b71cacc761516eccf8b5b18ab9a7cd53a37b62cb591c738f5d60fb2301 WHIRLPOOL f47782336d8e6c1539a210f395d7bb999a7fd473ca9ef610fbb873d901a8674aa16bf05db7596a778585cac5de45cc38eb11dd35b5ba620f655facd07df02121 DIST icedtea-bin-examples-7.2.6.10-x86.tar.xz 1797320 SHA256 2f4de71a29f92b54b151640620853bd71cfa7ee1bd3e4713ed745ada353801aa SHA512 afa5e924bfff796a13e096ef94c708b9192350e86746fe9c86874db2a937add8050daddfba5a50109a6ebc226fa62f66dfc019d27e4053364bfe9249e40a87da WHIRLPOOL 1f6214b2f9fd777ed10a4f5c3f0830f0f3f171d032fffb1ff281f3eea648b9b7994de31fcd7ad65d734bb45d7816819c3d3b34657d52a6b91fa4aea093904464 DIST icedtea-bin-src-3.4.0.tar.xz 45704380 SHA256 c5a91481c3830148041404785316a203e37cbc3f8673cc97feccff443a4d61a5 SHA512 00cf87bbcb271202aaa08efdb3d804f92a5a8f158f998f689f0360a715485180c767fead34cbfdb8230465427227edf9c16c8779ee010301f25a7a2ad8a06c54 WHIRLPOOL bf80985e409636a0d0bab7849efd48eb19ea8bfaac75663e106129c9b2f511865f3ccaac4cd2a9f2402ae70d905aad2efd6a3edab2dcd0503f423f3ba645d4b7 DIST icedtea-bin-src-3.5.0.tar.xz 45724196 SHA256 2e41d224208520193e1f7b7f51fad2ff968db742e546ce35d2f135cecaeb74ae SHA512 868074023b4ebd34e398dbb7a89a27ddd1dd8fcafc4f29960da0f6d90f29335796431e5788587d8a5d2d4039f01e8e964f5dd597b89ec8d8f8d014e001ea9052 WHIRLPOOL 827c9818640a34dcb4ab06d7af8cf4ff810dcc8244ff7ce2b9c1c2cace57215d43b991ddffac6bbf94c6d6d808ba6227470628eeb06004965cdc2592ff465c4f +DIST icedtea-bin-src-3.5.1.tar.xz 45725832 SHA256 713c32f6d7b4a7ecd790a5749f6505ef11d4268643f254316f3d50ab38c0ff90 SHA512 f16d760c810c48dcd3f0d152a88e4adf14631cf6e4bbf3caa61cd0aa95a82fd7c6845708077b1ec0c61e91bd35bd9ef7e24d9b8266d9902cd32588c75f84ca17 WHIRLPOOL 9f43f63bbf884e4b78a305c737e9cf825cd0d4583cbd95c388aa65d0c136b8cd6a98c3896633d196fbf26bbc9575adf6c7edbca0eceeb4777b423fbe465dee56 DIST icedtea-bin-src-7.2.6.10.tar.xz 40201568 SHA256 354b76311fb9e28857dd64c3ca4b53504f5acfaa567d424aa2b24e73b692316a SHA512 c9310a5e776435f2192b046372f051a974e1c9b3be9265a51b344cb46ed82ff4d6cc5870f04ff7a3adb300aadbdbc7b9fda808b890a3a69d7b3ea960a7dddf54 WHIRLPOOL 107b64bfff32317e0439d38a5fbbc79c211048935d00abfebc541e0274123048a59b033e31b07c63156f1726ee127996f4ac0fa95fd5bf2238256bea09fd968c diff --git a/dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild b/dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild new file mode 100644 index 000000000000..43b2fdfba262 --- /dev/null +++ b/dev-java/icedtea-bin/icedtea-bin-3.5.1.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# Don't block arm. See bug #600134. +#MULTILIB_COMPAT=( abi_ppc_64 abi_x86_{32,64} ) +KEYWORDS="-* ~amd64 ~arm ~arm64 ~ppc64 ~x86" + +inherit java-vm-2 multilib-build toolchain-funcs + +abi_uri() { + echo "${2-$1}? ( + ${BASE_URI}/${PN}-core-${PV}-${1}.tar.xz + examples? ( ${BASE_URI}/${PN}-examples-${PV}-${1}.tar.xz ) + )" +} + +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 ) ) ) + big-endian? ( $(abi_uri ppc64) ) + !big-endian? ( $(abi_uri ppc64le ppc64) ) + $(abi_uri amd64) + $(abi_uri arm) + $(abi_uri arm64) + $(abi_uri x86)" + +DESCRIPTION="A Gentoo-made binary build of the IcedTea JDK" +HOMEPAGE="http://icedtea.classpath.org" +LICENSE="GPL-2-with-classpath-exception" +SLOT="8" + +IUSE="+alsa big-endian +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% + >=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:0/7% + =media-libs/libpng-1.6*% + >=x11-libs/libX11-1.6% + >=x11-libs/libXcomposite-0.4% + >=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-5.4.0[multilib?] + >=sys-libs/glibc-2.23[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[nsplugin] ) + 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() { + default + + # I wouldn't normally use -f below but symlinks in the arm files + # make this fail otherwise and any other approach would be tedious. + + if ! use alsa; then + rm -fv */jre/lib/*/libjsoundalsa.* || die + fi + + if use headless-awt; then + rm -fvr */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 +} -- cgit v1.2.3-65-gdbad