1 |
mgorny 15/02/27 22:00:03 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: eselect-opengl-1.3.1-r3.ebuild |
5 |
Log: |
6 |
Add a revbump that no longer complains about "Files" section but blocks the xorg-server versions not having the fix for it. |
7 |
|
8 |
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.140 app-admin/eselect-opengl/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?rev=1.140&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?rev=1.140&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/ChangeLog?r1=1.139&r2=1.140 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v |
20 |
retrieving revision 1.139 |
21 |
retrieving revision 1.140 |
22 |
diff -u -r1.139 -r1.140 |
23 |
--- ChangeLog 11 Feb 2015 10:55:10 -0000 1.139 |
24 |
+++ ChangeLog 27 Feb 2015 22:00:03 -0000 1.140 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-admin/eselect-opengl |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.139 2015/02/11 10:55:10 chithanh Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-opengl/ChangeLog,v 1.140 2015/02/27 22:00:03 mgorny Exp $ |
30 |
+ |
31 |
+*eselect-opengl-1.3.1-r3 (27 Feb 2015) |
32 |
+ |
33 |
+ 27 Feb 2015; Michał Górny <mgorny@g.o> +eselect-opengl-1.3.1-r3.ebuild: |
34 |
+ Add a revbump that no longer complains about "Files" section but blocks the |
35 |
+ xorg-server versions not having the fix for it. |
36 |
|
37 |
11 Feb 2015; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
38 |
eselect-opengl-1.2.7.ebuild, eselect-opengl-1.3.1-r2.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 app-admin/eselect-opengl/eselect-opengl-1.3.1-r3.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.1-r3.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/eselect-opengl/eselect-opengl-1.3.1-r3.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: eselect-opengl-1.3.1-r3.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2015 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.3.1-r3.ebuild,v 1.1 2015/02/27 22:00:03 mgorny Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
|
55 |
inherit eutils 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="85" |
64 |
GLXEXT="34" |
65 |
|
66 |
MIRROR="http://dev.gentoo.org/~mattst88/distfiles" |
67 |
SRC_URI="http://dev.gentoo.org/~mgorny/dist/opengl.eselect-${PV}.xz" |
68 |
# ${MIRROR}/${P}.tar.xz" |
69 |
|
70 |
LICENSE="GPL-2" |
71 |
SLOT="0" |
72 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
73 |
IUSE="" |
74 |
|
75 |
DEPEND="app-arch/xz-utils" |
76 |
RDEPEND=">=app-admin/eselect-1.2.4 |
77 |
!<media-libs/mesa-10.3.4-r1 |
78 |
!=media-libs/mesa-10.3.5 |
79 |
!=media-libs/mesa-10.3.7-r1 |
80 |
!<x11-proto/glproto-1.4.17-r1 |
81 |
!<x11-base/xorg-server-1.17.1-r1 |
82 |
!<x11-drivers/ati-drivers-14.9-r2 |
83 |
!=x11-drivers/ati-drivers-14.12 |
84 |
!<=app-emulation/emul-linux-x86-opengl-20140508" |
85 |
|
86 |
S=${WORKDIR} |
87 |
|
88 |
pkg_preinst() { |
89 |
# we may be moving the config file, so get it early |
90 |
OLD_IMPL=$(eselect opengl show) |
91 |
} |
92 |
|
93 |
pkg_postinst() { |
94 |
if path_exists "${EROOT}"/usr/lib*/opengl; then |
95 |
# delete broken symlinks |
96 |
find "${EROOT}"/usr/lib*/opengl -xtype l -delete |
97 |
# delete empty leftover directories (they confuse eselect) |
98 |
find "${EROOT}"/usr/lib*/opengl -depth -type d -empty -exec rmdir -v {} + |
99 |
fi |
100 |
|
101 |
if [[ -n "${OLD_IMPL}" && "${OLD_IMPL}" != '(none)' ]] ; then |
102 |
eselect opengl set "${OLD_IMPL}" |
103 |
fi |
104 |
if [[ -f ${EROOT}/etc/env.d/03opengl ]]; then |
105 |
# remove the old file, moved now |
106 |
rm -vf "${EROOT}"/etc/env.d/03opengl |
107 |
fi |
108 |
} |
109 |
|
110 |
src_prepare() { |
111 |
# don't die on Darwin users |
112 |
if [[ ${CHOST} == *-darwin* ]] ; then |
113 |
sed -i -e 's/libGL\.so/libGL.dylib/' opengl.eselect || die |
114 |
fi |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
insinto "/usr/share/eselect/modules" |
119 |
newins opengl.eselect-${PV} opengl.eselect |
120 |
# doman opengl.eselect.5 |
121 |
} |