diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/netbeans/Manifest | 6 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180115.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180116.ebuild | 235 | ||||
-rw-r--r-- | dev-util/netbeans/netbeans-9999_p20180117.ebuild | 235 |
4 files changed, 0 insertions, 711 deletions
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index 8fe723ba8..4e125aa75 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -1,8 +1,5 @@ DIST netbeans-9999-r21-build.xml.patch.bz2 2682 BLAKE2B e292625a28eca0a30ad0414ae18311a9ea21807940bca464915fb84ac8e2c952b0b40ca97351fd91748dda3520a879246cc6cbfb0f27a4960793a27ac6987cc5 SHA512 4a8791f31d540f25157d6feee9182180cc525047a88e8975931ce589e5823c086f04ed200d900d593aaef97379953de58ea68f8a6ba6705d5652202a4156671a DIST netbeans-l10n-9999-20160920.tar.bz2 12724225 BLAKE2B 2bb5d812cd250f1acd31868887b2c8b03b0560d779a8666d0a28215008368b4e41ee9f297469b55470f51234cc8b977df4201f554b7316eeecb556427d13d265 SHA512 777160e22f648cd4c6343b51212c1a1ab5de31e84a36b8581dc3742aec7933122edc5215292ddb43df69960b6baaa8670b1b204c4728772627347b2bdcfa6254 -DIST netbeans-trunk-nightly-201801150002-src.zip 221062529 BLAKE2B 4699d843d5a3dd4500c183f191aece3aea379872f6ee7058ff7c63a72bd806155fe15d8ee5c50ddde02b05a23e25fc063af99d78883cd4405d13cae15bd5e819 SHA512 830da27a958aba45347b572f269a6c8a4cbb816668d0f788dc78d5c12540a8dc11b814ca9d67d7981dc4985e8fe0d3b611d14d31476fe817f755d2ac36c55187 -DIST netbeans-trunk-nightly-201801160002-src.zip 221062529 BLAKE2B 8599ab31eff27f167f88e0416c1202eb96661d03aa4f63b4d7223c45207eb37860cc2ccb3ec380b1c2341b88a706811ae3e39add2ded73f79c9a41bd41e03baf SHA512 0daf8c86cfad80db85b0ac5291d15168004b92df6fda301fd718e2e2dedf3b73c7220dabd4a4a29c71c8eceddb688aba26e5216ce701c13efca943522b5a93e9 -DIST netbeans-trunk-nightly-201801170002-src.zip 221062529 BLAKE2B 28348812a990b9f36715084cb5e200d42212556d01331f0732a4fa307f028844e46b5186900de5f3575249aaa57ef7b08236fc0179597ab73be931617617dab5 SHA512 7eec3ebf9135644ba6d7975f4560bef97e1dac7e05335a77639599cd8076753eae850e8838a8e9154eff6ac728cee4c572867ab27f618a37aa28c7177be035b5 DIST netbeans-trunk-nightly-201801220002-src.zip 221062529 BLAKE2B 911bea5093e0f4919664c97ae18399c47593dc46fb42e94389181d6739052721fab9378c5892b3f5533673eaa1e9ff02696f1550395670d13dfcd3c9a47d8b72 SHA512 0fdf3ed8b07c4073e4469ab9fbe898f1e59a493869dbfa6f5e34b3df38c241fe62932b4950552ac6464d65ed80fe9350e816f9214f325dd1634c73c199a7aeda DIST netbeans-trunk-nightly-201801230002-src.zip 221062529 BLAKE2B ef4529b6393ada651cbecfbf3c23f1a90a04d421b79aa4b8057a2103c8a563ebc4b81f7601438f36d11a7d7ac6b714cc81a89255ff41784569536ef926c00bae SHA512 80d284dffd195741b148482f11f17748e392f3a1b26d8598f96964dad6ce5b3e39dee215c4680496cf4c856776df4b5a449e02e42e8972d1b19700733a3cd904 DIST netbeans-trunk-nightly-201801240002-src.zip 221062529 BLAKE2B aeaac36f7173c3fb8467808494b8d24bd97d55181a424edde12cc151ec2b428f0f6ccc1062d12baba892dc13426fdb9eb6d9fb4b104ec7256a7647be396336b0 SHA512 40ed7aa6490e352b13713bfdf9863bee4d9e4d0cebcc1c82850ac027b8b3ab2548735dc5d5b8a55da21b2c848852fe1cd792cc11969b14edf292a7cdce3167cf @@ -22,9 +19,6 @@ DIST netbeans-trunk-nightly-201802120002-src.zip 221062529 BLAKE2B 79813136dc175 DIST netbeans-trunk-nightly-201802130002-src.zip 221062529 BLAKE2B 24bbe9b3dc6db17fd63592d058f8f769f370b8644ac5ac3c57c5e23f0959435758cdc436a0130ca2af058d807c25725615f161190802e81d9fa2414bff27e866 SHA512 c768205844a16378c871ad6519f1f6379c04cee50fb0db97aad77335913632f1b574b2a74321674187e20fd500778e7059017fed1b7a83e16ca149bf9be1f71b DIST netbeans-trunk-nightly-201802140002-src.zip 221062529 BLAKE2B 757d952970b57150a76b6705d370f95c4df5e594a7f5ccb180346882ff2fab12f222c0ec07ad4a4ed00ce4aee8a496e37ac876d3e792f6cb13090e152cd0817f SHA512 bf42f93bc7221c5265249f488205eb13de9edb8a02f61b5753eb135d44710458d1532615407a93ac1111ef63ca2d835a83be33405048cd90419d1031fd5a8d65 DIST netbeans-trunk-nightly-201802150002-src.zip 221062529 BLAKE2B 133e46408d191ea7d0fdee106913c400eb9cc8bd0a6d787af05f647aa7a8caa363b1a773915a3dee1f7f900c9e7f8da7f29cf08801ac6ab0281e7a70f05153d4 SHA512 d8f34a17fe6085f8560f836a7872d037d2967d6c68d4638abef4eaeba00ab26c77f6db1e1d1d8682c55175085a38f7198151345d48704a7c5b13f1e567e81b67 -EBUILD netbeans-9999_p20180115.ebuild 6186 BLAKE2B e7079a710c9006b9c4d0d1e7ee8fc3b4a24b74f86791965fc7feb1689a7817f4f8e2e3d22f34253c26e3c8d62fc5fe7008b43fe64b69e6649334cb3fda23f9b1 SHA512 6c5825bc6c10306c8d2e498a115d7472a94da1a0cdb2af8c26246a0609df8d9d935bd9efccfc7e22a462584d06c6c52970d3af0bb54ae355a32bb2f02ca9778b -EBUILD netbeans-9999_p20180116.ebuild 6186 BLAKE2B 6ac44255d8dee9c9557212990468d725d48d7577cf46490eced11f69ed1c62a121d076480084fdb15461a5bbe4d0449d2709929c23841d56916a66b624b1b25f SHA512 a6e77d32a1f96938970a9c23791e0734a760bdb2561610b122bc806ae18e8998a513a31d18ab36af28799375216714f431098b9c4cbe514ef055e930c7d4e34b -EBUILD netbeans-9999_p20180117.ebuild 6186 BLAKE2B 1d17f92f2751b63dc21a004412ae9c76661dbecabaaad1c8d8a5633487e23a05c2be5e6e4a785cae8fc19c69fbcc28d7742055d83b94d6b12c48f7e567921fb8 SHA512 8cc3cf3a5311030da3b00105ca6b7024e519ce2612ecd7a06a43c131879a0aeef03bf3234fa5bbf5dea6c801c06d7c6773613e40fdcdc13dc0070b99c9e3d810 EBUILD netbeans-9999_p20180122.ebuild 6186 BLAKE2B 455db3fc8d5ece3d27208485142f84ccdbdd87817a77c38eb0c2ebca371587884a904ec800efa66773a7ae006649ce6be4e0393a1d799e829fb713f6436e430c SHA512 4684c739f48e39312b48768368e89f59a0581dcf27c06fb3707b5f89a5630918f0ae8391d3e2c54490ecc5c8d41f120eddcc2d0df847293b1438ed9e3e63b7f3 EBUILD netbeans-9999_p20180123.ebuild 6186 BLAKE2B 9c6ab5e0f8af16dec2476230a82a419ad66303990d5d16866b475b497f3f4c0595a02de4b814bcfd5ae0692f2c749286b07f50e7d2cc49c26570beb08a6469b1 SHA512 b21d0f30d43c6e49d0f5dfe8f30ad11576fd33ed7a2c9d9f65b24325ee2c642c99d8f73fc3a05770ff9ebe710c7180e7d261db145371663b901d53b372452bc0 EBUILD netbeans-9999_p20180124.ebuild 6186 BLAKE2B 0f6ad062b82d72586a4096589d8c14fd7922882e457c8602aeb687ea37a49cd3f95ed04be44d985c3d85a0a68b5f8a9d78a6b66c831b9ad73769a4a20532b634 SHA512 2a5fb8bfec44f82e60ad3bfda9156c1b1ea2d69728225282ad82f7f19552941074396bd685f63ede990ed1994ee90d6850399c84c014d373df2c98a4069ec2de diff --git a/dev-util/netbeans/netbeans-9999_p20180115.ebuild b/dev-util/netbeans/netbeans-9999_p20180115.ebuild deleted file mode 100644 index cd491e99b..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180115.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# 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-15_00-02-15/zip/netbeans-trunk-nightly-201801150002-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_p20180116.ebuild b/dev-util/netbeans/netbeans-9999_p20180116.ebuild deleted file mode 100644 index bd34fbb41..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180116.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# 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-16_00-02-15/zip/netbeans-trunk-nightly-201801160002-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_p20180117.ebuild b/dev-util/netbeans/netbeans-9999_p20180117.ebuild deleted file mode 100644 index 9fa71f30b..000000000 --- a/dev-util/netbeans/netbeans-9999_p20180117.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# 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-17_00-02-15/zip/netbeans-trunk-nightly-201801170002-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 -} |