Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-dev:uclibc commit in: media-libs/mesa/
Date: Sat, 25 May 2013 09:29:59
Message-Id: 1369474177.e6b15fe86a97ea797786d6e2cca748f93094a362.blueness@gentoo
1 commit: e6b15fe86a97ea797786d6e2cca748f93094a362
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 25 09:29:37 2013 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sat May 25 09:29:37 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=commit;h=e6b15fe8
7
8 media-libs/mesa: bumpt to 9.1.2
9
10 Package-Manager: portage-2.1.11.62
11 RepoMan-Options: --force
12
13 ---
14 ...mesa-9.0.1-r99.ebuild => mesa-9.1.2-r99.ebuild} | 64 +++++++++-----------
15 1 files changed, 28 insertions(+), 36 deletions(-)
16
17 diff --git a/media-libs/mesa/mesa-9.0.1-r99.ebuild b/media-libs/mesa/mesa-9.1.2-r99.ebuild
18 similarity index 89%
19 rename from media-libs/mesa/mesa-9.0.1-r99.ebuild
20 rename to media-libs/mesa/mesa-9.1.2-r99.ebuild
21 index 1e66d7d..6855402 100644
22 --- a/media-libs/mesa/mesa-9.0.1-r99.ebuild
23 +++ b/media-libs/mesa/mesa-9.1.2-r99.ebuild
24 @@ -1,8 +1,8 @@
25 -# Copyright 1999-2012 Gentoo Foundation
26 +# Copyright 1999-2013 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-9.0.1.ebuild,v 1.1 2012/11/19 03:52:34 chithanh Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/mesa/mesa-9.1.2-r1.ebuild,v 1.5 2013/05/23 17:40:12 ago Exp $
30
31 -EAPI=4
32 +EAPI=5
33
34 EGIT_REPO_URI="git://anongit.freedesktop.org/mesa/mesa"
35
36 @@ -11,20 +11,22 @@ if [[ ${PV} = 9999* ]]; then
37 EXPERIMENTAL="true"
38 fi
39
40 -inherit base autotools multilib flag-o-matic toolchain-funcs ${GIT_ECLASS}
41 +PYTHON_COMPAT=( python{2_6,2_7} )
42 +
43 +inherit base autotools multilib flag-o-matic python-single-r1 toolchain-funcs ${GIT_ECLASS}
44
45 OPENGL_DIR="xorg-x11"
46
47 MY_PN="${PN/m/M}"
48 -MY_P="${MY_PN}-${PV/_/-}"
49 -MY_SRC_P="${MY_PN}Lib-${PV/_/-}"
50 +MY_P="${MY_PN}-${PV/_rc/-rc}"
51 +MY_SRC_P="${MY_PN}Lib-${PV/_rc/-rc}"
52
53 FOLDER="${PV/_rc*/}"
54
55 DESCRIPTION="OpenGL-like graphic library for Linux"
56 HOMEPAGE="http://mesa3d.sourceforge.net/"
57
58 -#SRC_PATCHES="mirror://gentoo/${P}-gentoo-patches-01.tar.bz2"
59 +SRC_PATCHES="mirror://gentoo/${PN}-9.1-gentoo-patches-05.tar.bz2"
60 if [[ $PV = 9999* ]]; then
61 SRC_URI="${SRC_PATCHES}"
62 else
63 @@ -46,21 +48,19 @@ for card in ${VIDEO_CARDS}; do
64 done
65
66 IUSE="${IUSE_VIDEO_CARDS}
67 - bindist +classic debug +egl g3dvl +gallium gbm gles1 gles2 +llvm +nptl
68 + bindist +classic debug +egl +gallium gbm gles1 gles2 +llvm +nptl
69 openvg osmesa pax_kernel pic r600-llvm-compiler selinux +shared-glapi vdpau
70 wayland xvmc xa xorg kernel_FreeBSD"
71
72 REQUIRED_USE="
73 - g3dvl? ( gallium )
74 llvm? ( gallium )
75 openvg? ( egl gallium )
76 gbm? ( shared-glapi )
77 - g3dvl? ( || ( vdpau xvmc ) )
78 - vdpau? ( g3dvl )
79 + gles1? ( egl )
80 + gles2? ( egl )
81 r600-llvm-compiler? ( gallium llvm || ( video_cards_r600 video_cards_radeon ) )
82 xa? ( gallium )
83 xorg? ( gallium )
84 - xvmc? ( g3dvl )
85 video_cards_intel? ( || ( classic gallium ) )
86 video_cards_i915? ( || ( classic gallium ) )
87 video_cards_i965? ( classic )
88 @@ -74,29 +74,26 @@ REQUIRED_USE="
89 video_cards_vmware? ( gallium )
90 "
91
92 -LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.39"
93 +LIBDRM_DEPSTRING=">=x11-libs/libdrm-2.4.42"
94 # keep correct libdrm and dri2proto dep
95 # keep blocks in rdepend for binpkg
96 -# gtest file collision bug #411825
97 -RDEPEND="!<x11-base/xorg-server-1.7
98 +RDEPEND="
99 + !<x11-base/xorg-server-1.7
100 !<=x11-proto/xf86driproto-2.0.3
101 classic? ( app-admin/eselect-mesa )
102 gallium? ( app-admin/eselect-mesa )
103 - >=app-admin/eselect-opengl-1.2.6
104 + >=app-admin/eselect-opengl-1.2.7
105 dev-libs/expat
106 - gbm? (
107 - virtual/udev
108 - x11-libs/libdrm[libkms]
109 - )
110 + gbm? ( virtual/udev )
111 >=x11-libs/libX11-1.3.99.901
112 x11-libs/libXdamage
113 x11-libs/libXext
114 x11-libs/libXxf86vm
115 >=x11-libs/libxcb-1.8.1
116 vdpau? ( >=x11-libs/libvdpau-0.4.1 )
117 - wayland? ( dev-libs/wayland )
118 + wayland? ( >=dev-libs/wayland-1.0.3 )
119 xorg? (
120 - x11-base/xorg-server
121 + x11-base/xorg-server:=[-minimal]
122 x11-libs/libdrm[libkms]
123 )
124 xvmc? ( >=x11-libs/libXvMC-1.0.6 )
125 @@ -117,15 +114,14 @@ done
126 DEPEND="${RDEPEND}
127 llvm? (
128 >=sys-devel/llvm-2.9
129 - r600-llvm-compiler? ( >=sys-devel/llvm-3.1 )
130 - video_cards_radeonsi? ( >=sys-devel/llvm-3.1 )
131 + r600-llvm-compiler? ( sys-devel/llvm[video_cards_radeon] )
132 + video_cards_radeonsi? ( sys-devel/llvm[video_cards_radeon] )
133 )
134 - =dev-lang/python-2*
135 - dev-libs/libxml2[python]
136 + ${PYTHON_DEPS}
137 + dev-libs/libxml2[python,${PYTHON_USEDEP}]
138 sys-devel/bison
139 sys-devel/flex
140 virtual/pkgconfig
141 - x11-misc/makedepend
142 >=x11-proto/dri2proto-2.6
143 >=x11-proto/glproto-1.4.15-r1
144 >=x11-proto/xextproto-7.0.99.1
145 @@ -145,13 +141,13 @@ QA_WX_LOAD="usr/lib*/opengl/xorg-x11/lib/libGL.so*"
146 pkg_setup() {
147 # workaround toc-issue wrt #386545
148 use ppc64 && append-flags -mminimal-toc
149 +
150 + python-single-r1_pkg_setup
151 }
152
153 src_unpack() {
154 default
155 - if [[ ${PV} = 9999* ]]; then
156 - git-2_src_unpack
157 - fi
158 + [[ $PV = 9999* ]] && git-2_src_unpack
159 }
160
161 src_prepare() {
162 @@ -221,7 +217,6 @@ src_configure() {
163
164 if use gallium; then
165 myconf+="
166 - $(use_enable g3dvl gallium-g3dvl)
167 $(use_enable llvm gallium-llvm)
168 $(use_enable openvg)
169 $(use_enable r600-llvm-compiler)
170 @@ -252,6 +247,7 @@ src_configure() {
171 "
172 fi
173
174 + # build fails with BSD indent, bug #428112
175 use userland_GNU || export INDENT=cat
176
177 econf \
178 @@ -271,6 +267,7 @@ src_configure() {
179 $(use_enable xorg) \
180 --with-dri-drivers=${DRI_DRIVERS} \
181 --with-gallium-drivers=${GALLIUM_DRIVERS} \
182 + PYTHON2="${PYTHON}" \
183 ${myconf}
184 }
185
186 @@ -283,11 +280,6 @@ src_install() {
187 dodoc docs/patents.txt
188 fi
189
190 - # Save the glsl-compiler for later use
191 - if ! tc-is-cross-compiler; then
192 - dobin "${S}"/src/glsl/glsl_compiler
193 - fi
194 -
195 # Install config file for eselect mesa
196 insinto /usr/share/mesa
197 newins "${FILESDIR}/eselect-mesa.conf.8.1" eselect-mesa.conf