summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2018-02-26 11:17:43 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2018-02-26 11:17:43 +0100
commit1ebf5b9d5ef9bc5fed62d11c2f118fb9b2950c9d (patch)
treeb292ad5e9edc71918d232a2409ee581e87b9056a /dev-util
parentnetbeans: removed obsolete ebuilds (diff)
downloadfordfrog-1ebf5b9d5ef9bc5fed62d11c2f118fb9b2950c9d.tar.gz
fordfrog-1ebf5b9d5ef9bc5fed62d11c2f118fb9b2950c9d.tar.bz2
fordfrog-1ebf5b9d5ef9bc5fed62d11c2f118fb9b2950c9d.zip
netbeans: bumped to the latest nightly sources
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/netbeans/Manifest2
-rw-r--r--dev-util/netbeans/netbeans-9999_p20180226.ebuild235
2 files changed, 237 insertions, 0 deletions
diff --git a/dev-util/netbeans/Manifest b/dev-util/netbeans/Manifest
index f97c32074..27f79c337 100644
--- a/dev-util/netbeans/Manifest
+++ b/dev-util/netbeans/Manifest
@@ -20,6 +20,7 @@ DIST netbeans-trunk-nightly-201802200002-src.zip 221062529 BLAKE2B 9ff46b1a0f845
DIST netbeans-trunk-nightly-201802210002-src.zip 221062529 BLAKE2B dad63be2ff2cee16b000cce4c028a08d2d2c0edaae410dffe6bcfd8d68d1914b77fe97b1b877022e94651233dcf6f15d67202d94a6c9b5bcbfef8d2c775c6dca SHA512 11f768695919e05a0b893ece5c53ad5b48237646fa44d42418521597950110bb7d5d016360ac237370f6cf6310e0941fa83146a1964be01b2abaed95266407bf
DIST netbeans-trunk-nightly-201802220002-src.zip 221062529 BLAKE2B 3f5893037f6630367521f69b5c1c85e005caa0bbe03dba192237cc87d1a869c478442a804fa01acb6dd68e48c552985d69bef3f77b05e04fcdbb67182762839a SHA512 f8e7a56dae4d94b237f0d09ef3d8d7096314070edefbbfc6afee22ab12a2693e0a37a0c2aea7170b0af320d242d2bbd73999de3ccc3b005595e4e07a2adb6401
DIST netbeans-trunk-nightly-201802230002-src.zip 221062529 BLAKE2B c24b7ed83438d99b3a97f84ef0add2140689e236a9c8dce09d7f653a28440dc95cb5233e9d063a432339a084e4a0639c7d94ca0a24556a979a69df9a11f2a737 SHA512 dbffbb212d075a7b54f4940a322844b2e2204d947bd634b3c1b3c59ed93a8bd615f5c6b03f261c47ef1128a8ca6da38298370b5e06bd8c444a7e649299679326
+DIST netbeans-trunk-nightly-201802260002-src.zip 221062529 BLAKE2B 07cc875442efcd57dafba7b79ef537491eb8c2e4ef0260532f64eb45c0b8caa8ea953208e2da7479bd8e4e8ac50654ba8358df615da007f52420a2f39f56c5d9 SHA512 786730613dd430d4909dadc31d9dbfd97c366d97edf768a805f0fbb8a10a4633e07e870f4eaa862248837a90a9a7c46f423134f70dc21dbece3afa82c10ed5f0
EBUILD netbeans-9999_p20180126.ebuild 6186 BLAKE2B 559dd47232ec9e197c00b3edd3889b185c000960fcc9674aa8390f71e974bd1be990f6a83fb4a7a792e34490337dd82589bfc0a3436bba5f6a79bcf369365010 SHA512 c8915d32859be20aefe4b455436767b2b0ef9f3f285cc7010f1c32acf29caa8feb2fb9500c6d7c258b35d12a3519ca0ba2dc03ed18309a9697e77da96fe8d4b1
EBUILD netbeans-9999_p20180129.ebuild 6186 BLAKE2B a20459360b4ea79f0e93cd57a0fbefd73b4a61488ac2e621278b54ed3c7b51f5373f9234196b1024ecee80167eb3a73f6036099a645048eae17c579cf32ccb7f SHA512 566e3f211fb007ef42ec445e497436192104f20bd4f6a3d6fb637bf9098326de56d07b15a66f91e67bd668c473baf14ad127fc5c715ce04d489da26bfe864170
EBUILD netbeans-9999_p20180130.ebuild 6186 BLAKE2B ba7c1918ff14b26be3b08cce295cfeb58c9c9586be492ec748331716d78f2e3ad55f83008f58a3ecab95294db3cfa347d6e4ddd4a39cda0426d8386cfd4ce39f SHA512 fd9e09041f7963db83ee68c236014f23b294dc7508eeff9c28ea3409746a0bec0178c2a7ecc5046324a81d0342fb0fb0bad4ecba6951963de95a2cdfc5e8fb33
@@ -40,4 +41,5 @@ EBUILD netbeans-9999_p20180220.ebuild 6186 BLAKE2B 1250c15d1fc9026b80e87f5dc3895
EBUILD netbeans-9999_p20180221.ebuild 6186 BLAKE2B 71026493ad46a86604f2b68373197e54fa9db8a63222cfac346582bf7d2881f857d637f94af643cdc9777e27b43f3565fa672a7edb0cb396b5fc44957c9777ef SHA512 e9eff42ac17139f58b1edcdf7e883a64038d08b83c9f548a974ceb68e7ee0c4a9f6101b084936865cded8fcb6479af158a052b499e2d15f3e6c0cb75cbf37d97
EBUILD netbeans-9999_p20180222.ebuild 6186 BLAKE2B 51f4ef1207b985a8bd904230acbcb305352e2153076266d78edcf737d45532f205a1c8800cab1776504c15c89ffd29aedc9fedf2051fca80f20c0159609577fc SHA512 1a054e257b3058b2770fe448d693552ea3fabcb6b8440a1ff4b126c67a935b690f5e147036f7fa98ee24e681d5e9e233666b7d3aeef9c586f905d0af39a519b6
EBUILD netbeans-9999_p20180223.ebuild 6186 BLAKE2B 734440263c410e74778f1d0fdc6ef1c309a2b29a5adc853a326567a2d62a5b12917e4f94b22fb72346678e98d8b4499cb8a1de8892728b56c746d3a74f89712e SHA512 9ed352417d8467ae7e1503ea63b53948a412128e7433241c199e69ebc88b8dd9f5235eb31a6e95a7f49b69a11768be12ccddde995da9159cda845443e16951cc
+EBUILD netbeans-9999_p20180226.ebuild 6186 BLAKE2B 231de4ac6771fc377fafe7720f8511ba3c1333b54e4e256eb2cf53cda46ea1ad3ac6054eae4b2a50f42cad9629543de066543fc00319c5bd0eba9c2bd69753c3 SHA512 d21bcf02f42365495fd239f0b390290e3ffbf097260c13eb5ae021c3221d9bea8c600817caffe6eefc34d5f1010156f6af684400ed87ab2a60ea1c53cc13366f
MISC metadata.xml 329 BLAKE2B 88f7b4966ca5fc8e18720ef5488809039344b15344c78cc4f016ab3fa95f76283805ef5d1c85b5c0b419462a0611ed6ceeecb0eee65b5b1b068a605c89efdf6b SHA512 d5d878b3903238db8e1c807862c68fff34e86b972daac3e38a3b283c802ba8a5e6345723740f5ecf7b0313daa5430708a21eca4d4a1415069cf836aaf5429640
diff --git a/dev-util/netbeans/netbeans-9999_p20180226.ebuild b/dev-util/netbeans/netbeans-9999_p20180226.ebuild
new file mode 100644
index 000000000..96507770b
--- /dev/null
+++ b/dev-util/netbeans/netbeans-9999_p20180226.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-26_00-02-33/zip/netbeans-trunk-nightly-201802260002-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
+}