summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-11-07 21:57:07 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-11-07 21:57:07 +0000
commitebdaba280bc4414c61f21917af97204330e70c6f (patch)
treed54a152ab2700fec944faeee7db490e979a9db3f /app-admin/eselect-opengl
parentBump for #292293 (diff)
downloadgentoo-2-ebdaba280bc4414c61f21917af97204330e70c6f.tar.gz
gentoo-2-ebdaba280bc4414c61f21917af97204330e70c6f.tar.bz2
gentoo-2-ebdaba280bc4414c61f21917af97204330e70c6f.zip
Version bump. Drop all old stuff.
(Portage version: 2.2_rc49/cvs/Linux i686)
Diffstat (limited to 'app-admin/eselect-opengl')
-rw-r--r--app-admin/eselect-opengl/ChangeLog10
-rw-r--r--app-admin/eselect-opengl/eselect-opengl-1.0.5.ebuild80
-rw-r--r--app-admin/eselect-opengl/eselect-opengl-1.0.6.ebuild80
-rw-r--r--app-admin/eselect-opengl/eselect-opengl-1.0.7.ebuild86
-rw-r--r--app-admin/eselect-opengl/eselect-opengl-1.0.8-r1.ebuild83
-rw-r--r--app-admin/eselect-opengl/eselect-opengl-1.0.9.ebuild91
-rw-r--r--app-admin/eselect-opengl/eselect-opengl-1.1.0.ebuild55
7 files changed, 64 insertions, 421 deletions
diff --git a/app-admin/eselect-opengl/ChangeLog b/app-admin/eselect-opengl/ChangeLog
index c2c47f4a8faa..fa6a633b09c2 100644
--- a/app-admin/eselect-opengl/ChangeLog
+++ b/app-admin/eselect-opengl/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for app-admin/eselect-opengl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.56 2009/10/30 20:50:17 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.57 2009/11/07 21:57:07 scarabeus Exp $
+
+*eselect-opengl-1.1.0 (07 Nov 2009)
+
+ 07 Nov 2009; Tomáš Chvátal <scarabeus@gentoo.org>
+ -eselect-opengl-1.0.5.ebuild, -eselect-opengl-1.0.6.ebuild,
+ -eselect-opengl-1.0.7.ebuild, -eselect-opengl-1.0.8-r1.ebuild,
+ -eselect-opengl-1.0.9.ebuild, +eselect-opengl-1.1.0.ebuild:
+ Version bump. Drop all old stuff.
*eselect-opengl-1.0.9 (30 Oct 2009)
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.0.5.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.0.5.ebuild
deleted file mode 100644
index 6a35089c4648..000000000000
--- a/app-admin/eselect-opengl/eselect-opengl-1.0.5.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2009 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.0.5.ebuild,v 1.17 2009/06/23 11:40:06 scarabeus Exp $
-
-inherit multilib
-
-DESCRIPTION="Utility to change the OpenGL interface being used"
-HOMEPAGE="http://www.gentoo.org/"
-
-# Source:
-# http://oss.sgi.com/projects/ogl-sample/ABI/glext.h
-# http://oss.sgi.com/projects/ogl-sample/ABI/glxext.h
-
-GLEXT="29"
-GLXEXT="11"
-
-SRC_URI="mirror://gentoo/glext.h-${GLEXT}.bz2
- mirror://gentoo/glxext.h-${GLXEXT}.bz2
- mirror://gentoo/opengl.eselect-${PV}.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE=""
-EMULTILIB_PKG="true"
-
-DEPEND="app-arch/bzip2"
-RDEPEND=">=app-admin/eselect-1.0.5"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
-
- mv opengl.eselect-${PV} opengl.eselect
- mv glext.h-${GLEXT} glext.h
- mv glxext.h-${GLXEXT} glxext.h
-}
-
-pkg_preinst() {
- # It needs to be before 04multilib
- [[ -f "${ROOT}/etc/env.d/09opengl" ]] && mv ${ROOT}/etc/env.d/09opengl ${ROOT}/etc/env.d/03opengl
-
- OABI="${ABI}"
- for ABI in $(get_install_abis); do
- if [[ -e "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from xorg-x11 profile. See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so"
- fi
- if [[ -e "${ROOT}/usr/$(get_libdir)/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from /usr/$(get_libdir). See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/libMesaGL.so"
- fi
-
- for f in "${ROOT}/usr/$(get_libdir)"/libGL.so.* "${ROOT}/usr/$(get_libdir)"/libGLcore.so.* "${ROOT}/usr/$(get_libdir)"/libnvidia-tls* "${ROOT}/usr/$(get_libdir)"/tls/libnvidia-tls* ; do
- [[ -e ${f} ]] && rm -f "${f}"
- done
- done
- ABI="${OABI}"
- unset OABI
-}
-
-pkg_postinst() {
- local impl="$(eselect opengl show)"
- if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
- eselect opengl set "${impl}"
- fi
-}
-
-src_install() {
- insinto /usr/share/eselect/modules
- doins opengl.eselect
-
- # Install default glext.h
- insinto "/usr/$(get_libdir)/opengl/global/include"
- doins "${WORKDIR}/glext.h" || die
- doins "${WORKDIR}/glxext.h" || die
-}
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.0.6.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.0.6.ebuild
deleted file mode 100644
index d0b10096a3ae..000000000000
--- a/app-admin/eselect-opengl/eselect-opengl-1.0.6.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2009 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.0.6.ebuild,v 1.4 2009/06/23 11:40:06 scarabeus Exp $
-
-inherit multilib
-
-DESCRIPTION="Utility to change the OpenGL interface being used"
-HOMEPAGE="http://www.gentoo.org/"
-
-# Source:
-# http://oss.sgi.com/projects/ogl-sample/ABI/glext.h
-# http://oss.sgi.com/projects/ogl-sample/ABI/glxext.h
-
-GLEXT="29"
-GLXEXT="11"
-
-SRC_URI="mirror://gentoo/glext.h-${GLEXT}.bz2
- mirror://gentoo/glxext.h-${GLXEXT}.bz2
- mirror://gentoo/opengl.eselect-${PV}.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-EMULTILIB_PKG="true"
-
-DEPEND="app-arch/bzip2"
-RDEPEND=">=app-admin/eselect-1.0.5"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
-
- mv opengl.eselect-${PV} opengl.eselect
- mv glext.h-${GLEXT} glext.h
- mv glxext.h-${GLXEXT} glxext.h
-}
-
-pkg_preinst() {
- # It needs to be before 04multilib
- [[ -f "${ROOT}/etc/env.d/09opengl" ]] && mv ${ROOT}/etc/env.d/09opengl ${ROOT}/etc/env.d/03opengl
-
- OABI="${ABI}"
- for ABI in $(get_install_abis); do
- if [[ -e "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from xorg-x11 profile. See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so"
- fi
- if [[ -e "${ROOT}/usr/$(get_libdir)/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from /usr/$(get_libdir). See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/libMesaGL.so"
- fi
-
- for f in "${ROOT}/usr/$(get_libdir)"/libGL.so.* "${ROOT}/usr/$(get_libdir)"/libGLcore.so.* "${ROOT}/usr/$(get_libdir)"/libnvidia-tls* "${ROOT}/usr/$(get_libdir)"/tls/libnvidia-tls* ; do
- [[ -e ${f} ]] && rm -f "${f}"
- done
- done
- ABI="${OABI}"
- unset OABI
-}
-
-pkg_postinst() {
- local impl="$(eselect opengl show)"
- if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
- eselect opengl set "${impl}"
- fi
-}
-
-src_install() {
- insinto /usr/share/eselect/modules
- doins opengl.eselect
-
- # Install default glext.h
- insinto "/usr/$(get_libdir)/opengl/global/include"
- doins "${WORKDIR}/glext.h" || die
- doins "${WORKDIR}/glxext.h" || die
-}
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.0.7.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.0.7.ebuild
deleted file mode 100644
index ae62be94dc90..000000000000
--- a/app-admin/eselect-opengl/eselect-opengl-1.0.7.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2009 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.0.7.ebuild,v 1.2 2009/06/24 08:12:26 scarabeus Exp $
-
-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="52"
-GLXEXT="21"
-
-# one day is too much for me to wait, unmask this tomorow
-# @ 23.6.09
-#MIRROR="mirror://gentoo/"
-MIRROR="http://dev.gentooexperimental.org/~scarabeus/"
-SRC_URI="${MIRROR}/glext.h-${GLEXT}.bz2
- ${MIRROR}/glxext.h-${GLXEXT}.bz2
- ${MIRROR}/opengl.eselect-${PV}.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-# -* to give time for headers to hit mirrors...
-#KEYWORDS="-*"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-EMULTILIB_PKG="true"
-
-DEPEND="app-arch/bzip2"
-RDEPEND=">=app-admin/eselect-1.1"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
-
- mv opengl.eselect-${PV} opengl.eselect
- mv glext.h-${GLEXT} glext.h
- mv glxext.h-${GLXEXT} glxext.h
-}
-
-pkg_preinst() {
- # It needs to be before 04multilib
- [[ -f "${ROOT}/etc/env.d/09opengl" ]] && mv ${ROOT}/etc/env.d/09opengl ${ROOT}/etc/env.d/03opengl
-
- OABI="${ABI}"
- for ABI in $(get_install_abis); do
- if [[ -e "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from xorg-x11 profile. See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so"
- fi
- if [[ -e "${ROOT}/usr/$(get_libdir)/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from /usr/$(get_libdir). See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/libMesaGL.so"
- fi
-
- for f in "${ROOT}/usr/$(get_libdir)"/libGL.so.* "${ROOT}/usr/$(get_libdir)"/libGLcore.so.* "${ROOT}/usr/$(get_libdir)"/libnvidia-tls* "${ROOT}/usr/$(get_libdir)"/tls/libnvidia-tls* ; do
- [[ -e ${f} ]] && rm -f "${f}"
- done
- done
- ABI="${OABI}"
- unset OABI
-}
-
-pkg_postinst() {
- local impl="$(eselect opengl show)"
- if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
- eselect opengl set "${impl}"
- fi
-}
-
-src_install() {
- insinto /usr/share/eselect/modules
- doins opengl.eselect
-
- # Install default glext.h
- insinto "/usr/$(get_libdir)/opengl/global/include"
- doins "${WORKDIR}/glext.h" || die
- doins "${WORKDIR}/glxext.h" || die
-}
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.0.8-r1.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.0.8-r1.ebuild
deleted file mode 100644
index a8d8721774b0..000000000000
--- a/app-admin/eselect-opengl/eselect-opengl-1.0.8-r1.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2009 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.0.8-r1.ebuild,v 1.7 2009/10/26 19:13:50 jer Exp $
-
-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="55"
-GLXEXT="24"
-
-#MIRROR="mirror://gentoo/"
-MIRROR="http://dev.gentooexperimental.org/~scarabeus/"
-SRC_URI="${MIRROR}/glext.h.${GLEXT}.bz2
- ${MIRROR}/glxext.h.${GLXEXT}.bz2
- ${MIRROR}/opengl.eselect-${PV}.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-# -* to give time for headers to hit mirrors...
-#KEYWORDS="-*"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
-IUSE=""
-EMULTILIB_PKG="true"
-
-DEPEND="app-arch/bzip2"
-RDEPEND=">=app-admin/eselect-1.1"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
-
- mv opengl.eselect-${PV} opengl.eselect
-}
-
-pkg_preinst() {
- # It needs to be before 04multilib
- [[ -f "${ROOT}/etc/env.d/09opengl" ]] && mv ${ROOT}/etc/env.d/09opengl ${ROOT}/etc/env.d/03opengl
-
- OABI="${ABI}"
- for ABI in $(get_install_abis); do
- if [[ -e "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from xorg-x11 profile. See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so"
- fi
- if [[ -e "${ROOT}/usr/$(get_libdir)/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from /usr/$(get_libdir). See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/libMesaGL.so"
- fi
-
- for f in "${ROOT}/usr/$(get_libdir)"/libGL.so.* "${ROOT}/usr/$(get_libdir)"/libGLcore.so.* "${ROOT}/usr/$(get_libdir)"/libnvidia-tls* "${ROOT}/usr/$(get_libdir)"/tls/libnvidia-tls* ; do
- [[ -e ${f} ]] && rm -f "${f}"
- done
- done
- ABI="${OABI}"
- unset OABI
-}
-
-pkg_postinst() {
- local impl="$(eselect opengl show)"
- if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
- eselect opengl set "${impl}"
- fi
-}
-
-src_install() {
- insinto /usr/share/eselect/modules
- doins opengl.eselect
-
- # Install default glext.h
- insinto "/usr/$(get_libdir)/opengl/global/include"
- cd "${WORKDIR}"
- newins glext.h.${GLEXT} glext.h || die
- newins glxext.h.${GLXEXT} glxext.h || die
-}
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.0.9.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.0.9.ebuild
deleted file mode 100644
index 0c03bd4c0b6a..000000000000
--- a/app-admin/eselect-opengl/eselect-opengl-1.0.9.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2009 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.0.9.ebuild,v 1.1 2009/10/30 20:50:17 scarabeus Exp $
-
-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="56"
-GLXEXT="25"
-
-#MIRROR="mirror://gentoo/"
-MIRROR="http://dev.gentooexperimental.org/~scarabeus/"
-SRC_URI="${MIRROR}/glext.h.${GLEXT}.bz2
- ${MIRROR}/glxext.h.${GLXEXT}.bz2
- ${MIRROR}/opengl.eselect-${PV}.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-# -* to give time for headers to hit mirrors...
-#KEYWORDS="-*"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE=""
-EMULTILIB_PKG="true"
-
-DEPEND="app-arch/bzip2"
-RDEPEND=">=app-admin/eselect-1.1"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
-
- mv opengl.eselect-${PV} opengl.eselect
-}
-
-pkg_preinst() {
- # It needs to be before 04multilib
- [[ -f "${ROOT}/etc/env.d/09opengl" ]] && mv ${ROOT}/etc/env.d/09opengl ${ROOT}/etc/env.d/03opengl
-
- OABI="${ABI}"
- for ABI in $(get_install_abis); do
- if [[ -e "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from xorg-x11 profile. See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/opengl/xorg-x11/lib/libMesaGL.so"
- fi
- if [[ -e "${ROOT}/usr/$(get_libdir)/libMesaGL.so" ]]
- then
- einfo "Removing libMesaGL.so from /usr/$(get_libdir). See bug #47598."
- rm -f "${ROOT}/usr/$(get_libdir)/libMesaGL.so"
- fi
-
- for f in "${ROOT}/usr/$(get_libdir)"/libGL.so.* "${ROOT}/usr/$(get_libdir)"/libGLcore.so.* "${ROOT}/usr/$(get_libdir)"/libnvidia-tls* "${ROOT}/usr/$(get_libdir)"/tls/libnvidia-tls* ; do
- [[ -e ${f} ]] && rm -f "${f}"
- done
- done
- ABI="${OABI}"
- unset OABI
-}
-
-pkg_postinst() {
- local impl="$(eselect opengl show)"
- if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
- eselect opengl set "${impl}"
- fi
-
- # info about removal of .la file
- elog "eselect-opengl strips the libGL.la file."
- elog "This file was broken by design and thus removed."
- elog "For fixing all sort of configure issues please run:"
- elog " lafilefixer --justfixit"
- elog "or run revdep-rebuild."
- elog "(lafilefixer package can be found as dev-util/lafilefixer)"
-}
-
-src_install() {
- insinto /usr/share/eselect/modules
- doins opengl.eselect
-
- # Install default glext.h
- insinto "/usr/$(get_libdir)/opengl/global/include"
- cd "${WORKDIR}"
- newins glext.h.${GLEXT} glext.h || die
- newins glxext.h.${GLXEXT} glxext.h || die
-}
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.1.0.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.1.0.ebuild
new file mode 100644
index 000000000000..c5a166fd1dd2
--- /dev/null
+++ b/app-admin/eselect-opengl/eselect-opengl-1.1.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2009 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.1.0.ebuild,v 1.1 2009/11/07 21:57:07 scarabeus Exp $
+
+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="56"
+GLXEXT="25"
+
+MIRROR="http://dev.gentooexperimental.org/~scarabeus/"
+SRC_URI="${MIRROR}/glext.h.${GLEXT}.bz2
+ ${MIRROR}/glxext.h.${GLXEXT}.bz2
+ ${MIRROR}/${P}.tar.bz2"
+
+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/bzip2"
+RDEPEND=">=app-admin/eselect-1.2.4"
+
+pkg_postinst() {
+ local impl="$(eselect opengl show)"
+ if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then
+ eselect opengl set "${impl}"
+ fi
+
+ # info about removal of .la file
+ einfo
+ elog "eselect-opengl since version 1.0.9 strips the libGL.la file."
+ elog "This file was broken by design and thus removed."
+ elog "For fixing all sort of configure issues please run:"
+ elog " lafilefixer --justfixit"
+ elog "or run revdep-rebuild if you update from any older release."
+ elog "(lafilefixer package can be found as dev-util/lafilefixer)"
+}
+
+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
+}