Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 262385 Details for
Bug 143019
dev-java/jogl-1.0.0 (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Working ebuild
jogl-1.1.1a.ebuild (text/plain), 1.89 KB, created by
Richard
on 2011-02-13 21:00:50 UTC
(
hide
)
Description:
Working ebuild
Filename:
MIME Type:
Creator:
Richard
Created:
2011-02-13 21:00:50 UTC
Size:
1.89 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >WANT_ANT_TASKS="ant-antlr" >JAVA_PKG_IUSE="cg source doc" >EAPI="2" > >inherit 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" > >COMMON_DEPEND="dev-java/ant-core > >=dev-java/cpptasks-1.0_beta4-r2 > =dev-java/gluegen-20090618 > cg? ( media-gfx/nvidia-cg-toolkit ) > virtual/opengl > x11-libs/libX11 > x11-libs/libXxf86vm" > >DEPEND=">=virtual/jdk-1.4 > app-arch/unzip > ${COMMON_DEPEND}" > >RDEPEND=">=virtual/jre-1.4 > ${COMMON_DEPEND}" >IUSE="" > >S="${WORKDIR}/${PN}" > >java_prepare() { > epatch "${FILESDIR}/1.1.0/uncouple-gluegen.patch" > cd "${S}/make" > mv build.xml build.xml.bak > > sed 's_/usr/X11R6_/usr_g' build.xml.bak > build.xml > sed -i -e 's/suncc/gcc/g' build.xml ../../gluegen/make/gluegen-cpptasks.xml > > rm -R "${S}/build/gensrc/classes/javax" > > cd "${WORKDIR}/gluegen/make/lib" > rm -v *.jar || die > java-pkg_jar-from cpptasks >} > >src_compile() { > cd make/ > 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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 143019
:
93615
|
93741
|
94194
|
104442
|
104444
|
106498
|
106500
|
239105
| 262385 |
410034