public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Heidelberger" <d.okias@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-proto/glproto/
Date: Tue, 10 Dec 2013 19:38:40 +0000 (UTC)	[thread overview]
Message-ID: <1386704333.911b16114aeef6b3f452bba4f2f605c6b8325ced.okias@gentoo> (raw)

commit:     911b16114aeef6b3f452bba4f2f605c6b8325ced
Author:     David Heidelberger <david.heidelberger <AT> ixit <DOT> cz>
AuthorDate: Tue Dec 10 19:38:53 2013 +0000
Commit:     David Heidelberger <d.okias <AT> gmail <DOT> com>
CommitDate: Tue Dec 10 19:38:53 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=911b1611

x11-proto/glproto: bump 1.4.17

---
 x11-proto/glproto/glproto-1.4.17.ebuild | 41 +++++++++++++++++++++++++++++++++
 x11-proto/glproto/metadata.xml          |  5 ++++
 2 files changed, 46 insertions(+)

diff --git a/x11-proto/glproto/glproto-1.4.17.ebuild b/x11-proto/glproto/glproto-1.4.17.ebuild
new file mode 100644
index 0000000..c7d40b9
--- /dev/null
+++ b/x11-proto/glproto/glproto-1.4.17.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+XORG_MULTILIB=yes
+inherit xorg-2
+
+DESCRIPTION="X.Org GL protocol headers"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-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-1.2.6"
+DEPEND=""
+
+src_install() {
+	xorg-2_src_install
+	dynamic_libgl_install
+}
+
+pkg_postinst() {
+	xorg-2_pkg_postinst
+	eselect opengl set --ignore-missing --use-old xorg-x11
+}
+
+dynamic_libgl_install() {
+	# next section is to setup the dynamic libGL stuff
+	ebegin "Moving GL files for dynamic switching"
+		local gldir=/usr/$(get_libdir)/opengl/xorg-x11/include/GL
+		dodir ${gldir}
+		local x=""
+		# glext.h added for #54984
+		for x in "${ED}"/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}; do
+			if [[ -f ${x} || -L ${x} ]]; then
+				mv -f "${x}" "${ED}"${gldir}
+			fi
+		done
+	eend 0
+}

diff --git a/x11-proto/glproto/metadata.xml b/x11-proto/glproto/metadata.xml
new file mode 100644
index 0000000..01c4c00
--- /dev/null
+++ b/x11-proto/glproto/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+</pkgmetadata>


             reply	other threads:[~2013-12-10 19:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-10 19:38 David Heidelberger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-12-10 19:19 [gentoo-commits] proj/x11:master commit in: x11-proto/glproto/ Chi-Thanh Christopher Nguyen
2012-06-12 18:00 Chi-Thanh Christopher Nguyen
2011-07-14  8:18 Chi-Thanh Christopher Nguyen
2011-07-09  0:18 Chi-Thanh Christopher Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1386704333.911b16114aeef6b3f452bba4f2f605c6b8325ced.okias@gentoo \
    --to=d.okias@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox