diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2004-04-11 18:54:49 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2004-04-11 18:54:49 +0000 |
commit | 5e769ce3ab493e4aeb223496636f229774a2fe4e (patch) | |
tree | 4fcc6abcc28fb439d093ba6fc0e3c014f7a68b51 /dev-python | |
parent | Added metadata (diff) | |
download | historical-5e769ce3ab493e4aeb223496636f229774a2fe4e.tar.gz historical-5e769ce3ab493e4aeb223496636f229774a2fe4e.tar.bz2 historical-5e769ce3ab493e4aeb223496636f229774a2fe4e.zip |
Fixes for xorg-x11 compatibility.
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/PyOpenGL/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/PyOpenGL/Manifest | 4 | ||||
-rw-r--r-- | dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild | 18 |
3 files changed, 19 insertions, 9 deletions
diff --git a/dev-python/PyOpenGL/ChangeLog b/dev-python/PyOpenGL/ChangeLog index b5769eac3672..6d4652163864 100644 --- a/dev-python/PyOpenGL/ChangeLog +++ b/dev-python/PyOpenGL/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/PyOpenGL # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/ChangeLog,v 1.22 2004/04/10 04:35:11 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/ChangeLog,v 1.23 2004/04/11 18:54:49 spyderous Exp $ + + 11 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; + PyOpenGL-2.0.0.44.ebuild: + Fixes for xorg-x11 compatibility. 09 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> PyOpenGL-2.0.0.44.ebuild: diff --git a/dev-python/PyOpenGL/Manifest b/dev-python/PyOpenGL/Manifest index d1e49b92c541..458747f6db7c 100644 --- a/dev-python/PyOpenGL/Manifest +++ b/dev-python/PyOpenGL/Manifest @@ -1,5 +1,5 @@ -MD5 47c9550f957a993608c039694f4cb14b ChangeLog 2642 -MD5 2d56e9d2ed8f130058ff3805c6b0cb83 PyOpenGL-2.0.0.44.ebuild 1319 +MD5 10f8dbb4bd234e137b5791dc6fd71941 ChangeLog 2762 +MD5 44bf61ba26b1178a90371682ed74858c PyOpenGL-2.0.0.44.ebuild 1544 MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 MD5 67d2ad027cfd6d411a585b0e346606a8 files/config.diff 1175 MD5 9feca450998c720327067463fea8cdc0 files/digest-PyOpenGL-2.0.0.44 70 diff --git a/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild b/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild index 974a2b67326d..18b4e08764ed 100644 --- a/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild +++ b/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 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.23 2004/04/10 04:35:11 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild,v 1.24 2004/04/11 18:54:49 spyderous Exp $ inherit eutils distutils virtualx @@ -38,13 +38,19 @@ src_install () { pkg_setup () { if [ -e /etc/env.d/09opengl ] then - VOID=$(cat /etc/env.d/09opengl | grep xfree) + # Set up X11 implementation + X11_IMPLEM_P="$(portageq best_version "${ROOT}" virtual/x11)" + X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}" + X11_IMPLEM="${X11_IMPLEM##*\/}" + einfo "X11 implementation is ${X11_IMPLEM}." - USING_XFREE=$? - if [ ${USING_XFREE} -eq 1 ] + VOID=$(cat /etc/env.d/09opengl | grep ${X11_IMPLEM}) + + USING_X11=$? + if [ ${USING_X11} -eq 1 ] then GL_IMPLEM=$(cat /etc/env.d/09opengl | cut -f5 -d/) - opengl-update xfree + opengl-update ${X11_IMPLEM} fi else die "Could not find /etc/env.d/09opengl. Please run opengl-update." @@ -52,7 +58,7 @@ pkg_setup () { } pkg_postinst () { - if [ ${USING_XFREE} -eq 1 ] + if [ ${USING_X11} -eq 1 ] then opengl-update ${GL_IMPLEM} fi |