diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2007-12-18 16:53:23 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2007-12-18 16:53:23 +0000 |
commit | 06c3c1ddfa442f68c3f9028dcddefe74698422be (patch) | |
tree | 05966df01cb91e867a440ad3e9f18568fdf4ad3b | |
parent | Updated emacs support and removed old versions (fixes bug #194543). (diff) | |
download | gentoo-2-06c3c1ddfa442f68c3f9028dcddefe74698422be.tar.gz gentoo-2-06c3c1ddfa442f68c3f9028dcddefe74698422be.tar.bz2 gentoo-2-06c3c1ddfa442f68c3f9028dcddefe74698422be.zip |
Bumped versions of glxext.h and glext.h. Closes bug #201048
(Portage version: 2.1.4_rc9)
-rw-r--r-- | app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild | 82 | ||||
-rw-r--r-- | app-admin/eselect-opengl/files/digest-eselect-opengl-1.0.6-r1 | 9 |
2 files changed, 91 insertions, 0 deletions
diff --git a/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild b/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild new file mode 100644 index 000000000000..6127b8a3e937 --- /dev/null +++ b/app-admin/eselect-opengl/eselect-opengl-1.0.6-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/12/18 16:53:22 eradicator 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="39" +GLXEXT="19" + +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" +# -* 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.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}" ]] ; 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/files/digest-eselect-opengl-1.0.6-r1 b/app-admin/eselect-opengl/files/digest-eselect-opengl-1.0.6-r1 new file mode 100644 index 000000000000..b06728b52ad6 --- /dev/null +++ b/app-admin/eselect-opengl/files/digest-eselect-opengl-1.0.6-r1 @@ -0,0 +1,9 @@ +MD5 1b6cabd4ee6271b72586e14a4566cbd4 glext.h-39.bz2 36955 +RMD160 0b2c571fa8c5ebaeac82637164556bcda0b9af04 glext.h-39.bz2 36955 +SHA256 d11cbde20bb0ff44ff11e0045c92039721487d9a1bc85c2b4f3ee9a76e662eb1 glext.h-39.bz2 36955 +MD5 fcaedf0982135ada0e83378ad4725898 glxext.h-19.bz2 6234 +RMD160 fdeac6930b4fd70d88fe44f56a029cc466673aaf glxext.h-19.bz2 6234 +SHA256 00a15ec18e586335c3d045b42efe419c5c5383855b2ce4036a1cac3acef21fab glxext.h-19.bz2 6234 +MD5 ce0c5e10283e8836c99299f496e56acb opengl.eselect-1.0.6.bz2 3295 +RMD160 79ab635aeae9001cb4427db6532b17284b36d95e opengl.eselect-1.0.6.bz2 3295 +SHA256 50dfb50b9a4479524f34bcf0d421ec216dbab2c50def31fe208c186efe3d1b31 opengl.eselect-1.0.6.bz2 3295 |