1 |
commit: d917a072dda6811bf5eb4cdf0687a3c3b943513a |
2 |
Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 26 18:33:40 2013 +0000 |
4 |
Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de> |
5 |
CommitDate: Sun May 26 18:33:40 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=d917a072 |
7 |
|
8 |
media-libs/mesa: add freedreno support |
9 |
|
10 |
--- |
11 |
media-libs/mesa/mesa-9999.ebuild | 9 ++++++--- |
12 |
1 files changed, 6 insertions(+), 3 deletions(-) |
13 |
|
14 |
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild |
15 |
index bb75b6b..44d2e44 100644 |
16 |
--- a/media-libs/mesa/mesa-9999.ebuild |
17 |
+++ b/media-libs/mesa/mesa-9999.ebuild |
18 |
@@ -42,7 +42,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 |
19 |
|
20 |
INTEL_CARDS="i915 i965 ilo intel" |
21 |
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi" |
22 |
-VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} nouveau vmware" |
23 |
+VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vmware" |
24 |
for card in ${VIDEO_CARDS}; do |
25 |
IUSE_VIDEO_CARDS+=" video_cards_${card}" |
26 |
done |
27 |
@@ -63,6 +63,7 @@ REQUIRED_USE=" |
28 |
wayland? ( egl ) |
29 |
xa? ( gallium ) |
30 |
xorg? ( gallium ) |
31 |
+ video_cards_freedreno? ( gallium ) |
32 |
video_cards_intel? ( || ( classic gallium ) ) |
33 |
video_cards_i915? ( || ( classic gallium ) ) |
34 |
video_cards_i965? ( classic ) |
35 |
@@ -104,7 +105,7 @@ RDEPEND=" |
36 |
x11-libs/libdrm[libkms] |
37 |
) |
38 |
xvmc? ( >=x11-libs/libXvMC-1.0.6 ) |
39 |
- ${LIBDRM_DEPSTRING}[video_cards_nouveau?,video_cards_vmware?] |
40 |
+ ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vmware?] |
41 |
" |
42 |
for card in ${INTEL_CARDS}; do |
43 |
RDEPEND="${RDEPEND} |
44 |
@@ -201,7 +202,7 @@ src_configure() { |
45 |
driver_enable video_cards_i915 i915 |
46 |
driver_enable video_cards_i965 i965 |
47 |
if ! use video_cards_i915 && \ |
48 |
- ! use video_cards_i965 && \ |
49 |
+ ! use video_cards_i965; then |
50 |
driver_enable video_cards_intel i915 i965 |
51 |
fi |
52 |
|
53 |
@@ -249,6 +250,8 @@ src_configure() { |
54 |
! use video_cards_r600; then |
55 |
gallium_enable video_cards_radeon r300 r600 |
56 |
fi |
57 |
+ |
58 |
+ gallium_enable video_cards_freedreno freedreno |
59 |
# opencl stuff |
60 |
if use opencl; then |
61 |
myconf+=" |