diff options
-rw-r--r-- | dev-java/jogl/Manifest | 2 | ||||
-rw-r--r-- | dev-java/jogl/jogl-1.1.1a.ebuild | 79 | ||||
-rw-r--r-- | dev-java/jogl/jogl-2.0_rc8-r1.ebuild | 95 |
3 files changed, 0 insertions, 176 deletions
diff --git a/dev-java/jogl/Manifest b/dev-java/jogl/Manifest index 385b1874a..9a0e5367f 100644 --- a/dev-java/jogl/Manifest +++ b/dev-java/jogl/Manifest @@ -1,4 +1,2 @@ -DIST jogl-1.1.1a-src.zip 3656870 BLAKE2B 3536ee0ee038278704320e853488537f6ac0758ec75bae317bd415f21afe8706c0c8802ba31c292c4cb3aa15427f392b69802fdfafa009f8e641db5daaac8824 SHA512 6de4273594c3bb4f17a629647a78619ba00d5998fa35cb25ee220e402059647b2c8fd111f1abdada9a78998d1b73052f1b432ed95220d1966e73cb50295b66bf DIST jogl-2.1.4.tar.gz 32070918 BLAKE2B 88636fa761addde8d7aba558b6d35382f922dba3ad27f82b7b0c935e5650fa084f9953b62c81495311c57accd6e359dbd4bac06edc7209be52437264d0f0da7c SHA512 9d9f45676f671b1958352fcb7ddb4db539f19fb330db0146df6ce46167bcebf9c4fdc1a09bce72451a4bf2f4632a69cad2b4dd56df61c78f5e26e85a50918a0b DIST jogl-2.2.4.tar.gz 50214295 BLAKE2B 984d32e4bd43e33807dca1d0222aae9a9ca453d616002865d4a6b80ec9a8f3e8f833669067daa545103a391af8db6e5c75cfc45501053b3d850c5a28ac311a7e SHA512 79fb054d65e8aa532a75e8c8911f43987d877f7b71584ea24cc0f9152f8aaaddabd4afef7f7504b3df73c4d240bedc123bb8aeb8670d9ae2bd165bd0490e420e -DIST jogl-v2.0-rc8.tar.7z 18148821 BLAKE2B 88f0d6913741fccfb2dee11b38e2e596ff5f4b767140e1ace1de56d05afe21ad0c467f54ff2b2605f9bef3f00857ebe526a07d0e995a3a84bc538fa995ecc425 SHA512 ce335990dac4c868705f9cd041cab2e97050efcd9b6b0a8fa01e070aa7ee2f27162cb96ebbbd5e9f04a1aa9e7661dde6aa0ba1d02565f38fa76a39deeb48a500 diff --git a/dev-java/jogl/jogl-1.1.1a.ebuild b/dev-java/jogl/jogl-1.1.1a.ebuild deleted file mode 100644 index 59e94ddef..000000000 --- a/dev-java/jogl/jogl-1.1.1a.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -WANT_ANT_TASKS="ant-antlr" -JAVA_PKG_IUSE="cg source doc" - -inherit eutils java-pkg-2 java-ant-2 - -DESCRIPTION="Java(TM) Binding fot the OpenGL(TM) API" -HOMEPAGE="https://jogl.dev.java.net/" -SRC_URI="http://download.java.net/media/${PN}/builds/archive/jsr-231-${PV}/${P}-src.zip" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -COMMON_DEPEND=" - dev-java/ant-core - >=dev-java/cpptasks-1.0_beta4-r2 - dev-java/gluegen:0 - virtual/opengl - x11-libs/libX11 - x11-libs/libXxf86vm - cg? ( media-gfx/nvidia-cg-toolkit )" - -DEPEND=" - app-arch/unzip - >=virtual/jdk-1.4 - ${COMMON_DEPEND}" - -RDEPEND=" - >=virtual/jre-1.4 - ${COMMON_DEPEND}" - -S="${WORKDIR}/${PN}" - -java_prepare() { - epatch "${FILESDIR}/1.1.0/uncouple-gluegen.patch" - cd "${S}/make" || die - mv build.xml build.xml.bak || die - - sed 's_/usr/X11R6_/usr_g' build.xml.bak > build.xml || die - sed -i -e 's/suncc/gcc/g' build.xml ../../gluegen/make/gluegen-cpptasks.xml || die - - rm -R "${S}/build/gensrc/classes/javax" || die - - cd "${WORKDIR}/gluegen/make/lib" || die - rm -v *.jar || die - java-pkg_jar-from cpptasks -} - -src_compile() { - cd make/ || die - local antflags="-Dgluegen.prebuild=true" - antflags="${antflags} -Dantlr.jar=$(java-pkg_getjars --build-only antlr)" - local gcp="$(java-pkg_getjars ant-core):$(java-config --tools)" - - local gluegen="-Dgluegen.jar=$(java-pkg_getjar gluegen gluegen.jar)" - local gluegenrt="-Dgluegen-rt.jar=$(java-pkg_getjar gluegen gluegen-rt.jar)" - - use cg && antflags="${antflags} -Djogl.cg=1 -Dx11.cg.lib=/usr/lib" - # -Dbuild.sysclasspath=ignore fails with missing ant dependencies. - - export ANT_OPTS="-Xmx1g" - eant \ - -Dgentoo.classpath="${gcp}" \ - ${antflags} "${gluegen}" "${gluegenrt}" \ - all $(use_doc) -} - -src_install() { - use source && java-pkg_dosrc src/classes/* - java-pkg_doso build/obj/*.so - java-pkg_dojar build/*.jar - use doc && java-pkg_dojavadoc javadoc_public -} diff --git a/dev-java/jogl/jogl-2.0_rc8-r1.ebuild b/dev-java/jogl/jogl-2.0_rc8-r1.ebuild deleted file mode 100644 index ae3fec701..000000000 --- a/dev-java/jogl/jogl-2.0_rc8-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -JAVA_PKG_IUSE="doc source" - -inherit java-pkg-2 java-ant-2 - -MY_PV=v${PV/_/-} -MY_P=${PN}-${MY_PV} - -DESCRIPTION="Java(TM) Binding fot the OpenGL(TM) API" -HOMEPAGE="http://jogamp.org/jogl/www/" -SRC_URI="http://jogamp.org/deployment/${MY_PV}/archive/Sources/${MY_P}.tar.7z" - -LICENSE="BSD" -SLOT="2" -KEYWORDS="~amd64 ~x86" -IUSE="cg" - -COMMON_DEP=" - dev-java/ant-core:0 - dev-java/ant-junit:0 - dev-java/antlr:0 - dev-java/cpptasks:0 - =dev-java/gluegen-${PV}:${SLOT} - dev-java/junit:4 - dev-java/swt:3.7 - x11-libs/libX11 - x11-libs/libXxf86vm - virtual/opengl - cg? ( media-gfx/nvidia-cg-toolkit )" -RDEPEND="${COMMON_DEP} - >=virtual/jre-1.5" -DEPEND="${COMMON_DEP} - >=virtual/jdk-1.5 - app-arch/p7zip - dev-java/ant-antlr:0 - dev-java/ant-contrib:0 - dev-java/ant-nodeps:0 - dev-java/cpptasks:0" - -S=${WORKDIR}/${MY_P} - -src_unpack() { - default - unpack ./${MY_P}.tar -} - -java_prepare() { - find -name '*.jar' -exec rm -v {} + || die - - # Empty filesets are never out of date! - sed -i -e 's/<outofdate>/<outofdate force="true">/' make/build*xml || die -} - -JAVA_PKG_BSFIX_NAME+=" build-jogl.xml build-nativewindow.xml build-newt.xml build-test.xml" -JAVA_ANT_REWRITE_CLASSPATH="yes" - -EANT_BUILD_XML="make/build.xml" -EANT_BUILD_TARGET="all" -EANT_DOC_TARGET="" # FIXME there are a couple javadoc targets, pick one -EANT_GENTOO_CLASSPATH="ant-core,antlr,swt-3.7,ant-junit" -EANT_NEEDS_TOOLS="yes" -EANT_ANT_TASKS="ant-antlr ant-contrib ant-junit ant-nodeps cpptasks" - -src_compile() { - EANT_EXTRA_ARGS+=" -Dcommon.gluegen.build.done=true" - EANT_EXTRA_ARGS+=" -Dgluegen.root=/usr/share/gluegen-${SLOT}/" - EANT_EXTRA_ARGS+=" -Dgluegen.jar=$(java-pkg_getjar gluegen-${SLOT} gluegen.jar)" - EANT_EXTRA_ARGS+=" -Dgluegen-rt.jar=$(java-pkg_getjar gluegen-${SLOT} gluegen-rt.jar)" - - # FIXME don't build tests just yet - EANT_EXTRA_ARGS+=" -Djunit.jar=$(java-pkg_getjar --build-only junit-4 junit.jar)" - - use cg && EANT_EXTRA_ARGS+=" -Djogl.cg=1 -Dx11.cg.lib=/usr/lib" - - java-pkg-2_src_compile -} - -EANT_TEST_TARGET="junit.run" -# FIXME src_test - -src_install() { - # There are many more - java-pkg_dojar build/jar/*.jar - java-pkg_doso build/lib/*.so - - if use doc; then - #java-pkg_dojavadoc javadoc_public - dodoc -r doc - fi - use source && java-pkg_dosrc src/jogl/classes/* -} |