diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2018-01-15 09:12:32 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2018-01-15 09:12:32 +0100 |
commit | d539a4b7bf00051627ab03ca156b8bac668ac3c8 (patch) | |
tree | b4587942074c49a5c3ef4228aab333e46100c34a /dev-util | |
parent | netbeans: bumped to the latest nightly sources (diff) | |
download | fordfrog-d539a4b7bf00051627ab03ca156b8bac668ac3c8.tar.gz fordfrog-d539a4b7bf00051627ab03ca156b8bac668ac3c8.tar.bz2 fordfrog-d539a4b7bf00051627ab03ca156b8bac668ac3c8.zip |
netbeans: removed obsolete ebuilds
Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --force
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/netbeans/Manifest | 4 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20171213.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20171214.ebuild | 235 |
3 files changed, 0 insertions, 474 deletions
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index ae0ff6f16..bf982e925 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -1,7 +1,5 @@ DIST netbeans-9999-r21-build.xml.patch.bz2 2682 SHA256 de05f6e9f75d0ebf775df5ed99c46ef67224f2c80d289a9c0b663d30e20df0a4 SHA512 4a8791f31d540f25157d6feee9182180cc525047a88e8975931ce589e5823c086f04ed200d900d593aaef97379953de58ea68f8a6ba6705d5652202a4156671a WHIRLPOOL 7617b44647ee6490f3f5277b0a3761aa8a99ad410a7b3358d6321b3a7ee3060ef2524ac45d1f6016737dd2f4a32e82247968980abde052eeca3d0015cf6d47d9 DIST netbeans-l10n-9999-20160920.tar.bz2 12724225 SHA256 f7bf8748874b30e7553c0f63492d556d24764bb4c8ea0083ade37707db0db0d1 SHA512 777160e22f648cd4c6343b51212c1a1ab5de31e84a36b8581dc3742aec7933122edc5215292ddb43df69960b6baaa8670b1b204c4728772627347b2bdcfa6254 WHIRLPOOL 9de45a38286d003e549da4eba2e1379c349d0aed4025e9c0697942a2596087994b428cf8843f3dbf2ac09524bc41aaa5ac1e7c810c78207a220af143cdc794ae -DIST netbeans-trunk-nightly-201712130002-src.zip 221062529 SHA256 eb97d873b040d66884fa27b1c5a3a063a00e611c4e9c799d46ea1a4619eedbab SHA512 577fcac1fef0e6197e640fca9eed3f8c9bb8ae29a676610631570e84f055aa97252db817ab258d3cf8d89f7c92636379edae12fcad0bc8dfcc8c928b841b72cd WHIRLPOOL c7d90c6bf010366917e76c99802b434112feab54ad64b98491d7ceb13f97c04a5835515c52472a0c5a1686a8bb98bf7c7d7669c34ce8476c5a9ec418b83b1d56 -DIST netbeans-trunk-nightly-201712140002-src.zip 221062529 SHA256 6cd8ec77bcbbf71b49633058c99f218febdd314e2d1ecd9d6d521a108b7d3ad0 SHA512 ab35c3ff4e9c82d2b005cdf94df22c7f6490c9b8e52554af2dfc46986bb538b197407fea768f425f793cca4020503f40ed52307dc46ba4c4ecf10bd1ae70230b WHIRLPOOL 296adeeb223f78b80177815d1a7229fa703539e454038b2dc850f2d7923fc8f09f8f1274bd13495eb136d6b813174efb46bb4fd9c563d1779f9030270b2ee859 DIST netbeans-trunk-nightly-201712150002-src.zip 221062529 SHA256 7e49ce9cdfb4a820e76896f52c96aa384f08f74b678b1ceb01cb2e8bfb7fc8e0 SHA512 7cfc561beee5bd485f180ff5a1741f5b33ecd02648e87fcd465d57805f16f7c2bfb6c383a16dbfd81d060355ff4ef770cfae24eca18e3c4713dc94c72a1f412f WHIRLPOOL 64144719fcab72e61a64273d9bf125ab4975bde3a780a43a45c9cd791e834575d2c48b665dcfea19311c1f10357e013927ed0b47bd16552aa5e1f6b1e2e82a09 DIST netbeans-trunk-nightly-201801020002-src.zip 221062529 SHA256 d4996bf1c18c00b8ae3f79287d4569f51b15929dc7711ec640e629c9d9359c4a SHA512 d91f8b2e51b75f6e4601470d53771596c809790b43ceb0ef237fd36e7fbb1a24e4b3f88953e48d2f62681fb227e31c058b0ee694eaffe9f26d044551637a77a9 WHIRLPOOL a1f2f2777bdd549a0369a3789831f47a008822931fcb21f46bcb3cd968bf9c704b83bf9fca497f6b6f5d4835dc29ce6b6f2f7e3590448825d5b16b0fe703f0c1 DIST netbeans-trunk-nightly-201801040002-src.zip 221062529 SHA256 87de89f5a4cca45c1a4c9ca8d0b140fe1cba308c5360ba4901935fb620758334 SHA512 fcf9b91229193c5589c96ec84d7f556c3e16121b0f5227e152e898d256235e97884f92ed7935363075ee7609e25242668d1080d47bf637ced5cfcfc0828cab08 WHIRLPOOL f82ec9a3eb7604e27c9e44c14e7759c970fc0e25e6e2a796502e8767f250d0c71b38230f748f1b0743cd3b423e0968771a0c716b363bd52432b94defd57d8ec5 @@ -10,8 +8,6 @@ DIST netbeans-trunk-nightly-201801080002-src.zip 221062529 SHA256 108544c0eafd9a DIST netbeans-trunk-nightly-201801090002-src.zip 221062529 SHA256 77c04b2f703e2106bbcfcb17bdb8bef02083bc4b8b1a5285adf1adc8cf212b14 SHA512 59201c784a48deb4c7c10f0d24679b4f3e556222130df9b18c6e0b7556e5d65e0c9aa8f4fdd9d156b2cd27e94fcdfeeccf885d7ab185e46bffb3351aeeb9dd26 WHIRLPOOL 31fdde931b05afcc4505f13aa2d4054d0c5a9280e79a10f0b538f3d38f6e5193e863fe2007a63e25c4e855a8663e57bf99c9ca0460d7e6fa7df1ccffa84cb627 DIST netbeans-trunk-nightly-201801100002-src.zip 221062529 SHA256 d011b554fb8e7735c504a8b1621a52e839efab06462a6e1ca03e5c463a6f5c58 SHA512 e7e522cc18b2de4453ad03895246f9847a91b198be6152e6f3155eeebfde30c0359a5b54b32c4dfb014f8d6d0a5148e3acd69aaab63a7914683490039002f769 WHIRLPOOL 8d2ecf85dffcd786487d41d0b9dfb93b65c781249b38ec8ca4204c5ad9e494d0dfb9ff34d3d7cad896dfe688fa5d201ea67c386c1b2175b6709e828b56634907 DIST netbeans-trunk-nightly-201801130002-src.zip 221062529 SHA256 4120d479325c9dc57a04d127ab4b260c3cd281844f0aa63f1003a99e79b27fec SHA512 21ec773d80e7f4056ebd981e066ef00912fe111623dc65b6b4f120c9cde8474b66b767932d97166a1c53b253e5babb65f8e4f9e1ad3a456e819ec6aabdf8fbdf WHIRLPOOL 891b5deeeb762a812a624ec8607269760afaa143ce25b229aab2369b7be4fbc90d8da7b4ac00968885fe840e123fbd4f2ce60a2e06639743ff616fb64045cd5e -EBUILD netbeans-9999_p20171213.ebuild 6186 SHA256 d645f434c552de2b05fcdce1dca58f6ffe28e7f9a4fc2079bfbb4bb7a0194fc3 SHA512 d8f6989d0f33354b83c4fdb3b578373773f749515ca1b43a1b0456257b9fd2332a200301781add7b8ab99de8c00db8e3e0c16d35cc4e301865299cf9bf5a8a55 WHIRLPOOL 2db23d0e422ee31ccb20ed3765fcd1797236daac79b11536cab290ae51ca0ef1bbdacfee8b970fb943722c138fc8e50d4752611d455e03d357c8ba67198ea2d1 -EBUILD netbeans-9999_p20171214.ebuild 6186 SHA256 a7a66efcd302fc09b7787cc3b8982573b986a103ea39dab45b730a2167cddd03 SHA512 ae125a6bafd9173c330b1669b8483068d6c5b4caa1a0059effc340bada15d4cbbad991bddbde4bae8fec304bef4d6748b93c8f2bfcc34031c65aeda11f38116e WHIRLPOOL 4af17dae9b2f3f54083d777cbf4d809d4e1be84837cade6f3e4821eba8f1f57d02cd8d97e8ae81042bd2fb683393a6806d242df323208fc69d3ca27edd7dcf8e EBUILD netbeans-9999_p20171215.ebuild 6186 SHA256 79151fe6ab1a98c6f69f90cae6860eba5f04926c43a8ebbbaddb25df24130e56 SHA512 0552b7f0258688df0c288070645281f12434feb4f5d1afd3872df15f1300a8ed77bb61a459c297f03301857645e38008d383abbf3434d5261a528c3b09f3dfe0 WHIRLPOOL 19d21ff1137eb9fdb6f3d094a8b2c754b9a71f3e770d53f28be0ab99e0766a5f9d38900a3089aa93ed2314601421d18ca14deb4fa65db569d0527554cf7a6f2b EBUILD netbeans-9999_p20180102.ebuild 6186 SHA256 84fd70fbcb6ed86344c70f2db32ce9d2e842587213be327e919b519fcdda1e8d SHA512 50d352fe4cd0eab66ac5beb099c607f55a42f3f58bfe04e27a3e83d7ea19da52470e2dba92d941d7000b77610498b9ea760fec827120dc154d495085961c7fe9 WHIRLPOOL 5a2b5dd9d7e0811250308dc80131dee8b3d423dba15e55b048328b35d87b8d6102537cfbb155b72820b9315c9d02d184dd3c1c99f666b265b7ecf239dbc3c056 EBUILD netbeans-9999_p20180104.ebuild 6186 SHA256 381e9ddc6c2a067e822df0d5f09dfe98dd00523d73c765a07136b7d538e559fc SHA512 edb96028ce6c6d004a4b3ce37340d717ea39aa6a64ecccb1bec7ea0bfb8efdece3f12cc63b95ddba082b37cbb4356f3f443e205331ad1f6332c9e46d7b78902d WHIRLPOOL d16c0ab0e0377720f301969aecd2bab9f8ab97dd4b140016710f9ad8cc535a4a10ae8a3d777e481cce5840226c5450d4e100366098b008af2c97e57f89dc7ba4 diff --git a/dev-util/netbeans/netbeans-9999_p20171213.ebuild b/dev-util/netbeans/netbeans-9999_p20171213.ebuild deleted file mode 100644 index b657e6c95..000000000 --- a/dev-util/netbeans/netbeans-9999_p20171213.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2017-12-13_00-02-15/zip/netbeans-trunk-nightly-201712130002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} diff --git a/dev-util/netbeans/netbeans-9999_p20171214.ebuild b/dev-util/netbeans/netbeans-9999_p20171214.ebuild deleted file mode 100644 index a067650ba..000000000 --- a/dev-util/netbeans/netbeans-9999_p20171214.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Netbeans IDE" -HOMEPAGE="https://netbeans.org/" -SLOT="9999" -SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2017-12-14_00-02-15/zip/netbeans-trunk-nightly-201712140002-src.zip" -PATCHES_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2" -L10N_URL="https://dev.gentoo.org/~fordfrog/distfiles/netbeans-l10n-9999-20160920.tar.bz2" -ALL_URLS="${SOURCE_URL} ${PATCHES_URL} ${L10N_URL}" -SRC_URI="l10n_af? ( ${ALL_URLS} ) - l10n_ar? ( ${ALL_URLS} ) - l10n_bg? ( ${ALL_URLS} ) - l10n_ca? ( ${ALL_URLS} ) - l10n_cs? ( ${ALL_URLS} ) - l10n_de? ( ${ALL_URLS} ) - l10n_el? ( ${ALL_URLS} ) - l10n_es? ( ${ALL_URLS} ) - l10n_fil? ( ${ALL_URLS} ) - l10n_fr? ( ${ALL_URLS} ) - l10n_gl? ( ${ALL_URLS} ) - l10n_hi? ( ${ALL_URLS} ) - l10n_id? ( ${ALL_URLS} ) - l10n_it? ( ${ALL_URLS} ) - l10n_ja? ( ${ALL_URLS} ) - l10n_ko? ( ${ALL_URLS} ) - l10n_lt? ( ${ALL_URLS} ) - l10n_nl? ( ${ALL_URLS} ) - l10n_pl? ( ${ALL_URLS} ) - l10n_pt-BR? ( ${ALL_URLS} ) - l10n_pt-PT? ( ${ALL_URLS} ) - l10n_ro? ( ${ALL_URLS} ) - l10n_ru? ( ${ALL_URLS} ) - l10n_si? ( ${ALL_URLS} ) - l10n_sq? ( ${ALL_URLS} ) - l10n_sr? ( ${ALL_URLS} ) - l10n_sv? ( ${ALL_URLS} ) - l10n_ta? ( ${ALL_URLS} ) - l10n_tr? ( ${ALL_URLS} ) - l10n_vi? ( ${ALL_URLS} ) - l10n_zh-CN? ( ${ALL_URLS} ) - l10n_zh-TW? ( ${ALL_URLS} ) -" -LICENSE="|| ( CDDL GPL-2-with-linking-exception )" -KEYWORDS="~amd64 ~x86" -IUSE_NETBEANS_MODULES=" - +netbeans_modules_apisupport - netbeans_modules_cnd - netbeans_modules_dlight - netbeans_modules_enterprise - netbeans_modules_ergonomics - netbeans_modules_extide - netbeans_modules_groovy - +netbeans_modules_java - netbeans_modules_javacard - +netbeans_modules_javafx - netbeans_modules_mobility - netbeans_modules_php - +netbeans_modules_profiler - netbeans_modules_webcommon - +netbeans_modules_websvccommon" -IUSE_L10N=" - l10n_af - l10n_ar - l10n_bg - l10n_ca - l10n_cs - l10n_de - l10n_el - l10n_es - l10n_fil - l10n_fr - l10n_gl - l10n_hi - l10n_id - l10n_it - l10n_ja - l10n_ko - l10n_lt - l10n_nl - l10n_pl - l10n_pt-BR - l10n_pt-PT - l10n_ro - l10n_ru - l10n_si - l10n_sq - l10n_sr - l10n_sv - l10n_ta - l10n_tr - l10n_vi - l10n_zh-CN - l10n_zh-TW" -IUSE="doc ${IUSE_NETBEANS_MODULES} ${IUSE_L10N}" -S="${WORKDIR}" - -CDEPEND="virtual/jdk:1.8" -DEPEND="${CDEPEND} - dev-java/javahelp:0" -RDEPEND="${CDEPEND} - ~dev-java/netbeans-harness-${PV} - ~dev-java/netbeans-ide-${PV} - ~dev-java/netbeans-nb-${PV} - ~dev-java/netbeans-platform-${PV} - netbeans_modules_apisupport? ( ~dev-java/netbeans-apisupport-${PV} ) - netbeans_modules_cnd? ( ~dev-java/netbeans-cnd-${PV} ) - netbeans_modules_dlight? ( ~dev-java/netbeans-dlight-${PV} ) - netbeans_modules_enterprise? ( ~dev-java/netbeans-enterprise-${PV} ) - netbeans_modules_ergonomics? ( ~dev-java/netbeans-ergonomics-${PV} ) - netbeans_modules_extide? ( ~dev-java/netbeans-extide-${PV} ) - netbeans_modules_groovy? ( ~dev-java/netbeans-groovy-${PV} ) - netbeans_modules_java? ( ~dev-java/netbeans-java-${PV} ) - netbeans_modules_javacard? ( ~dev-java/netbeans-javacard-${PV} ) - netbeans_modules_javafx? ( ~dev-java/netbeans-javafx-${PV} ) - netbeans_modules_mobility? ( ~dev-java/netbeans-mobility-${PV} ) - netbeans_modules_php? ( ~dev-java/netbeans-php-${PV} ) - netbeans_modules_profiler? ( ~dev-java/netbeans-profiler-${PV} ) - netbeans_modules_webcommon? ( ~dev-java/netbeans-webcommon-${PV} ) - netbeans_modules_websvccommon? ( ~dev-java/netbeans-websvccommon-${PV} ) - doc? ( ~dev-java/netbeans-javadoc-${PV} )" - -JAVA_PKG_BSFIX="off" -NBLOCALES="" - -pkg_setup() { - for lingua in ${IUSE_L10N} ; do - if use ${lingua} ; then - local lang=${lingua/l10n_/} - lang=${lang/-/_} - - case ${lang} in - ar) lang="ar_EG,ar_SA" ;; - es) lang="es,es_CO" ;; - fil) lang="fil_PH" ;; - gl) lang="gl_ES" ;; - hi) lang="hi_IN" ;; - id) lang="in_ID" ;; - nl) lang="nl_BE,nl_NL" ;; - ta) lang="ta_IN" ;; - esac - - if [ -z "${NBLOCALES}" ] ; then - NBLOCALES="${lang}" - else - NBLOCALES="${NBLOCALES},${lang}" - fi - fi - done - - java-pkg-2_pkg_setup -} - -src_unpack() { - if [ -n "${NBLOCALES}" ] ; then - unpack $(basename ${SOURCE_URL}) - unpack $(basename ${L10N_URL}) - - einfo "Deleting bundled jars..." - find -name "*.jar" -type f -delete - - unpack netbeans-9999-r21-build.xml.patch.bz2 - fi -} - -src_prepare() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Deleting bundled class files..." - find -name "*.class" -type f | xargs rm -vf - - epatch netbeans-9999-r21-build.xml.patch - - einfo "Symlinking external libraries..." - java-pkg_jar-from --build-only --into javahelp/external javahelp jhall.jar jhall-2.0_05.jar - fi - - java-pkg-2_src_prepare - default -} - -src_compile() { - if [ -n "${NBLOCALES}" ] ; then - einfo "Compiling support for locales: ${NBLOCALES}" - eant -f nbbuild/build.xml bootstrap || die - eant -Dlocales=${NBLOCALES} -Ddist.dir=../nbbuild/netbeans -Dnbms.dir="" -Dnbms.dist.dir="" \ - -Dpermit.jdk7.builds=true -f l10n/build.xml build || die - fi -} - -src_install() { - if [ -n "${NBLOCALES}" ] ; then - pushd "${S}"/nbbuild/netbeans >/dev/null || die - - for cluster in apisupport cnd dlight enterprise ergonomics groovy harness ide java javacard javafx mobility php platform profiler webcommon websvccommon ; do - if [ -d "${cluster}" ] ; then - insinto /usr/share/netbeans-${cluster}-${SLOT} - doins -r ${cluster}/* - fi - done - - if [ -d nb ] ; then - insinto /usr/share/netbeans-nb-${SLOT}/nb - doins -r nb/* - fi - - popd >/dev/null || die - - make_desktop_entry "netbeans-${SLOT} --locale en" "Netbeans ${PV} en" netbeans-${SLOT} Development - - for lingua in ${IUSE_L10N}; do - if use ${lingua} ; then - local locales=${lingua/l10n_/} - locales=${locales/-/:} - - case ${locales} in - ar) lang="ar:EG ar:SA" ;; - es) lang="es es:CO" ;; - fil) lang="fil:PH" ;; - gl) lang="gl:ES" ;; - hi) lang="hi:IN" ;; - id) lang="in:ID" ;; - nl) lang="nl:BE nl:NL" ;; - ta) lang="ta:IN" ;; - esac - - for locale in ${locales}; do - make_desktop_entry "netbeans-${SLOT} --locale ${locale}" "Netbeans ${PV} ${locale}" netbeans-${SLOT} Development - done - fi - done - fi -} |