From: | "Luca Barbato (lu_zero)" <lu_zero@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/eselect-opengl: eselect-opengl-1.2.5.ebuild ChangeLog |
Date: | Fri, 02 Mar 2012 16:10:42 |
Message-Id: | 20120302161031.9E9F62004B@flycatcher.gentoo.org |
1 | lu_zero 12/03/02 16:10:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: eselect-opengl-1.2.5.ebuild |
5 | Log: |
6 | Support GLES as well, fix bug #406501 |
7 | |
8 | (Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.91 app-admin/eselect-opengl/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?rev=1.91&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?rev=1.91&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?r1=1.90&r2=1.91 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v |
20 | retrieving revision 1.90 |
21 | retrieving revision 1.91 |
22 | diff -u -r1.90 -r1.91 |
23 | --- ChangeLog 3 Oct 2011 17:45:54 -0000 1.90 |
24 | +++ ChangeLog 2 Mar 2012 16:10:31 -0000 1.91 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-admin/eselect-opengl |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.90 2011/10/03 17:45:54 josejx Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.91 2012/03/02 16:10:31 lu_zero Exp $ |
31 | + |
32 | +*eselect-opengl-1.2.5 (02 Mar 2012) |
33 | + |
34 | + 02 Mar 2012; Luca Barbato <lu_zero@g.o> +eselect-opengl-1.2.5.ebuild: |
35 | + Support GLES as well, fix bug #406501 |
36 | |
37 | 03 Oct 2011; Joseph Jezak <josejx@g.o> eselect-opengl-1.2.4.ebuild: |
38 | Marked ppc/ppc64 stable for bug #380421. |
39 | |
40 | |
41 | |
42 | 1.1 app-admin/eselect-opengl/eselect-opengl-1.2.5.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.2.5.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.2.5.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: eselect-opengl-1.2.5.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.2.5.ebuild,v 1.1 2012/03/02 16:10:31 lu_zero Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | inherit multilib |
56 | |
57 | DESCRIPTION="Utility to change the OpenGL interface being used" |
58 | HOMEPAGE="http://www.gentoo.org/" |
59 | |
60 | # Source: |
61 | # http://www.opengl.org/registry/api/glext.h |
62 | # http://www.opengl.org/registry/api/glxext.h |
63 | GLEXT="67" |
64 | GLXEXT="32" |
65 | |
66 | MIRROR="http://dev.gentooexperimental.org/~scarabeus/" |
67 | SRC_URI="${MIRROR}/glext.h.${GLEXT}.xz |
68 | ${MIRROR}/glxext.h.${GLXEXT}.xz |
69 | http://dev.gentoo.org/~lu_zero/distfiles/${P}.tar.xz" |
70 | |
71 | LICENSE="GPL-2" |
72 | SLOT="0" |
73 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
74 | IUSE="" |
75 | |
76 | DEPEND="app-arch/xz-utils" |
77 | RDEPEND=">=app-admin/eselect-1.2.4" |
78 | |
79 | pkg_postinst() { |
80 | local impl="$(eselect opengl show)" |
81 | if [[ -n "${impl}" && "${impl}" != '(none)' ]] ; then |
82 | eselect opengl set "${impl}" |
83 | fi |
84 | } |
85 | |
86 | src_install() { |
87 | insinto "/usr/share/eselect/modules" |
88 | doins opengl.eselect |
89 | doman opengl.eselect.5 |
90 | |
91 | # Install global glext.h and glxext.h |
92 | insinto "/usr/$(get_libdir)/opengl/global/include" |
93 | cd "${WORKDIR}" |
94 | newins glext.h.${GLEXT} glext.h |
95 | newins glxext.h.${GLXEXT} glxext.h |
96 | } |