summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Lauwers <blauwers@gentoo.org>2004-01-15 08:32:33 +0000
committerBart Lauwers <blauwers@gentoo.org>2004-01-15 08:32:33 +0000
commit7036a988849438d4872363bea440eb57e9c90e20 (patch)
tree94c742d79d850bc8d45025ed0322f96843178607 /dev-python
parentnomirroring since the one on the mirrors is bad (Manifest recommit) (diff)
downloadgentoo-2-7036a988849438d4872363bea440eb57e9c90e20.tar.gz
gentoo-2-7036a988849438d4872363bea440eb57e9c90e20.tar.bz2
gentoo-2-7036a988849438d4872363bea440eb57e9c90e20.zip
Fix for bug #37320: temporarily disable nvidia opengl driver during build
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/PyOpenGL/Manifest4
-rw-r--r--dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild19
2 files changed, 20 insertions, 3 deletions
diff --git a/dev-python/PyOpenGL/Manifest b/dev-python/PyOpenGL/Manifest
index 80bf10ea7b35..4b0bcc43d78f 100644
--- a/dev-python/PyOpenGL/Manifest
+++ b/dev-python/PyOpenGL/Manifest
@@ -1,6 +1,6 @@
MD5 497e3b34178efca1093b64f6fc155844 ChangeLog 1794
-MD5 f327c88efb0b9cc55df460171cb7be9b PyOpenGL-2.0.0.44.ebuild 914
+MD5 2c6cec33e09a52161a9c627d261c4f4b PyOpenGL-2.0.0.44.ebuild 1144
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
-MD5 ba0f0760a4a22fa7666205b8a5f4f514 files/PyOpenGL-2.0.0.44-disable_togl.patch 406
MD5 67d2ad027cfd6d411a585b0e346606a8 files/config.diff 1175
MD5 9feca450998c720327067463fea8cdc0 files/digest-PyOpenGL-2.0.0.44 70
+MD5 ba0f0760a4a22fa7666205b8a5f4f514 files/PyOpenGL-2.0.0.44-disable_togl.patch 406
diff --git a/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild b/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild
index 574bd9478c0e..6bb8999a3a0e 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.17 2004/01/06 03:12:44 avenj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/PyOpenGL/PyOpenGL-2.0.0.44.ebuild,v 1.18 2004/01/15 08:32:25 blauwers Exp $
inherit distutils virtualx
@@ -36,3 +36,20 @@ src_install () {
export python="virtualmake"
distutils_src_install
}
+
+pkg_setup () {
+ VOID=`cat /etc/env.d/09opengl | grep xfree`
+
+ USING_NVIDIA=$?
+ if [ ${USING_NVIDIA} -eq 1 ]
+ then
+ opengl-update xfree
+ fi
+}
+
+pkg_postinst () {
+ if [ ${USING_NVIDIA} -eq 1 ]
+ then
+ opengl-update nvidia
+ fi
+}