summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-proto')
-rw-r--r--x11-proto/glproto/ChangeLog8
-rw-r--r--x11-proto/glproto/glproto-1.4.14.ebuild37
2 files changed, 44 insertions, 1 deletions
diff --git a/x11-proto/glproto/ChangeLog b/x11-proto/glproto/ChangeLog
index 2894c0018eb4..147654904d5d 100644
--- a/x11-proto/glproto/ChangeLog
+++ b/x11-proto/glproto/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-proto/glproto
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.83 2011/02/14 14:34:03 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.84 2011/07/01 23:56:02 chithanh Exp $
+
+*glproto-1.4.14 (01 Jul 2011)
+
+ 01 Jul 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+ +glproto-1.4.14.ebuild:
+ Version bump.
14 Feb 2011; Kacper Kowalik <xarthisius@gentoo.org> glproto-1.4.12.ebuild:
ppc stable wrt #344827, #354237
diff --git a/x11-proto/glproto/glproto-1.4.14.ebuild b/x11-proto/glproto/glproto-1.4.14.ebuild
new file mode 100644
index 000000000000..a8576b5041e5
--- /dev/null
+++ b/x11-proto/glproto/glproto-1.4.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4.14.ebuild,v 1.1 2011/07/01 23:56:02 chithanh Exp $
+
+EAPI=4
+inherit xorg-2
+DESCRIPTION="X.Org GL protocol headers"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
+LICENSE="SGI-B-2.0"
+IUSE=""
+
+RDEPEND="app-admin/eselect-opengl"
+DEPEND=""
+
+src_install() {
+ xorg-2_src_install
+ dynamic_libgl_install
+}
+
+pkg_postinst() {
+ xorg-2_pkg_postinst
+ eselect opengl set --use-old xorg-x11
+}
+
+dynamic_libgl_install() {
+ # next section is to setup the dynamic libGL stuff
+ ebegin "Moving GL files for dynamic switching"
+ dodir /usr/$(get_libdir)/opengl/xorg-x11/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/xorg-x11/include
+ fi
+ done
+ eend 0
+}