Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-proto/glproto: ChangeLog glproto-1.4.15.ebuild
Date: Tue, 31 Jan 2012 21:30:21
Message-Id: 20120131213005.4BDFD2004B@flycatcher.gentoo.org
1 chithanh 12/01/31 21:30:05
2
3 Modified: ChangeLog
4 Added: glproto-1.4.15.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.93 x11-proto/glproto/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/ChangeLog?rev=1.93&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/ChangeLog?rev=1.93&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/ChangeLog?r1=1.92&r2=1.93
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v
20 retrieving revision 1.92
21 retrieving revision 1.93
22 diff -u -r1.92 -r1.93
23 --- ChangeLog 3 Oct 2011 18:08:39 -0000 1.92
24 +++ ChangeLog 31 Jan 2012 21:30:05 -0000 1.93
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-proto/glproto
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.92 2011/10/03 18:08:39 josejx Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/ChangeLog,v 1.93 2012/01/31 21:30:05 chithanh Exp $
31 +
32 +*glproto-1.4.15 (31 Jan 2012)
33 +
34 + 31 Jan 2012; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
35 + +glproto-1.4.15.ebuild:
36 + Version bump.
37
38 03 Oct 2011; Joseph Jezak <josejx@g.o> glproto-1.4.14-r1.ebuild:
39 Marked ppc ppc64 stable for bug #380421.
40
41
42
43 1.1 x11-proto/glproto/glproto-1.4.15.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/glproto-1.4.15.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-proto/glproto/glproto-1.4.15.ebuild?rev=1.1&content-type=text/plain
47
48 Index: glproto-1.4.15.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-proto/glproto/glproto-1.4.15.ebuild,v 1.1 2012/01/31 21:30:05 chithanh Exp $
53
54 EAPI=4
55 inherit xorg-2
56 DESCRIPTION="X.Org GL protocol headers"
57 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"
58 LICENSE="SGI-B-2.0"
59 IUSE=""
60
61 RDEPEND=">=app-admin/eselect-opengl-1.2.3"
62 DEPEND=""
63
64 src_install() {
65 xorg-2_src_install
66 dynamic_libgl_install
67 }
68
69 pkg_postinst() {
70 xorg-2_pkg_postinst
71 eselect opengl set --ignore-missing --use-old xorg-x11
72 }
73
74 dynamic_libgl_install() {
75 # next section is to setup the dynamic libGL stuff
76 ebegin "Moving GL files for dynamic switching"
77 dodir /usr/$(get_libdir)/opengl/xorg-x11/include
78 local x=""
79 # glext.h added for #54984
80 for x in "${ED}"/usr/include/GL/{glxtokens.h,glxmd.h,glxproto.h}; do
81 if [[ -f ${x} || -L ${x} ]]; then
82 mv -f "${x}" "${ED}"/usr/$(get_libdir)/opengl/xorg-x11/include
83 fi
84 done
85 eend 0
86 }