summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-01-25 19:12:56 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-01-25 19:12:56 +0000
commit2d5318d293df029beebfd3159c1f4b4ec4519119 (patch)
tree67122da0e42733ddf4c65a00ada7f18837bc11c6 /app-admin/eselect-opengl
parentDelete older ebuilds. (diff)
downloadgentoo-2-2d5318d293df029beebfd3159c1f4b4ec4519119.tar.gz
gentoo-2-2d5318d293df029beebfd3159c1f4b4ec4519119.tar.bz2
gentoo-2-2d5318d293df029beebfd3159c1f4b4ec4519119.zip
Version bump with various bugfixes that should silence even people using corner cases.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/eselect-opengl')
-rw-r--r--app-admin/eselect-opengl/ChangeLog11
-rw-r--r--app-admin/eselect-opengl/eselect-opengl-1.2.0.ebuild45
2 files changed, 54 insertions, 2 deletions
diff --git a/app-admin/eselect-opengl/ChangeLog b/app-admin/eselect-opengl/ChangeLog
index 306ba07640fd..fbca8af0314f 100644
--- a/app-admin/eselect-opengl/ChangeLog
+++ b/app-admin/eselect-opengl/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-admin/eselect-opengl
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.71 2010/02/10 07:53:35 scarabeus Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.72 2011/01/25 19:12:56 scarabeus Exp $
+
+*eselect-opengl-1.2.0 (25 Jan 2011)
+
+ 25 Jan 2011; Tomáš Chvátal <scarabeus@gentoo.org>
+ +eselect-opengl-1.2.0.ebuild:
+ Version bump with various bugfixes that should silence even people using
+ corner cases.
10 Feb 2010; Tomáš Chvátal <scarabeus@gentoo.org>
-eselect-opengl-1.0.8-r1.ebuild:
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.2.0.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.2.0.ebuild
new file mode 100644
index 000000000000..b9c75acea887
--- /dev/null
+++ b/app-admin/eselect-opengl/eselect-opengl-1.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.2.0.ebuild,v 1.1 2011/01/25 19:12:56 scarabeus Exp $
+
+EAPI=3
+
+inherit multilib
+
+DESCRIPTION="Utility to change the OpenGL interface being used"
+HOMEPAGE="http://www.gentoo.org/"
+
+# Source:
+# http://www.opengl.org/registry/api/glext.h
+# http://www.opengl.org/registry/api/glxext.h
+GLEXT="67"
+GLXEXT="32"
+
+MIRROR="http://dev.gentooexperimental.org/~scarabeus/"
+SRC_URI="${MIRROR}/glext.h.${GLEXT}.xz
+ ${MIRROR}/glxext.h.${GLXEXT}.xz
+ ${MIRROR}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND="app-arch/xz-utils"
+RDEPEND=">=app-admin/eselect-1.2.4"
+
+pkg_postinst() {
+ eselect opengl set xorg-x11 --use-old
+}
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins opengl.eselect || die
+ doman opengl.eselect.5 || die
+
+ # Install global glext.h and glxext.h
+ insinto "/usr/$(get_libdir)/opengl/global/include"
+ cd "${WORKDIR}"
+ newins glext.h.${GLEXT} glext.h || die
+ newins glxext.h.${GLXEXT} glxext.h || die
+}