diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2018-01-13 12:36:51 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2018-01-13 12:36:51 +0100 |
commit | 015588aba2861dd910ec72bf0ef1778d2459cac6 (patch) | |
tree | 66ae62e6f279c8463512ed77a65c34f3ff5fdf4b /dev-util | |
parent | netbeans: removed obsolete ebuilds (diff) | |
download | fordfrog-015588aba2861dd910ec72bf0ef1778d2459cac6.tar.gz fordfrog-015588aba2861dd910ec72bf0ef1778d2459cac6.tar.bz2 fordfrog-015588aba2861dd910ec72bf0ef1778d2459cac6.zip |
netbeans: bumped to the latest nightly sources
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 | 2 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180113.ebuild | 235 |
2 files changed, 237 insertions, 0 deletions
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index 7b6fe7a3c..ae0ff6f16 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -9,6 +9,7 @@ DIST netbeans-trunk-nightly-201801050002-src.zip 221062529 SHA256 7bce08527a742a DIST netbeans-trunk-nightly-201801080002-src.zip 221062529 SHA256 108544c0eafd9a999c1aeaecf7ee4888e778a0ab1282e044a5ad9278fb25aec9 SHA512 3eab832f56d7fddfc74342532bdc99d68b559d7d958d9725807f436f9c26e28408bdff724f3eb4ce9656f4637d462c762ae0d02f6a8d58cd9f249895c726a233 WHIRLPOOL 4424197344fba51818fbd60a595449cd713fbf8743d0cec4321a94ce08b64b567c36b633b13f2ddcf96a76eb43f0904a92892ded6ac30c54bc2c39851b8daa85 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 @@ -18,4 +19,5 @@ EBUILD netbeans-9999_p20180105.ebuild 6186 SHA256 1b70141ef9d34c2ffe85ec66c4b9b5 EBUILD netbeans-9999_p20180108.ebuild 6186 SHA256 5bb53b30acedfd903ca1936331248e52d5743a775f5f031638ef1483c87ec79b SHA512 4f78f6a70b82792a4f1049726218104aa316ac89619802fc0ac45ad84148d324dc89cd48c914d3b71e803881aaffa5a92faccd0d0d5bc8a00be6f6437b758524 WHIRLPOOL 84272ee266ca8cd0eec062c2e8ae51539cfd59715ce88137ac7debf7110d298aa38e7b0d9c75ad8f0b14cfadfc164721017bf72cbc1b436d311a748478b870c0 EBUILD netbeans-9999_p20180109.ebuild 6186 SHA256 057fadabda469258a89e6bc97c4f3aaace412c2b0da527729f4c30c7489d54ba SHA512 efcb22fd8f98c8ca3e6e3e7f1b97d841fadd5093833a1e762eb4846cea3181f4b916f4f501e503dac04c7adf7f946791198d43a21bb57081b3bad96569105612 WHIRLPOOL 06a710428d8fa6d1bf0e5be989c44222cb62675640b33e0e088f0a5ef95361e4799c3df3efd39d1a05c805b21d168117b944c4ef7a3c5f1fa14051efcf2bcf7f EBUILD netbeans-9999_p20180110.ebuild 6186 SHA256 7be2bfb26987296c59c582683116d242e5f37cf4dc110b6ee139dd5649ac003c SHA512 accb572187e6b531b5234d16a673e7af3081f5ddbe18ea04a4656cc504b7bb1b4dff4bed5af4eef1257d25c278a2a93f62549143678d67cda5baa69a096aa804 WHIRLPOOL 5955bc195bd4db304eb2b54fb79fb32c0fe0c5639b98248f9161d6ac16aae08e414b1566c5fa951ab432a908d7ccad2776e8b04bf5066703c4d7228fefe238ac +EBUILD netbeans-9999_p20180113.ebuild 6186 SHA256 175ce92fa55dff562f152018d0563cbf170a5e25076d5cbfb0868c29f3e2e49d SHA512 a8bc491eca0985dc478611bcb7951acaaf6342d83764facc83c2c36d9a5795f40ba2950ad83688aeb80e77194377d3ad216a234a934413a3cfbb1b500b05878a WHIRLPOOL 30429089df2003c2e9ae41fe61ef7b78b95031eb9189f8faa4173ff6f4800a969c0d43de76fa0bc8211256ba7e8af1bc49ce1424aa3202ea172b5fd75b56121b MISC metadata.xml 329 SHA256 8aeaf2a0228f15c2e4140f401b30f083509bd99d0a578873069f3595cd8555f3 SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640 WHIRLPOOL 799a9b79b1b447bda9631f67e2dfaf722376740e1d2037796528a05f9745eeed00d9990a74a65ce09f74bc5e1d60a887abde540c3c62487d7dd49b8377c15834 diff --git a/dev-util/netbeans/netbeans-9999_p20180113.ebuild b/dev-util/netbeans/netbeans-9999_p20180113.ebuild new file mode 100644 index 000000000..6f6ba9765 --- /dev/null +++ b/dev-util/netbeans/netbeans-9999_p20180113.ebuild @@ -0,0 +1,235 @@ +# Copyright 1999-2018 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/2018-01-13_00-02-15/zip/netbeans-trunk-nightly-201801130002-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 +} |