diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2018-01-09 15:52:59 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2018-01-09 15:52:59 +0100 |
commit | f666dabfd3d9df1efaf7718b2270b6d36ac11287 (patch) | |
tree | c9fb14b9ba69dec9483cbe11718ddafa6442186e /dev-java/netbeans-php | |
parent | netbeans: removed obsolete ebuilds (diff) | |
download | fordfrog-f666dabfd3d9df1efaf7718b2270b6d36ac11287.tar.gz fordfrog-f666dabfd3d9df1efaf7718b2270b6d36ac11287.tar.bz2 fordfrog-f666dabfd3d9df1efaf7718b2270b6d36ac11287.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-java/netbeans-php')
-rw-r--r-- | dev-java/netbeans-php/Manifest | 2 | ||||
-rw-r--r-- | dev-java/netbeans-php/netbeans-php-9999_p20180109.ebuild | 113 |
2 files changed, 115 insertions, 0 deletions
diff --git a/dev-java/netbeans-php/Manifest b/dev-java/netbeans-php/Manifest index 2c453c8b0..eab73c063 100644 --- a/dev-java/netbeans-php/Manifest +++ b/dev-java/netbeans-php/Manifest @@ -11,6 +11,7 @@ DIST netbeans-trunk-nightly-201801020002-src.zip 221062529 SHA256 d4996bf1c18c00 DIST netbeans-trunk-nightly-201801040002-src.zip 221062529 SHA256 87de89f5a4cca45c1a4c9ca8d0b140fe1cba308c5360ba4901935fb620758334 SHA512 fcf9b91229193c5589c96ec84d7f556c3e16121b0f5227e152e898d256235e97884f92ed7935363075ee7609e25242668d1080d47bf637ced5cfcfc0828cab08 WHIRLPOOL f82ec9a3eb7604e27c9e44c14e7759c970fc0e25e6e2a796502e8767f250d0c71b38230f748f1b0743cd3b423e0968771a0c716b363bd52432b94defd57d8ec5 DIST netbeans-trunk-nightly-201801050002-src.zip 221062529 SHA256 7bce08527a742ae281c2326a865242c76a12bc0f909f6236c1b89f4e62164512 SHA512 239a50d280118b8b01a2ce6ee4528051a4ab7d3715378db9df77d6eea08de472089dcac7326ec2c82eb55960d0afc006c4a20cde66f818e80be7547e0c825eb6 WHIRLPOOL bbf3f3f5e1c93f1e5b770b25fe950cab0f1f2fc66c7fc838db141c6c6d25b1a9a6d8d6bff7465d1ab6aa04d48f531e6064e6c7647994eef004bb6f4eae825502 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 EBUILD netbeans-php-9999_p20171211.ebuild 4095 SHA256 1f3963e3a989bb265a535650045436adcf723fb70640a097a9e6c51c41e2bd80 SHA512 ee221cc2d9db851aebaa1ff70c757ae96031f6f5157fe292a96d90ef35385ac6d7c84abd8d54cc53843a54fafc191578584f975af9a0cb50788487a9ac4a4af3 WHIRLPOOL 679074f6f851cc69b10d1e49f56e1fd34f883cf79519a0f23eb411bb49f274898be09d73dfc4eaf24f7fcd00c1aabf350f9394f5627ac9b1b8136885866896d4 EBUILD netbeans-php-9999_p20171212.ebuild 4095 SHA256 526552cceffde500738187cb3ff67d690d248ed99a8ac0ab6d2579e838542d15 SHA512 7cdce3864b67b0bd7fd73a6f1d50cfef95753e1f22310f5c9b983798a06d1864df3c099003794db4d85484962308c6f0bb72460bdc1b7a93d538e2a19f669fb2 WHIRLPOOL 9d29e1e3f78aca25a4c38494fc9bba5a08258f71cce8530983b6a5d5ebbf400e04e16e7b68b240f52bec5bfd3d83b1f0d6f4c765a791089c8a83566f4be5a5de EBUILD netbeans-php-9999_p20171213.ebuild 4095 SHA256 84629d3013f7ba222fe5bf5e5b6ef6d1afe3e358c0f6c6addbff489dfc6d4280 SHA512 ada5c10a9487755f5ae9a2c264acdcf1f660b532e2fea36d109ec62dd98992e4cce73f4057c617f6a232c4c61bdd7cead74b940100f3fa18e308393bc95ba2ae WHIRLPOOL 7e9a216bba712935f9139d8b9650a4bb46cc32f680982cba41749d7bc6080d9aa1f44c9a2ae5ce3f33ecb73ba0e15e1513c4371cc520dd809179f1ccbb12e628 @@ -20,4 +21,5 @@ EBUILD netbeans-php-9999_p20180102.ebuild 4095 SHA256 c57746aa7d1f1bd67afad3c29e EBUILD netbeans-php-9999_p20180104.ebuild 4095 SHA256 f037509cb129547aab4c4abae99ecda2804788696554a9483273daa28ef25775 SHA512 477f19521e866d73dfebcd1dae970e1bbffe3bda8b5378026639f8692dc74c54e79d2a5bf2293920fc91ea4c4c38d540261860e325f0fbfc9a6fefe0476e2485 WHIRLPOOL d5799d91fc686f66503baa09eee2ebc1b58cbe1f922a1f0a2bdb9b80b7b144772e2bb65ffe43abd631590aa16c1b751027d7c6e6d05402696551ea58651f578a EBUILD netbeans-php-9999_p20180105.ebuild 4095 SHA256 cc906096d11b072bbf6760b7081f998f5de4970aad7e99c2e6aae4491e544ad7 SHA512 f758fb6f1de5a38e2bc4578216d4e9c0ddd5e0b79aea1fcaecfbdbc1d0871c16676cc8125d2dea1e0f1e94201f5848c9d8329fc22148cea1eecbafdb801949f9 WHIRLPOOL f7130bedccb348d52309c95fdd6a1a3a1560b22a7f660050d381b1c49f2c6ee5f3fa88029c33664a37f8e9ef4328d0db38a59df7e4cbc7d9615f8f254e7e3816 EBUILD netbeans-php-9999_p20180108.ebuild 4095 SHA256 01faa228e9bb3b7cd8e868d42bc19bff1858383f557bafc776a4875f5fff6287 SHA512 9d1e7ed1abab4a6f5b157149d3a15f85252168d98df459f9ad7cc9fb0a3ef5b1a00b890765b1a841af01d669c30522be5dc0ca05835707d87fd1bd50a5cf539f WHIRLPOOL 3dd9f2d89df4a5a573b9f548fbcbbfe6fb5e547a6ba66d2d272f8f6bc195589ebe194803087239a571f8e68271b3028f5cb91acca459dcdca6e0c4128f3e98d8 +EBUILD netbeans-php-9999_p20180109.ebuild 4095 SHA256 4814d8113afa9402f196aa3d4457ee72fd3e37dc42e5b43e7d2bc66355099034 SHA512 fb3c573aea4652dbaf9d1e926e80341c6a2bc14e3521608a5ad820603cd945d92b0d5294d4f6efa8cad472602d57bb44f15754bf4c2c187caa85357f19b491fa WHIRLPOOL 111d909f8c0a84aea0738519cccc7673bedef4e5216813577de2ba3ba8dab1c7b575c1d9d8c366c49199537ae7cc1eed3957f2ae21414818e4338d9c8e6afcca MISC metadata.xml 247 SHA256 8e0ccbf349cdd36adaaa8c3becadea9b65febd7868f27664ef7e70a1197765fe SHA512 1a68c1448a18938e13e6e39e718934a3e700b1d2ca708332d9cefd522d30049794b281c1cc8f788f1d0eb73c468a55b67a4bafbcf6e43317978d661d5d736faf WHIRLPOOL aaa66eab1db9d82717d76e5c65990f7f30e9527a6573006ebc43cc0edb05550ddce87e8e911ba7c7d67de863e6a191cc351b31fed299c4654a7b894f9eb13740 diff --git a/dev-java/netbeans-php/netbeans-php-9999_p20180109.ebuild b/dev-java/netbeans-php/netbeans-php-9999_p20180109.ebuild new file mode 100644 index 000000000..702367c79 --- /dev/null +++ b/dev-java/netbeans-php/netbeans-php-9999_p20180109.ebuild @@ -0,0 +1,113 @@ +# 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 PHP Cluster" +HOMEPAGE="https://netbeans.org/projects/php" +SLOT="9999" +SOURCE_URL="http://bits.netbeans.org/download/trunk/nightly/2018-01-09_00-02-15/zip/netbeans-trunk-nightly-201801090002-src.zip" +SRC_URI="${SOURCE_URL} + https://dev.gentoo.org/~fordfrog/distfiles/netbeans-9999-r21-build.xml.patch.bz2 + https://hg.netbeans.org/binaries/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip + https://hg.netbeans.org/binaries/537814919B9074FE0FE2B73579B38F691ED23732-phpsigfiles.zip + https://hg.netbeans.org/binaries/3D6AF75EA20D715887DAF47A3F063864EF0814C1-predefined_vars.zip" +LICENSE="|| ( CDDL GPL-2-with-linking-exception )" +KEYWORDS="~amd64 ~x86" +IUSE="" +S="${WORKDIR}" + +CDEPEND="virtual/jdk:1.8 + ~dev-java/netbeans-extide-${PV} + ~dev-java/netbeans-ide-${PV} + ~dev-java/netbeans-platform-${PV} + ~dev-java/netbeans-webcommon-${PV} + ~dev-java/netbeans-websvccommon-${PV} + dev-java/javacup:0" +DEPEND="${CDEPEND} + app-arch/unzip + dev-java/javahelp:0" +RDEPEND="${CDEPEND}" + +INSTALL_DIR="/usr/share/${PN}-${SLOT}" + +EANT_BUILD_XML="nbbuild/build.xml" +EANT_BUILD_TARGET="rebuild-cluster" +EANT_EXTRA_ARGS="-Drebuild.cluster.name=nb.cluster.php -Dext.binaries.downloaded=true -Dpermit.jdk8.builds=true" +EANT_FILTER_COMPILER="ecj-3.3 ecj-3.4 ecj-3.5 ecj-3.6 ecj-3.7" +JAVA_PKG_BSFIX="off" + +src_unpack() { + unpack $(basename ${SOURCE_URL}) + + einfo "Deleting bundled jars..." + find -name "*.jar" -type f -delete + + unpack netbeans-9999-r21-build.xml.patch.bz2 + + pushd "${S}" >/dev/null || die + ln -s "${DISTDIR}"/0702230EB3354A1687E4496D73A94F33A1E343BD-phpdocdesc.zip php.phpdoc.documentation/external/phpdocdesc.zip || die + ln -s "${DISTDIR}"/537814919B9074FE0FE2B73579B38F691ED23732-phpsigfiles.zip php.project/external/phpsigfiles.zip || die + ln -s "${DISTDIR}"/3D6AF75EA20D715887DAF47A3F063864EF0814C1-predefined_vars.zip php.editor/external/predefined_vars.zip || die + popd >/dev/null || die +} + +src_prepare() { + 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 + java-pkg_jar-from --into libs.javacup/external javacup javacup.jar java-cup-11a.jar + + einfo "Linking in other clusters..." + mkdir "${S}"/nbbuild/netbeans || die + pushd "${S}"/nbbuild/netbeans >/dev/null || die + + ln -s /usr/share/netbeans-extide-${SLOT} extide || die + cat /usr/share/netbeans-extide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.extide.built + + ln -s /usr/share/netbeans-ide-${SLOT} ide || die + cat /usr/share/netbeans-ide-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.ide.built + + ln -s /usr/share/netbeans-platform-${SLOT} platform || die + cat /usr/share/netbeans-platform-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.platform.built + + ln -s /usr/share/netbeans-webcommon-${SLOT} webcommon || die + cat /usr/share/netbeans-webcommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.webcommon.built + + ln -s /usr/share/netbeans-websvccommon-${SLOT} websvccommon || die + cat /usr/share/netbeans-websvccommon-${SLOT}/moduleCluster.properties >> moduleCluster.properties || die + touch nb.cluster.websvccommon.built + + popd >/dev/null || die + + java-pkg-2_src_prepare + default +} + +src_install() { + pushd nbbuild/netbeans/php >/dev/null || die + + insinto ${INSTALL_DIR} + + grep -E "/php$" ../moduleCluster.properties > "${D}"/${INSTALL_DIR}/moduleCluster.properties || die + + doins -r * + + popd >/dev/null || die + + local instdir="${D}"/${INSTALL_DIR}/modules/ext + pushd "${instdir}" >/dev/null || die + rm java-cup-11a.jar && java-pkg_jar-from --into "${instdir}" javacup javacup.jar java-cup-11a.jar + popd >/dev/null || die + + dosym ${INSTALL_DIR} /usr/share/netbeans-nb-${SLOT}/php +} |