Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libdrm/, x11-libs/libdrm/files/
Date: Mon, 31 Aug 2015 21:24:46
Message-Id: 1441056518.3254946b8176b9328d0b118ddfd65837939cfcdc.mattst88@gentoo
1 commit: 3254946b8176b9328d0b118ddfd65837939cfcdc
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 20:37:53 2015 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 21:28:38 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3254946b
7
8 x11-libs/libdrm: Drop old versions.
9
10 x11-libs/libdrm/Manifest | 9 --
11 x11-libs/libdrm/files/2.4.18-0001-datatypes.patch | 21 ----
12 x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch | 111 ----------------------
13 x11-libs/libdrm/libdrm-2.4.20-r1.ebuild | 48 ----------
14 x11-libs/libdrm/libdrm-2.4.33.ebuild | 55 -----------
15 x11-libs/libdrm/libdrm-2.4.46.ebuild | 57 -----------
16 x11-libs/libdrm/libdrm-2.4.52.ebuild | 60 ------------
17 x11-libs/libdrm/libdrm-2.4.53.ebuild | 60 ------------
18 x11-libs/libdrm/libdrm-2.4.54.ebuild | 60 ------------
19 x11-libs/libdrm/libdrm-2.4.56.ebuild | 57 -----------
20 x11-libs/libdrm/libdrm-2.4.58.ebuild | 57 -----------
21 x11-libs/libdrm/libdrm-2.4.59-r1.ebuild | 66 -------------
22 x11-libs/libdrm/libdrm-2.4.62.ebuild | 60 ------------
23 13 files changed, 721 deletions(-)
24
25 diff --git a/x11-libs/libdrm/Manifest b/x11-libs/libdrm/Manifest
26 index d0eb742..4d00686 100644
27 --- a/x11-libs/libdrm/Manifest
28 +++ b/x11-libs/libdrm/Manifest
29 @@ -1,11 +1,2 @@
30 -DIST libdrm-2.4.20.tar.bz2 400812 SHA256 24b5316839c1d459066eaee160132d45931462e301740a660932907350415cb9 SHA512 fa7a042a80b71057b7d15a36c7902e1882abb23dea77cabfa2e78590d9477d8e0259364f0e2eb6005b316254be2c728e295c114b1fe365074438539bc3dd9392 WHIRLPOOL 92a9fba9f64d0c988e8e6bcbdd1798583a420bc1287b4e85c1ca9a84c5fd3c95e5079dc111eee89811038832a5a90139780292d43554257465c99726b7f27661
31 -DIST libdrm-2.4.33.tar.bz2 446817 SHA256 2d7b9d94ada0e3a6ede6243509883df2ded01c2983e24322759a366283898fea SHA512 ac355bab87c87b8540218401f89ad16ece0e6fdd28d937e41e8a4765d7f9792798f7e74d27f3b57c49d1d8dd3909d6668e10b0139b1c35bbab5ab9002ff64c1e WHIRLPOOL 5ebeb22ef22f8fceba628768725bbfe54316f7dcf41ea2b454ba5a504aae65bb3e918269fffadd8a13975e79eeecf50274f2ffa24d6ef42a13e7e3874a5b9bf4
32 -DIST libdrm-2.4.46.tar.bz2 554190 SHA256 33cf320dad4e8060768714792e12643ddf6756a719d262ba7d60b39c2b2650f1 SHA512 9e1699e28b034b5dd7acccd76b9f4e83ff10bb2b62107282f1e02046c1d6e8f0b5abbab318f23967dc23d4d5afdeb3e78793384801da5cfeaba7567f837242c6 WHIRLPOOL 7c9bd1074cf1cab9cd8d5814d9b55d26cb0d6e9b4f0a959324ad0d6d20c185155ae1480b3be82603b83ca94b446518dca7994d21e5ee56cca76bcbfd39183539
33 -DIST libdrm-2.4.52.tar.bz2 551473 SHA256 fa693c2f1f61befcefbdcc396673e38481110bac9db610afa4b8afb2be0218c1 SHA512 1cbd8898504d2a093f010216070507f41134a3f3cc4b94998feec33da651ec493b92fbf0beb65fe1734528e75ac6e94bc982de6b5ee277435622f974b1badcc5 WHIRLPOOL 8f3c10180e1f524aa3a295ebc1fc977a5e13af834b78c19887ed5ddb8785302632ef8723bf4f1320cafebc5420e13610be64e8ff462451068e4032978f0ea9d6
34 -DIST libdrm-2.4.53.tar.bz2 579171 SHA256 1b0c28fd2f2b92d2df0a73d1aed88f43cb0dee1267aea6bc52ccb5fca5757a08 SHA512 5c4c16cbabf9b8f882503e645d1be11dbafa4d75b7e0536f824ca43f4a2a8f62a11c32b900c408862eade493f9eb56d92d323e1cc1945e2bacf05360ca2d4de3 WHIRLPOOL 6c3764c1347a6e3a455e847f6e3ecfa7b7b209e86039460071d40c2efb88f272ac62bfc64ebe98954bee6561fe9795bb6aaa2a3ca5d6efe01fb8a34fc56b58bb
35 -DIST libdrm-2.4.54.tar.bz2 644930 SHA256 d94001ebfbe80e1523d1228ee2df57294698d1c734fad9ccf53efde8932fe4e9 SHA512 61b38df8ed2a4522a28605eb63a6e5c4dca89c7b24c7863f1046da3d34dca823856210abe3ef7eb7e5804bbc34712dc6203e60134a9398da3ba01b8bd7fe9dc5 WHIRLPOOL 1394c24c030f034a4fea7afa5cc3c2eac2641c1bbaa3611ee56efaae7fdfff5c562c58ca076fb7963a79a95cc3aee446e862d1a358e4465229dc8a036793131d
36 -DIST libdrm-2.4.56.tar.bz2 590856 SHA256 e20fbbe092177a8422913d8884a1255477456ab5b10b07389fa891a4dce54030 SHA512 5ad28ddcfad666c207a7d7c6139140182bd96c0f2c6befafbb03a9f50aa40119366cc8750025626c7c2570416a6e9476ab5102b4075562b52cdca577ded5d64c WHIRLPOOL 5995bb10400bdfaba3db2aee929df63d5be773e30511c58c10bda7360598edba14a0cad45d9f3d783d8a37232d1ab7e07544eb982fc1bfb0172440a12136db19
37 -DIST libdrm-2.4.58.tar.bz2 573202 SHA256 b155fae6b9c9a3b02ef8b77f58c7c219194c996a4018dc55ba66c03996a365dd SHA512 26776b3f93fe173f4e0f94668813ec1a756d9f15385d1cad70c7af8d4d5d503aef00e14081c76f6fcac6e0c606e106e47ddf76038f8601b71fc380306536f937 WHIRLPOOL 36d8915b3189fd0722f96698ce5e7a94188859c7372631c4126b0e09e8fa6dbd4e34de5e9d62e053c36e9f431d84d68d327be307d69caf92e1016893e77cf190
38 DIST libdrm-2.4.59.tar.bz2 592722 SHA256 68d26e1fd85582f4243d66864f9b43ca4ee93662825de32b5506fc8e181ea41b SHA512 b9f61cfd47cf4a02c10e7fe79b0e9c5701383c76425cf4985a9b91d909f905334ca1ace7334aa0a4ab400694ad84a1a3bc1c3f29842d808026702b35fa9f87c3 WHIRLPOOL 6b0e1be70164db86152503e4b72373736f0462ff97ffac2c79a6c1fce83d658e6030d5435be5a61c1f6ca50728db4c7e3a5d8f5e48073fc74169696ff1b7c5be
39 -DIST libdrm-2.4.62.tar.bz2 637472 SHA256 906c294bdbe1c94c3ca084305d61a6e5a8367f3b4986e6cc13b1e9b3f75931dc SHA512 f7e2ef79c80dd0c3a837970052b7e66110e9b99d3e87b3cd278646bb4cb39832a9562144016a7e956a85212d9251b191279f5ba25d7e8bc0bfbfc1a311df3873 WHIRLPOOL e9ca493f01598bcb7e5664c531e48e74570a7ee0c754794ed2247314123821509448d62290b594073389ff545a019e24305d365ba7435f933665cc57d85385dc
40 DIST libdrm-2.4.64.tar.bz2 640440 SHA256 b60786fe7d6e42adb3966ce1a658f63fec528d537396381cbda93bcc99a934b6 SHA512 f4fae23b981c761622b6170ae1f5bc805fc9fe2c5f3531dd45b3e3fcb65c4c4f08d39744c30e2d7f9c14ce6f13dac4a655c0b0ca9785965c59917a4e594e507b WHIRLPOOL 49a96a5d2795f2a9c9fca5cc5808cbfa5e06717d7f4b8221cee55288e16cee503a109321aea04680900fb0bc80e56482a6c8cd15e887eee3d327f0af52706fac
41
42 diff --git a/x11-libs/libdrm/files/2.4.18-0001-datatypes.patch b/x11-libs/libdrm/files/2.4.18-0001-datatypes.patch
43 deleted file mode 100644
44 index 6a1bfaf..0000000
45 --- a/x11-libs/libdrm/files/2.4.18-0001-datatypes.patch
46 +++ /dev/null
47 @@ -1,21 +0,0 @@
48 -diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h
49 -index dfc390e..49b3b54 100644
50 ---- a/include/drm/drm_mode.h
51 -+++ b/include/drm/drm_mode.h
52 -@@ -308,11 +308,11 @@ struct drm_mode_crtc_lut {
53 - #define DRM_MODE_PAGE_FLIP_FLAGS DRM_MODE_PAGE_FLIP_EVENT
54 -
55 - struct drm_mode_crtc_page_flip {
56 -- uint32_t crtc_id;
57 -- uint32_t fb_id;
58 -- uint32_t flags;
59 -- uint32_t reserved;
60 -- uint64_t user_data;
61 -+ __u32 crtc_id;
62 -+ __u32 fb_id;
63 -+ __u32 flags;
64 -+ __u32 reserved;
65 -+ __u64 user_data;
66 - };
67 -
68 - #endif
69
70 diff --git a/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch b/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch
71 deleted file mode 100644
72 index 0311a00..0000000
73 --- a/x11-libs/libdrm/files/libdrm-2.4.28-solaris.patch
74 +++ /dev/null
75 @@ -1,111 +0,0 @@
76 -Index: libdrm-2.4.23/include/drm/drm.h
77 -===================================================================
78 ---- libdrm-2.4.23.orig/include/drm/drm.h
79 -+++ libdrm-2.4.23/include/drm/drm.h
80 -@@ -54,7 +54,11 @@ typedef int32_t __s32;
81 - typedef uint32_t __u32;
82 - typedef int64_t __s64;
83 - typedef uint64_t __u64;
84 -+#if defined(__sun)
85 -+typedef unsigned long long drm_handle_t;
86 -+#else
87 - typedef unsigned long drm_handle_t;
88 -+#endif
89 -
90 - #endif
91 -
92 -@@ -210,12 +214,22 @@ struct drm_ctx_priv_map {
93 - * \sa drmAddMap().
94 - */
95 - struct drm_map {
96 -+#ifdef __sun
97 -+ unsigned long long offset;
98 -+ /**< Requested physical address (0 for SAREA)*/
99 -+ unsigned long long handle;
100 -+ /**< User-space: "Handle" to pass to mmap() */
101 -+ /**< Kernel-space: kernel-virtual address */
102 -+#else
103 - unsigned long offset; /**< Requested physical address (0 for SAREA)*/
104 -+#endif
105 - unsigned long size; /**< Requested physical size (bytes) */
106 - enum drm_map_type type; /**< Type of memory to map */
107 - enum drm_map_flags flags; /**< Flags */
108 -+#ifndef __sun
109 - void *handle; /**< User-space: "Handle" to pass to mmap() */
110 - /**< Kernel-space: kernel-virtual address */
111 -+#endif
112 - int mtrr; /**< MTRR slot used */
113 - /* Private data */
114 - };
115 -@@ -379,6 +393,9 @@ struct drm_buf_map {
116 - void *virtual; /**< Mmap'd area in user-virtual */
117 - #endif
118 - struct drm_buf_pub *list; /**< Buffer information */
119 -+#ifdef __sun
120 -+ int fd;
121 -+#endif
122 - };
123 -
124 - /**
125 -Index: libdrm-2.4.23/radeon/radeon_bo_gem.c
126 -===================================================================
127 ---- libdrm-2.4.23.orig/radeon/radeon_bo_gem.c
128 -+++ libdrm-2.4.23/radeon/radeon_bo_gem.c
129 -@@ -38,6 +38,13 @@
130 - #include <string.h>
131 - #include <sys/mman.h>
132 - #include <errno.h>
133 -+
134 -+/* On solaris unistd.h and stropts.h are needed for ioctl */
135 -+#ifdef __sun
136 -+#include <unistd.h>
137 -+#include <stropts.h>
138 -+#endif
139 -+
140 - #include "xf86drm.h"
141 - #include "xf86atomic.h"
142 - #include "drm.h"
143 -Index: libdrm-2.4.23/xf86drm.c
144 -===================================================================
145 ---- libdrm-2.4.23.orig/xf86drm.c
146 -+++ libdrm-2.4.23/xf86drm.c
147 -@@ -972,7 +972,11 @@ int drmRmMap(int fd, drm_handle_t handle
148 - {
149 - drm_map_t map;
150 -
151 -+#ifdef __sun
152 -+ map.handle = handle;
153 -+#else
154 - map.handle = (void *)(uintptr_t)handle;
155 -+#endif
156 -
157 - if(drmIoctl(fd, DRM_IOCTL_RM_MAP, &map))
158 - return -errno;
159 -@@ -1210,6 +1214,9 @@ drmBufMapPtr drmMapBufs(int fd)
160 - bufs.count = 0;
161 - bufs.list = NULL;
162 - bufs.virtual = NULL;
163 -+#ifdef __sun
164 -+ bufs.fd = fd;
165 -+#endif
166 - if (drmIoctl(fd, DRM_IOCTL_MAP_BUFS, &bufs))
167 - return NULL;
168 -
169 -Index: libdrm-2.4.23/xf86drm.h
170 -===================================================================
171 ---- libdrm-2.4.23.orig/xf86drm.h
172 -+++ libdrm-2.4.23/xf86drm.h
173 -@@ -64,6 +64,13 @@
174 -
175 - #endif
176 -
177 -+#if defined(__sun) && !defined(_IOC)
178 -+#define _IOC(dir, group, nr, size) \
179 -+ (dir == DRM_IOC_READWRITE ? _IOWRN(group, nr, size) : \
180 -+ (dir == DRM_IOC_WRITE ? _IOWN(group, nr, size) : \
181 -+ /* dir == DRM_IOC_READ */ _IORN(group, nr, size) ))
182 -+#endif
183 -+
184 - /* Defaults, if nothing set in xf86config */
185 - #define DRM_DEV_UID 0
186 - #define DRM_DEV_GID 0
187
188 diff --git a/x11-libs/libdrm/libdrm-2.4.20-r1.ebuild b/x11-libs/libdrm/libdrm-2.4.20-r1.ebuild
189 deleted file mode 100644
190 index 21196c4..0000000
191 --- a/x11-libs/libdrm/libdrm-2.4.20-r1.ebuild
192 +++ /dev/null
193 @@ -1,48 +0,0 @@
194 -# Copyright 1999-2012 Gentoo Foundation
195 -# Distributed under the terms of the GNU General Public License v2
196 -# $Id$
197 -
198 -EAPI=3
199 -inherit xorg-2
200 -
201 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
202 -
203 -DESCRIPTION="X.Org libdrm library"
204 -HOMEPAGE="http://dri.freedesktop.org/"
205 -if [[ ${PV} = 9999* ]]; then
206 - SRC_URI=""
207 -else
208 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
209 -fi
210 -
211 -KEYWORDS="~x86-fbsd"
212 -IUSE="kernel_linux"
213 -RESTRICT="test" # see bug #236845
214 -
215 -RDEPEND="dev-libs/libpthread-stubs"
216 -DEPEND="${RDEPEND}"
217 -
218 -PATCHES=(
219 - # Fixes buidling of x11-drivers/xf86-video-openchrome, Gentoo bug 298352,
220 - # upstream bug 26994
221 - "${FILESDIR}"/2.4.18-0001-datatypes.patch
222 - )
223 -
224 -pkg_setup() {
225 - # libdrm_intel fails to build on some arches if dev-libs/libatomic_ops is
226 - # installed, bugs 297630, bug 316421 and bug 316541, and is presently only
227 - # useful on amd64 and x86.
228 - CONFIGURE_OPTIONS="--enable-udev
229 - --enable-nouveau-experimental-api
230 - --enable-vmwgfx-experimental-api
231 - $(use_enable kernel_linux libkms)
232 - $(! use amd64 && ! use x86 && ! use x86-fbsd && echo "--disable-intel")"
233 -}
234 -
235 -pkg_postinst() {
236 - x-modular_pkg_postinst
237 -
238 - ewarn "libdrm's ABI may have changed without change in library name"
239 - ewarn "Please rebuild media-libs/mesa, x11-base/xorg-server and"
240 - ewarn "your video drivers in x11-drivers/*."
241 -}
242
243 diff --git a/x11-libs/libdrm/libdrm-2.4.33.ebuild b/x11-libs/libdrm/libdrm-2.4.33.ebuild
244 deleted file mode 100644
245 index f717bfc..0000000
246 --- a/x11-libs/libdrm/libdrm-2.4.33.ebuild
247 +++ /dev/null
248 @@ -1,55 +0,0 @@
249 -# Copyright 1999-2012 Gentoo Foundation
250 -# Distributed under the terms of the GNU General Public License v2
251 -# $Id$
252 -
253 -EAPI=4
254 -inherit xorg-2
255 -
256 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
257 -
258 -DESCRIPTION="X.Org libdrm library"
259 -HOMEPAGE="http://dri.freedesktop.org/"
260 -if [[ ${PV} = 9999* ]]; then
261 - SRC_URI=""
262 -else
263 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
264 -fi
265 -
266 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
267 -VIDEO_CARDS="intel nouveau omap radeon vmware"
268 -for card in ${VIDEO_CARDS}; do
269 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
270 -done
271 -
272 -IUSE="${IUSE_VIDEO_CARDS} libkms"
273 -RESTRICT="test" # see bug #236845
274 -
275 -RDEPEND="dev-libs/libpthread-stubs
276 - video_cards_intel? ( >=x11-libs/libpciaccess-0.10 )"
277 -DEPEND="${RDEPEND}"
278 -
279 -PATCHES=(
280 - "${FILESDIR}"/${PN}-2.4.28-solaris.patch
281 -)
282 -
283 -pkg_setup() {
284 - XORG_CONFIGURE_OPTIONS=(
285 - --enable-udev
286 - $(use_enable video_cards_intel intel)
287 - $(use_enable video_cards_nouveau nouveau-experimental-api)
288 - $(use_enable video_cards_omap omap-experimental-api)
289 - $(use_enable video_cards_radeon radeon)
290 - $(use_enable video_cards_vmware vmwgfx-experimental-api)
291 - $(use_enable libkms)
292 - )
293 -
294 - xorg-2_pkg_setup
295 -}
296 -
297 -src_prepare() {
298 - if [[ ${PV} = 9999* ]]; then
299 - # tests are restricted, no point in building them
300 - sed -ie 's/tests //' "${S}"/Makefile.am
301 - fi
302 - xorg-2_src_prepare
303 -}
304
305 diff --git a/x11-libs/libdrm/libdrm-2.4.46.ebuild b/x11-libs/libdrm/libdrm-2.4.46.ebuild
306 deleted file mode 100644
307 index be34040..0000000
308 --- a/x11-libs/libdrm/libdrm-2.4.46.ebuild
309 +++ /dev/null
310 @@ -1,57 +0,0 @@
311 -# Copyright 1999-2013 Gentoo Foundation
312 -# Distributed under the terms of the GNU General Public License v2
313 -# $Id$
314 -
315 -EAPI=5
316 -inherit xorg-2
317 -
318 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
319 -
320 -DESCRIPTION="X.Org libdrm library"
321 -HOMEPAGE="http://dri.freedesktop.org/"
322 -if [[ ${PV} = 9999* ]]; then
323 - SRC_URI=""
324 -else
325 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
326 -fi
327 -
328 -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 ~sparc-solaris ~x64-solaris ~x86-solaris"
329 -VIDEO_CARDS="exynos freedreno intel nouveau omap radeon vmware"
330 -for card in ${VIDEO_CARDS}; do
331 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
332 -done
333 -
334 -IUSE="${IUSE_VIDEO_CARDS} libkms"
335 -REQUIRED_USE="video_cards_exynos? ( libkms )"
336 -RESTRICT="test" # see bug #236845
337 -
338 -RDEPEND="dev-libs/libpthread-stubs
339 - video_cards_intel? ( >=x11-libs/libpciaccess-0.10 )"
340 -DEPEND="${RDEPEND}"
341 -
342 -PATCHES=(
343 - "${FILESDIR}"/${PN}-2.4.28-solaris.patch
344 -)
345 -
346 -src_prepare() {
347 - if [[ ${PV} = 9999* ]]; then
348 - # tests are restricted, no point in building them
349 - sed -ie 's/tests //' "${S}"/Makefile.am
350 - fi
351 - xorg-2_src_prepare
352 -}
353 -
354 -src_configure() {
355 - XORG_CONFIGURE_OPTIONS=(
356 - --enable-udev
357 - $(use_enable video_cards_exynos exynos-experimental-api)
358 - $(use_enable video_cards_freedreno freedreno-experimental-api)
359 - $(use_enable video_cards_intel intel)
360 - $(use_enable video_cards_nouveau nouveau)
361 - $(use_enable video_cards_omap omap-experimental-api)
362 - $(use_enable video_cards_radeon radeon)
363 - $(use_enable video_cards_vmware vmwgfx)
364 - $(use_enable libkms)
365 - )
366 - xorg-2_src_configure
367 -}
368
369 diff --git a/x11-libs/libdrm/libdrm-2.4.52.ebuild b/x11-libs/libdrm/libdrm-2.4.52.ebuild
370 deleted file mode 100644
371 index dfe86fa..0000000
372 --- a/x11-libs/libdrm/libdrm-2.4.52.ebuild
373 +++ /dev/null
374 @@ -1,60 +0,0 @@
375 -# Copyright 1999-2014 Gentoo Foundation
376 -# Distributed under the terms of the GNU General Public License v2
377 -# $Id$
378 -
379 -EAPI=5
380 -
381 -XORG_MULTILIB=yes
382 -inherit xorg-2
383 -
384 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
385 -
386 -DESCRIPTION="X.Org libdrm library"
387 -HOMEPAGE="http://dri.freedesktop.org/"
388 -if [[ ${PV} = 9999* ]]; then
389 - SRC_URI=""
390 -else
391 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
392 -fi
393 -
394 -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 ~sparc-solaris ~x64-solaris ~x86-solaris"
395 -VIDEO_CARDS="exynos freedreno intel nouveau omap radeon vmware"
396 -for card in ${VIDEO_CARDS}; do
397 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
398 -done
399 -
400 -IUSE="${IUSE_VIDEO_CARDS} libkms"
401 -REQUIRED_USE="video_cards_exynos? ( libkms )"
402 -RESTRICT="test" # see bug #236845
403 -
404 -RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1[${MULTILIB_USEDEP}]
405 - video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1[${MULTILIB_USEDEP}] )
406 - abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
407 -DEPEND="${RDEPEND}"
408 -
409 -PATCHES=(
410 - "${FILESDIR}"/${PN}-2.4.28-solaris.patch
411 -)
412 -
413 -src_prepare() {
414 - if [[ ${PV} = 9999* ]]; then
415 - # tests are restricted, no point in building them
416 - sed -ie 's/tests //' "${S}"/Makefile.am
417 - fi
418 - xorg-2_src_prepare
419 -}
420 -
421 -src_configure() {
422 - XORG_CONFIGURE_OPTIONS=(
423 - --enable-udev
424 - $(use_enable video_cards_exynos exynos-experimental-api)
425 - $(use_enable video_cards_freedreno freedreno-experimental-api)
426 - $(use_enable video_cards_intel intel)
427 - $(use_enable video_cards_nouveau nouveau)
428 - $(use_enable video_cards_omap omap-experimental-api)
429 - $(use_enable video_cards_radeon radeon)
430 - $(use_enable video_cards_vmware vmwgfx)
431 - $(use_enable libkms)
432 - )
433 - xorg-2_src_configure
434 -}
435
436 diff --git a/x11-libs/libdrm/libdrm-2.4.53.ebuild b/x11-libs/libdrm/libdrm-2.4.53.ebuild
437 deleted file mode 100644
438 index b7c0be8..0000000
439 --- a/x11-libs/libdrm/libdrm-2.4.53.ebuild
440 +++ /dev/null
441 @@ -1,60 +0,0 @@
442 -# Copyright 1999-2014 Gentoo Foundation
443 -# Distributed under the terms of the GNU General Public License v2
444 -# $Id$
445 -
446 -EAPI=5
447 -
448 -XORG_MULTILIB=yes
449 -inherit xorg-2
450 -
451 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
452 -
453 -DESCRIPTION="X.Org libdrm library"
454 -HOMEPAGE="http://dri.freedesktop.org/"
455 -if [[ ${PV} = 9999* ]]; then
456 - SRC_URI=""
457 -else
458 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
459 -fi
460 -
461 -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 ~sparc-solaris ~x64-solaris ~x86-solaris"
462 -VIDEO_CARDS="exynos freedreno intel nouveau omap radeon vmware"
463 -for card in ${VIDEO_CARDS}; do
464 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
465 -done
466 -
467 -IUSE="${IUSE_VIDEO_CARDS} libkms"
468 -REQUIRED_USE="video_cards_exynos? ( libkms )"
469 -RESTRICT="test" # see bug #236845
470 -
471 -RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1[${MULTILIB_USEDEP}]
472 - video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1[${MULTILIB_USEDEP}] )
473 - abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
474 -DEPEND="${RDEPEND}"
475 -
476 -PATCHES=(
477 - "${FILESDIR}"/${PN}-2.4.28-solaris.patch
478 -)
479 -
480 -src_prepare() {
481 - if [[ ${PV} = 9999* ]]; then
482 - # tests are restricted, no point in building them
483 - sed -ie 's/tests //' "${S}"/Makefile.am
484 - fi
485 - xorg-2_src_prepare
486 -}
487 -
488 -src_configure() {
489 - XORG_CONFIGURE_OPTIONS=(
490 - --enable-udev
491 - $(use_enable video_cards_exynos exynos-experimental-api)
492 - $(use_enable video_cards_freedreno freedreno-experimental-api)
493 - $(use_enable video_cards_intel intel)
494 - $(use_enable video_cards_nouveau nouveau)
495 - $(use_enable video_cards_omap omap-experimental-api)
496 - $(use_enable video_cards_radeon radeon)
497 - $(use_enable video_cards_vmware vmwgfx)
498 - $(use_enable libkms)
499 - )
500 - xorg-2_src_configure
501 -}
502
503 diff --git a/x11-libs/libdrm/libdrm-2.4.54.ebuild b/x11-libs/libdrm/libdrm-2.4.54.ebuild
504 deleted file mode 100644
505 index b7c0be8..0000000
506 --- a/x11-libs/libdrm/libdrm-2.4.54.ebuild
507 +++ /dev/null
508 @@ -1,60 +0,0 @@
509 -# Copyright 1999-2014 Gentoo Foundation
510 -# Distributed under the terms of the GNU General Public License v2
511 -# $Id$
512 -
513 -EAPI=5
514 -
515 -XORG_MULTILIB=yes
516 -inherit xorg-2
517 -
518 -EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
519 -
520 -DESCRIPTION="X.Org libdrm library"
521 -HOMEPAGE="http://dri.freedesktop.org/"
522 -if [[ ${PV} = 9999* ]]; then
523 - SRC_URI=""
524 -else
525 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
526 -fi
527 -
528 -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 ~sparc-solaris ~x64-solaris ~x86-solaris"
529 -VIDEO_CARDS="exynos freedreno intel nouveau omap radeon vmware"
530 -for card in ${VIDEO_CARDS}; do
531 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
532 -done
533 -
534 -IUSE="${IUSE_VIDEO_CARDS} libkms"
535 -REQUIRED_USE="video_cards_exynos? ( libkms )"
536 -RESTRICT="test" # see bug #236845
537 -
538 -RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1[${MULTILIB_USEDEP}]
539 - video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1[${MULTILIB_USEDEP}] )
540 - abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
541 -DEPEND="${RDEPEND}"
542 -
543 -PATCHES=(
544 - "${FILESDIR}"/${PN}-2.4.28-solaris.patch
545 -)
546 -
547 -src_prepare() {
548 - if [[ ${PV} = 9999* ]]; then
549 - # tests are restricted, no point in building them
550 - sed -ie 's/tests //' "${S}"/Makefile.am
551 - fi
552 - xorg-2_src_prepare
553 -}
554 -
555 -src_configure() {
556 - XORG_CONFIGURE_OPTIONS=(
557 - --enable-udev
558 - $(use_enable video_cards_exynos exynos-experimental-api)
559 - $(use_enable video_cards_freedreno freedreno-experimental-api)
560 - $(use_enable video_cards_intel intel)
561 - $(use_enable video_cards_nouveau nouveau)
562 - $(use_enable video_cards_omap omap-experimental-api)
563 - $(use_enable video_cards_radeon radeon)
564 - $(use_enable video_cards_vmware vmwgfx)
565 - $(use_enable libkms)
566 - )
567 - xorg-2_src_configure
568 -}
569
570 diff --git a/x11-libs/libdrm/libdrm-2.4.56.ebuild b/x11-libs/libdrm/libdrm-2.4.56.ebuild
571 deleted file mode 100644
572 index 7b983ed..0000000
573 --- a/x11-libs/libdrm/libdrm-2.4.56.ebuild
574 +++ /dev/null
575 @@ -1,57 +0,0 @@
576 -# Copyright 1999-2014 Gentoo Foundation
577 -# Distributed under the terms of the GNU General Public License v2
578 -# $Id$
579 -
580 -EAPI=5
581 -
582 -XORG_MULTILIB=yes
583 -inherit xorg-2
584 -
585 -DESCRIPTION="X.Org libdrm library"
586 -HOMEPAGE="http://dri.freedesktop.org/"
587 -if [[ ${PV} = 9999* ]]; then
588 - EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
589 -else
590 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
591 -fi
592 -
593 -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 ~sparc-solaris ~x64-solaris ~x86-solaris"
594 -VIDEO_CARDS="exynos freedreno intel nouveau omap radeon vmware"
595 -for card in ${VIDEO_CARDS}; do
596 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
597 -done
598 -
599 -IUSE="${IUSE_VIDEO_CARDS} libkms"
600 -RESTRICT="test" # see bug #236845
601 -
602 -RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1:=[${MULTILIB_USEDEP}]
603 - video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )
604 - abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
605 -DEPEND="${RDEPEND}"
606 -
607 -PATCHES=(
608 - "${FILESDIR}"/${PN}-2.4.28-solaris.patch
609 -)
610 -
611 -src_prepare() {
612 - if [[ ${PV} = 9999* ]]; then
613 - # tests are restricted, no point in building them
614 - sed -ie 's/tests //' "${S}"/Makefile.am
615 - fi
616 - xorg-2_src_prepare
617 -}
618 -
619 -src_configure() {
620 - XORG_CONFIGURE_OPTIONS=(
621 - --enable-udev
622 - $(use_enable video_cards_exynos exynos-experimental-api)
623 - $(use_enable video_cards_freedreno freedreno-experimental-api)
624 - $(use_enable video_cards_intel intel)
625 - $(use_enable video_cards_nouveau nouveau)
626 - $(use_enable video_cards_omap omap-experimental-api)
627 - $(use_enable video_cards_radeon radeon)
628 - $(use_enable video_cards_vmware vmwgfx)
629 - $(use_enable libkms)
630 - )
631 - xorg-2_src_configure
632 -}
633
634 diff --git a/x11-libs/libdrm/libdrm-2.4.58.ebuild b/x11-libs/libdrm/libdrm-2.4.58.ebuild
635 deleted file mode 100644
636 index 23ebd95..0000000
637 --- a/x11-libs/libdrm/libdrm-2.4.58.ebuild
638 +++ /dev/null
639 @@ -1,57 +0,0 @@
640 -# Copyright 1999-2015 Gentoo Foundation
641 -# Distributed under the terms of the GNU General Public License v2
642 -# $Id$
643 -
644 -EAPI=5
645 -
646 -XORG_MULTILIB=yes
647 -inherit xorg-2
648 -
649 -DESCRIPTION="X.Org libdrm library"
650 -HOMEPAGE="http://dri.freedesktop.org/"
651 -if [[ ${PV} = 9999* ]]; then
652 - EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
653 -else
654 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
655 -fi
656 -
657 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~sparc-solaris ~x64-solaris ~x86-solaris"
658 -VIDEO_CARDS="exynos freedreno intel nouveau omap radeon vmware"
659 -for card in ${VIDEO_CARDS}; do
660 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
661 -done
662 -
663 -IUSE="${IUSE_VIDEO_CARDS} libkms"
664 -RESTRICT="test" # see bug #236845
665 -
666 -RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1:=[${MULTILIB_USEDEP}]
667 - video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )
668 - abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
669 -DEPEND="${RDEPEND}"
670 -
671 -PATCHES=(
672 - "${FILESDIR}"/${PN}-2.4.58-solaris.patch
673 -)
674 -
675 -src_prepare() {
676 - if [[ ${PV} = 9999* ]]; then
677 - # tests are restricted, no point in building them
678 - sed -ie 's/tests //' "${S}"/Makefile.am
679 - fi
680 - xorg-2_src_prepare
681 -}
682 -
683 -src_configure() {
684 - XORG_CONFIGURE_OPTIONS=(
685 - --enable-udev
686 - $(use_enable video_cards_exynos exynos-experimental-api)
687 - $(use_enable video_cards_freedreno freedreno-experimental-api)
688 - $(use_enable video_cards_intel intel)
689 - $(use_enable video_cards_nouveau nouveau)
690 - $(use_enable video_cards_omap omap-experimental-api)
691 - $(use_enable video_cards_radeon radeon)
692 - $(use_enable video_cards_vmware vmwgfx)
693 - $(use_enable libkms)
694 - )
695 - xorg-2_src_configure
696 -}
697
698 diff --git a/x11-libs/libdrm/libdrm-2.4.59-r1.ebuild b/x11-libs/libdrm/libdrm-2.4.59-r1.ebuild
699 deleted file mode 100644
700 index 30edd12..0000000
701 --- a/x11-libs/libdrm/libdrm-2.4.59-r1.ebuild
702 +++ /dev/null
703 @@ -1,66 +0,0 @@
704 -# Copyright 1999-2015 Gentoo Foundation
705 -# Distributed under the terms of the GNU General Public License v2
706 -# $Id$
707 -
708 -EAPI=5
709 -
710 -XORG_MULTILIB=yes
711 -inherit xorg-2
712 -
713 -DESCRIPTION="X.Org libdrm library"
714 -HOMEPAGE="http://dri.freedesktop.org/"
715 -if [[ ${PV} = 9999* ]]; then
716 - EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
717 -else
718 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
719 -fi
720 -
721 -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 ~sparc-solaris ~x64-solaris ~x86-solaris"
722 -VIDEO_CARDS="exynos freedreno intel nouveau omap radeon tegra vmware"
723 -for card in ${VIDEO_CARDS}; do
724 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
725 -done
726 -
727 -IUSE="${IUSE_VIDEO_CARDS} libkms valgrind"
728 -RESTRICT="test" # see bug #236845
729 -
730 -RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1:=[${MULTILIB_USEDEP}]
731 - video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )
732 - abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
733 -DEPEND="${RDEPEND}
734 - valgrind? ( dev-util/valgrind )"
735 -
736 -PATCHES=(
737 - "${FILESDIR}"/${PN}-2.4.58-solaris.patch
738 -)
739 -
740 -src_prepare() {
741 - if [[ ${PV} = 9999* ]]; then
742 - # tests are restricted, no point in building them
743 - sed -ie 's/tests //' "${S}"/Makefile.am
744 - fi
745 - xorg-2_src_prepare
746 -
747 - # There is no configure flag for this.
748 - sed -i -r \
749 - -e "/have_valgrind=/s:=(yes|no):=$(usex valgrind):" \
750 - configure || die
751 -}
752 -
753 -src_configure() {
754 - XORG_CONFIGURE_OPTIONS=(
755 - # Udev is only used by tests now.
756 - --disable-udev
757 - --disable-cairo-tests
758 - $(use_enable video_cards_exynos exynos-experimental-api)
759 - $(use_enable video_cards_freedreno freedreno)
760 - $(use_enable video_cards_intel intel)
761 - $(use_enable video_cards_nouveau nouveau)
762 - $(use_enable video_cards_omap omap-experimental-api)
763 - $(use_enable video_cards_radeon radeon)
764 - $(use_enable video_cards_tegra tegra-experimental-api)
765 - $(use_enable video_cards_vmware vmwgfx)
766 - $(use_enable libkms)
767 - )
768 - xorg-2_src_configure
769 -}
770
771 diff --git a/x11-libs/libdrm/libdrm-2.4.62.ebuild b/x11-libs/libdrm/libdrm-2.4.62.ebuild
772 deleted file mode 100644
773 index 3e5cc06..0000000
774 --- a/x11-libs/libdrm/libdrm-2.4.62.ebuild
775 +++ /dev/null
776 @@ -1,60 +0,0 @@
777 -# Copyright 1999-2015 Gentoo Foundation
778 -# Distributed under the terms of the GNU General Public License v2
779 -# $Id$
780 -
781 -EAPI=5
782 -
783 -XORG_MULTILIB=yes
784 -inherit xorg-2
785 -
786 -DESCRIPTION="X.Org libdrm library"
787 -HOMEPAGE="http://dri.freedesktop.org/"
788 -if [[ ${PV} = 9999* ]]; then
789 - EGIT_REPO_URI="git://anongit.freedesktop.org/git/mesa/drm"
790 -else
791 - SRC_URI="http://dri.freedesktop.org/${PN}/${P}.tar.bz2"
792 -fi
793 -
794 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux"
795 -VIDEO_CARDS="exynos freedreno intel nouveau omap radeon tegra vmware"
796 -for card in ${VIDEO_CARDS}; do
797 - IUSE_VIDEO_CARDS+=" video_cards_${card}"
798 -done
799 -
800 -IUSE="${IUSE_VIDEO_CARDS} libkms valgrind"
801 -RESTRICT="test" # see bug #236845
802 -
803 -RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1:=[${MULTILIB_USEDEP}]
804 - video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )
805 - abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] )"
806 -DEPEND="${RDEPEND}
807 - valgrind? ( dev-util/valgrind )"
808 -
809 -src_prepare() {
810 - if [[ ${PV} = 9999* ]]; then
811 - # tests are restricted, no point in building them
812 - sed -ie 's/tests //' "${S}"/Makefile.am
813 - fi
814 - xorg-2_src_prepare
815 -}
816 -
817 -src_configure() {
818 - XORG_CONFIGURE_OPTIONS=(
819 - # Udev is only used by tests now.
820 - --disable-udev
821 - --disable-cairo-tests
822 - $(use_enable video_cards_exynos exynos-experimental-api)
823 - $(use_enable video_cards_freedreno freedreno)
824 - $(use_enable video_cards_intel intel)
825 - $(use_enable video_cards_nouveau nouveau)
826 - $(use_enable video_cards_omap omap-experimental-api)
827 - $(use_enable video_cards_radeon radeon)
828 - $(use_enable video_cards_tegra tegra-experimental-api)
829 - $(use_enable video_cards_vmware vmwgfx)
830 - $(use_enable libkms)
831 - # valgrind installs its .pc file to the pkgconfig for the primary arch
832 - --enable-valgrind=$(usex valgrind auto no)
833 - )
834 -
835 - xorg-2_src_configure
836 -}