Gentoo Archives: gentoo-commits

From: "Luca Barbato (lu_zero)" <lu_zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-proto/glproto: ChangeLog glproto-1.4.15-r1.ebuild
Date: Tue, 05 Jun 2012 11:48:40
Message-Id: 20120605114830.BDB322004B@flycatcher.gentoo.org
1 lu_zero 12/06/05 11:48:30
2
3 Modified: ChangeLog
4 Added: glproto-1.4.15-r1.ebuild
5 Log:
6 New layout in eselect-opengl due multiple gles implementations support
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.96 x11-proto/glproto/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/ChangeLog?rev=1.96&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/ChangeLog?rev=1.96&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/ChangeLog?r1=1.95&r2=1.96
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v
20 retrieving revision 1.95
21 retrieving revision 1.96
22 diff -u -r1.95 -r1.96
23 --- ChangeLog 10 May 2012 17:57:10 -0000 1.95
24 +++ ChangeLog 5 Jun 2012 11:48:30 -0000 1.96
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-proto/glproto
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.95 2012/05/10 17:57:10 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.96 2012/06/05 11:48:30 lu_zero Exp $
30 +
31 +*glproto-1.4.15-r1 (05 Jun 2012)
32 +
33 + 05 Jun 2012; Luca Barbato <lu_zero@g.o> +glproto-1.4.15-r1.ebuild:
34 + New layout in eselect-opengl due multiple gles implementations support
35
36 10 May 2012; Alexis Ballier <aballier@g.o> glproto-1.4.15.ebuild:
37 keyword ~amd64-fbsd
38
39
40
41 1.1 x11-proto/glproto/glproto-1.4.15-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/glproto-1.4.15-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/glproto-1.4.15-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: glproto-1.4.15-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4.15-r1.ebuild,v 1.1 2012/06/05 11:48:30 lu_zero Exp $
51
52 EAPI=4
53 inherit xorg-2
54 DESCRIPTION="X.Org GL protocol headers"
55 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
56 LICENSE="SGI-B-2.0"
57 IUSE=""
58
59 RDEPEND=">=app-admin/eselect-opengl-1.2.6"
60 DEPEND=""
61
62 src_install() {
63 xorg-2_src_install
64 dynamic_libgl_install
65 }
66
67 pkg_postinst() {
68 xorg-2_pkg_postinst
69 eselect opengl set --ignore-missing --use-old xorg-x11
70 }
71
72 dynamic_libgl_install() {
73 # next section is to setup the dynamic libGL stuff
74 ebegin "Moving GL files for dynamic switching"
75 local gldir=/usr/$(get_libdir)/opengl/xorg-x11/include/GL
76 dodir ${gldir}
77 local x=""
78 # glext.h added for #54984
79 for x in "${ED}"/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}; do
80 if [[ -f ${x} || -L ${x} ]]; then
81 mv -f "${x}" "${ED}"${gldir}
82 fi
83 done
84 eend 0
85 }