summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/gtkglext/gtkglext-1.0.4.ebuild')
-rw-r--r--x11-libs/gtkglext/gtkglext-1.0.4.ebuild49
1 files changed, 49 insertions, 0 deletions
diff --git a/x11-libs/gtkglext/gtkglext-1.0.4.ebuild b/x11-libs/gtkglext/gtkglext-1.0.4.ebuild
new file mode 100644
index 000000000000..a7b89cdb5776
--- /dev/null
+++ b/x11-libs/gtkglext/gtkglext-1.0.4.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkglext/gtkglext-1.0.4.ebuild,v 1.1 2003/09/21 13:28:46 liquidx Exp $
+
+inherit gnome2
+
+IUSE="doc"
+
+DESCRIPTION="GL extentions for Gtk+ 2.0"
+HOMEPAGE="http://gtkglext.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86 ~sparc"
+
+RDEPEND=">=dev-libs/glib-2
+ >=x11-libs/gtk+-2
+ >=x11-libs/pango-1
+ virtual/glu
+ virtual/opengl"
+
+DEPEND="${RDEPEND}
+ doc? ( >=dev-util/gtk-doc-0.10 )
+ dev-util/pkgconfig"
+
+DOCS="AUTHORS COPYING* ChangeLog* INSTALL NEWS README* TODO"
+
+# gtkglext doesn't build with some (faulty) nvidia drivers headers
+# this makes it always switch to xfree during install
+# foser <foser@gentoo.org>
+
+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
+}
+