diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2007-11-07 08:32:35 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2007-11-07 08:32:35 +0000 |
commit | 7eb1bb0cea375a410fa4db2906ba7d304a95ea78 (patch) | |
tree | dd81ff4f25ed1438030e1de092e80fc1e9eb6301 /x11-proto | |
parent | Bump. Adds that variable everyone's been clamoring for to stop apps from dyin... (diff) | |
download | gentoo-2-7eb1bb0cea375a410fa4db2906ba7d304a95ea78.tar.gz gentoo-2-7eb1bb0cea375a410fa4db2906ba7d304a95ea78.tar.bz2 gentoo-2-7eb1bb0cea375a410fa4db2906ba7d304a95ea78.zip |
(#197569) Bump.
(Portage version: 2.1.3.17)
Diffstat (limited to 'x11-proto')
-rw-r--r-- | x11-proto/glproto/ChangeLog | 8 | ||||
-rw-r--r-- | x11-proto/glproto/files/digest-glproto-1.4.9 | 3 | ||||
-rw-r--r-- | x11-proto/glproto/glproto-1.4.9.ebuild | 51 |
3 files changed, 61 insertions, 1 deletions
diff --git a/x11-proto/glproto/ChangeLog b/x11-proto/glproto/ChangeLog index 2b2364393ac8..33de608638ca 100644 --- a/x11-proto/glproto/ChangeLog +++ b/x11-proto/glproto/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-proto/glproto # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.45 2007/10/09 09:43:08 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.46 2007/11/07 08:32:34 dberkholz Exp $ + +*glproto-1.4.9 (07 Nov 2007) + + 07 Nov 2007; Donnie Berkholz <dberkholz@gentoo.org>; + +glproto-1.4.9.ebuild: + (#197569) Bump. 09 Oct 2007; Donnie Berkholz <dberkholz@gentoo.org>; -glproto-1.4.7.ebuild: diff --git a/x11-proto/glproto/files/digest-glproto-1.4.9 b/x11-proto/glproto/files/digest-glproto-1.4.9 new file mode 100644 index 000000000000..8c3570042a90 --- /dev/null +++ b/x11-proto/glproto/files/digest-glproto-1.4.9 @@ -0,0 +1,3 @@ +MD5 e60951628422663e60faeb400f27bac1 glproto-1.4.9.tar.bz2 57658 +RMD160 54c08968532bccfbd666eafc2cb4132432096d10 glproto-1.4.9.tar.bz2 57658 +SHA256 69d7fb7be4f0f56bd3a67b6c8c88dc677892eb99fd1b13e166b43b39d64764a3 glproto-1.4.9.tar.bz2 57658 diff --git a/x11-proto/glproto/glproto-1.4.9.ebuild b/x11-proto/glproto/glproto-1.4.9.ebuild new file mode 100644 index 000000000000..2500765ed3c6 --- /dev/null +++ b/x11-proto/glproto/glproto-1.4.9.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4.9.ebuild,v 1.1 2007/11/07 08:32:34 dberkholz Exp $ + +# Must be before x-modular eclass is inherited +#SNAPSHOT="yes" + +inherit x-modular + +OPENGL_DIR="xorg-x11" + +DESCRIPTION="X.Org GL protocol headers" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" + +RDEPEND="app-admin/eselect-opengl" +DEPEND="" + +src_install() { + x-modular_src_install + + dynamic_libgl_install +} + +pkg_postinst() { + x-modular_pkg_postinst + + switch_opengl_implem +} + +dynamic_libgl_install() { + # next section is to setup the dynamic libGL stuff + ebegin "Moving GL files for dynamic switching" + dodir /usr/$(get_libdir)/opengl/${OPENGL_DIR}/include + local x="" + # glext.h added for #54984 + for x in "${D}"/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}; do + if [[ -f ${x} || -L ${x} ]]; then + mv -f "${x}" "${D}"/usr/$(get_libdir)/opengl/${OPENGL_DIR}/include + fi + done + eend 0 +} + +switch_opengl_implem() { + # Switch to the xorg implementation. + # Use new opengl-update that will not reset user selected + # OpenGL interface ... + echo + eselect opengl set --use-old ${OPENGL_DIR} +} |