summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-08-30 06:15:26 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-08-30 06:15:26 +0000
commit6d67d5aff9460927ca1b8c2f85b6361707f8f135 (patch)
tree690d4bfa3945a03007a4d87ac2a6d8f32a14cd1b /dev-python/PyOpenGL
parentuse new cvs snapshot of x (diff)
downloadgentoo-2-6d67d5aff9460927ca1b8c2f85b6361707f8f135.tar.gz
gentoo-2-6d67d5aff9460927ca1b8c2f85b6361707f8f135.tar.bz2
gentoo-2-6d67d5aff9460927ca1b8c2f85b6361707f8f135.zip
virtual x fix
Diffstat (limited to 'dev-python/PyOpenGL')
-rw-r--r--dev-python/PyOpenGL/ChangeLog8
-rw-r--r--dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild28
2 files changed, 24 insertions, 12 deletions
diff --git a/dev-python/PyOpenGL/ChangeLog b/dev-python/PyOpenGL/ChangeLog
index af7bd5f356e2..dbeced5539a7 100644
--- a/dev-python/PyOpenGL/ChangeLog
+++ b/dev-python/PyOpenGL/ChangeLog
@@ -1,9 +1,15 @@
# ChangeLog for <dev-python/PyOpenGL
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/ChangeLog,v 1.1 2002/08/29 16:36:59 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/ChangeLog,v 1.2 2002/08/30 06:15:26 seemant Exp $
*PyOpenGL-2.0.0.44 (29 Aug 2002)
+ 29 Aug 2002; Seemant Kulleen <seemant@gentoo.org> PyOpenGL-2.0.0.44.ebuild :
+
+ Adjusted so that an X server need not be running. It will use a virtual X
+ server.
+
+
29 Aug 2002; Nick Hadaway <raker@gentoo.org> PyOpenGL-2.0.0.44.ebuild,
files/digest-PyOpenGL-2.0.0.44, files/config.diff :
New ebuild added to support a wxPython opengl enabled build. This ebuild
diff --git a/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild b/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild
index fd50c2f7dfed..65ee2fb71bcd 100644
--- a/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild
+++ b/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild,v 1.1 2002/08/29 16:36:59 raker Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild,v 1.2 2002/08/30 06:15:26 seemant Exp $
+
+inherit virtualx
DESCRIPTION="Python OpenGL bindings"
HOMEPAGE="http://pyopengl.sourceforge.net/"
@@ -26,21 +28,25 @@ src_unpack() {
src_compile() {
- IN_X=`env | grep DISPLAY | wc -l`
- if [ "$IN_X" -eq "0" ]; then
- einfo "******************************"
- einfo "You must have XWindows running"
- einfo "in order to compile PyOpenGL. "
- einfo "******************************"
- die "please start xwindows before emerging"
- fi
+# IN_X=`env | grep DISPLAY | wc -l`
+# if [ "$IN_X" -eq "0" ]; then
+# einfo "******************************"
+# einfo "You must have XWindows running"
+# einfo "in order to compile PyOpenGL. "
+# einfo "******************************"
+# die "please start xwindows before emerging"
+# fi
- python setup.py build || die "build failed"
+ export maketype="python setup.py build"
+ virtualmake "$*" || die
+# python setup.py build || die "build failed"
}
src_install () {
- python setup.py install --prefix=${D}/usr || die "install failed"
+ export maketype="python setup.py install --prefix=${D}/usr"
+ virtualmake "$*" || die
+ #python setup.py install --prefix=${D}/usr || die "install failed"
}