diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2018-02-08 13:37:15 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2018-02-08 13:37:15 +0100 |
commit | 460c8cd0ec69293a9782b8a3d08983fd75257235 (patch) | |
tree | 52016a463bfbc8d4c8ed9dbdec616dd1ef165552 /dev-util | |
parent | netbeans: bumped to the latest nightly sources (diff) | |
download | fordfrog-460c8cd0ec69293a9782b8a3d08983fd75257235.tar.gz fordfrog-460c8cd0ec69293a9782b8a3d08983fd75257235.tar.bz2 fordfrog-460c8cd0ec69293a9782b8a3d08983fd75257235.zip |
netbeans: bumped to the latest nightly sources
Package-Manager: Portage-2.3.24, 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_p20180208.ebuild | 235 |
2 files changed, 237 insertions, 0 deletions
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest index 223b7dfc7..666987f4b 100644 --- a/dev-util/netbeans/Manifest +++ b/dev-util/netbeans/Manifest @@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802020002-src.zip 221062529 BLAKE2B f768aa4220653 DIST netbeans-trunk-nightly-201802050002-src.zip 221062529 BLAKE2B f64413a8373aa29179213a56c13c4909343713e84c621b38fe558af58181e5bb5d86b78a05d00fdca12a92b4118ea4938cc156253bf2d267ff11e4a3d4e50444 SHA512 5b6046a3f18fc5293106387beb3208d30c624d0b2d623df61df48bf2fbfd3d39cc0374f32ce1eb571b264620aa16243f4c3dfde75dcb700f03862020eff474c0 DIST netbeans-trunk-nightly-201802060002-src.zip 221062529 BLAKE2B a2cdbbb0e0396b4ee3397eba6baf9135f57509246147eb4fc854f371087b6fd14e160853187e59f7b7536f1b09e580a3a031f394fcf1aea3d5373febd2e2eb70 SHA512 9c9bde3c7bcdbc80498f3073c552f5fa71af506d8355bc32aa085013d404abcafe3ad2ba97773c444b083e8cfe53249dc29afa1e509ac7c5184c7fcb6d39d61b DIST netbeans-trunk-nightly-201802070002-src.zip 221062529 BLAKE2B 6884468bb88be7926b1e8a4e72a35fe2ed26693c719c036eee1bbb3d9f092bc11daa5551528651cafbbfa0d5ade093adb133ef020738bc3ba3294fcff01aa9f2 SHA512 3dac215650a4d0bf0497b636951cca469da68e577fdeff04151ef531b0d67ae7d5634e1fee04e72343114c69ca9eb2ef14cbc61c67d2c143bda3ef0de13ab506 +DIST netbeans-trunk-nightly-201802080002-src.zip 221062529 BLAKE2B 6de3de583566c682750c12d8098b1fb84f465ffa89f9d14b0b8b6007aca094a505df39db2133456f6da5bb1257362c0aa618d3f4ca6c015078135e9f1bfac057 SHA512 d96745b13a85263efc57d5eb4c9a69f97a79d0dde1ec79fa9e3a49d3dbdacb6a5688d68da64e0d414cc29b4b8dfeb5da309e8606db192926eecc0ceb2a10db47 EBUILD netbeans-9999_p20180108.ebuild 6186 BLAKE2B f506fa0578a94a7e37f9764379ed70f84b2d19c69dc3284770500db4a839231483f81ba5f5d9d2ecaf91be8534212738f40b43dd876eceba423f376391b8cb5e SHA512 4f78f6a70b82792a4f1049726218104aa316ac89619802fc0ac45ad84148d324dc89cd48c914d3b71e803881aaffa5a92faccd0d0d5bc8a00be6f6437b758524 EBUILD netbeans-9999_p20180109.ebuild 6186 BLAKE2B 03eb3639b7e4e5f633762256275e4ea857f486d3006c9f4f66c2d9e8ae22b663465eeb731b3ce9745a35d79619bc05243d0920d203a783c0e9ca73faaa7224d3 SHA512 efcb22fd8f98c8ca3e6e3e7f1b97d841fadd5093833a1e762eb4846cea3181f4b916f4f501e503dac04c7adf7f946791198d43a21bb57081b3bad96569105612 EBUILD netbeans-9999_p20180110.ebuild 6186 BLAKE2B bbc01b45b4b633a8c8b11a88c07192408d1cb707f85f0183e78af7bad838da0ac07e5257dbbcb8468b5a5d5687e847cae169f37fec396ee1bec6efa08a50c0e6 SHA512 accb572187e6b531b5234d16a673e7af3081f5ddbe18ea04a4656cc504b7bb1b4dff4bed5af4eef1257d25c278a2a93f62549143678d67cda5baa69a096aa804 @@ -40,4 +41,5 @@ EBUILD netbeans-9999_p20180202.ebuild 6186 BLAKE2B 3b74fd654a75f8813950b48a49672 EBUILD netbeans-9999_p20180205.ebuild 6186 BLAKE2B 0b35bf925eef88dc9e46352860b2a405170aea4d3f5c1f34fc74fbb85c5e33d2e60f1ce9689c737e75c57e7bc800668aa8aedbd24e38ef4efa3ca9456243fc23 SHA512 36da72e451f9873be602f4db9b4c3a724083256b50d97afe53f6ad2238e1f16f3da1fc936aafa32ac6fba43546c2a83b5a13a76ec161fe0cfc9fad4781bf845e EBUILD netbeans-9999_p20180206.ebuild 6186 BLAKE2B c896fd797734a6276333c4be992e85b070614fd2a71eb1086752ce2b6d4b66e598e493e3cb639956ccad2ead6be99d2bbf448228d314ea54a32277df7dec369d SHA512 61f908a68a24570f790d5137ca7ddb74caf4dfb57127439bea064d9fb616366c2d140bc2e05aac729a215f8946a2fd9e523ce46e499464d003981e6b0007f8e9 EBUILD netbeans-9999_p20180207.ebuild 6186 BLAKE2B 105f103ac318b5b1bccd8e6299f2190def0b6e09cf67ae064782659fade67d3fcc99343346d1d4cc40f41875a9b9c9d14ec0fcb590167961a61be7184823f6e2 SHA512 0e635bb653067c7627f53183faca61e72afc9c451b8e7fa3a00e83a49ec6fd1d20107ce8b476483d45664637c9d70e4f9abe6f94f69c65e99dcc1143b690392b +EBUILD netbeans-9999_p20180208.ebuild 6186 BLAKE2B 93380101b6f6e6345d30497c7f3e0e2911c8bfe845d1ac3d33993245b69f25451497d80bf8263c75289aa1ae9bdc56aed06780516c20b584389c32763bbc6d3a SHA512 202e771c476ea84ad79d6c04f808c1ca1802fd66a63bf9710e091e4ac20089a95c7de89c7ff13d60e68a20d9d173a43aee0f9a22fe59ed8ab4112e6b9c1da92b MISC metadata.xml 329 BLAKE2B 88f7b4966ca5fc8e18720ef5488809039344b15344c78cc4f016ab3fa95f76283805ef5d1c85b5c0b419462a0611ed6ceeecb0eee65b5b1b068a605c89efdf6b SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640 diff --git a/dev-util/netbeans/netbeans-9999_p20180208.ebuild b/dev-util/netbeans/netbeans-9999_p20180208.ebuild new file mode 100644 index 000000000..e3efa38cc --- /dev/null +++ b/dev-util/netbeans/netbeans-9999_p20180208.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-02-08_00-02-34/zip/netbeans-trunk-nightly-201802080002-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 +} |