diff options
author | Donnie Berkholz <spyderous@gentoo.org> | 2006-05-13 09:28:12 +0000 |
---|---|---|
committer | Donnie Berkholz <spyderous@gentoo.org> | 2006-05-13 09:28:12 +0000 |
commit | 113d8c7b9ec79f04413ffd40609f70b14e49b657 (patch) | |
tree | 8acf8f0b8db6bc5c23139dd434c123f7da3fa888 /x11-proto/glproto | |
parent | Bump to 7.1RC3. (diff) | |
download | gentoo-2-113d8c7b9ec79f04413ffd40609f70b14e49b657.tar.gz gentoo-2-113d8c7b9ec79f04413ffd40609f70b14e49b657.tar.bz2 gentoo-2-113d8c7b9ec79f04413ffd40609f70b14e49b657.zip |
Bump for final EXT_tfp tokens.
(Portage version: 2.1_pre10-r5)
Diffstat (limited to 'x11-proto/glproto')
-rw-r--r-- | x11-proto/glproto/ChangeLog | 8 | ||||
-rw-r--r-- | x11-proto/glproto/files/digest-glproto-1.4.7 | 3 | ||||
-rw-r--r-- | x11-proto/glproto/glproto-1.4.7.ebuild | 50 |
3 files changed, 60 insertions, 1 deletions
diff --git a/x11-proto/glproto/ChangeLog b/x11-proto/glproto/ChangeLog index 041cb9bebc9c..83b3fdb43cf9 100644 --- a/x11-proto/glproto/ChangeLog +++ b/x11-proto/glproto/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-proto/glproto # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.27 2006/03/31 20:00:17 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.28 2006/05/13 09:28:11 spyderous Exp $ + +*glproto-1.4.7 (13 May 2006) + + 13 May 2006; Donnie Berkholz <spyderous@gentoo.org>; + +glproto-1.4.7.ebuild: + Bump for final EXT_tfp tokens. 31 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> glproto-1.4.6.ebuild: Add ~x86-fbsd keyword. diff --git a/x11-proto/glproto/files/digest-glproto-1.4.7 b/x11-proto/glproto/files/digest-glproto-1.4.7 new file mode 100644 index 000000000000..714a78e21fa0 --- /dev/null +++ b/x11-proto/glproto/files/digest-glproto-1.4.7 @@ -0,0 +1,3 @@ +MD5 e4b1c5a323149d97f29434e5ace921c8 glproto-1.4.7.tar.bz2 54080 +RMD160 0cd55780f03b8bec2072881f6dbaf2644b7f6945 glproto-1.4.7.tar.bz2 54080 +SHA256 39ce6bc471d7e6276e4941450489ba81c851419a950c29868ae4909dcf329cf8 glproto-1.4.7.tar.bz2 54080 diff --git a/x11-proto/glproto/glproto-1.4.7.ebuild b/x11-proto/glproto/glproto-1.4.7.ebuild new file mode 100644 index 000000000000..3f92ff2ccab3 --- /dev/null +++ b/x11-proto/glproto/glproto-1.4.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4.7.ebuild,v 1.1 2006/05/13 09:28:12 spyderous 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="" +DEPEND="${RDEPEND} + app-admin/eselect-opengl" + +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} -o -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} +} |