1 |
commit: bac272fa3584c4483a8b42c346011d083c5a2dfe |
2 |
Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 28 14:18:19 2016 +0000 |
4 |
Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 28 14:18:19 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bac272fa |
7 |
|
8 |
media-libs/mesa: add flag for vc4 driver |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=559144 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
media-libs/mesa/mesa-11.2.1.ebuild | 5 +++-- |
15 |
media-libs/mesa/mesa-9999.ebuild | 5 +++-- |
16 |
2 files changed, 6 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/mesa/mesa-11.2.1.ebuild b/media-libs/mesa/mesa-11.2.1.ebuild |
19 |
index 6c2c4eb..4bc07f8 100644 |
20 |
--- a/media-libs/mesa/mesa-11.2.1.ebuild |
21 |
+++ b/media-libs/mesa/mesa-11.2.1.ebuild |
22 |
@@ -37,7 +37,7 @@ RESTRICT="!bindist? ( bindist )" |
23 |
|
24 |
INTEL_CARDS="i915 i965 ilo intel" |
25 |
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi" |
26 |
-VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vmware" |
27 |
+VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vc4 vmware" |
28 |
for card in ${VIDEO_CARDS}; do |
29 |
IUSE_VIDEO_CARDS+=" video_cards_${card}" |
30 |
done |
31 |
@@ -120,7 +120,7 @@ RDEPEND=" |
32 |
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) |
33 |
wayland? ( >=dev-libs/wayland-1.2.0:=[${MULTILIB_USEDEP}] ) |
34 |
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) |
35 |
- ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vmware?,${MULTILIB_USEDEP}] |
36 |
+ ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vmware?,${MULTILIB_USEDEP}] |
37 |
" |
38 |
for card in ${INTEL_CARDS}; do |
39 |
RDEPEND="${RDEPEND} |
40 |
@@ -237,6 +237,7 @@ multilib_src_configure() { |
41 |
use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers" |
42 |
|
43 |
gallium_enable swrast |
44 |
+ gallium_enable video_cards_vc4 vc4 |
45 |
gallium_enable video_cards_vmware svga |
46 |
gallium_enable video_cards_nouveau nouveau |
47 |
gallium_enable video_cards_i915 i915 |
48 |
|
49 |
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild |
50 |
index 0021316..bf3dbcc 100644 |
51 |
--- a/media-libs/mesa/mesa-9999.ebuild |
52 |
+++ b/media-libs/mesa/mesa-9999.ebuild |
53 |
@@ -37,7 +37,7 @@ RESTRICT="!bindist? ( bindist )" |
54 |
|
55 |
INTEL_CARDS="i915 i965 ilo intel" |
56 |
RADEON_CARDS="r100 r200 r300 r600 radeon radeonsi" |
57 |
-VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vmware" |
58 |
+VIDEO_CARDS="${INTEL_CARDS} ${RADEON_CARDS} freedreno nouveau vc4 vmware" |
59 |
for card in ${VIDEO_CARDS}; do |
60 |
IUSE_VIDEO_CARDS+=" video_cards_${card}" |
61 |
done |
62 |
@@ -120,7 +120,7 @@ RDEPEND=" |
63 |
vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) |
64 |
wayland? ( >=dev-libs/wayland-1.2.0:=[${MULTILIB_USEDEP}] ) |
65 |
xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) |
66 |
- ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vmware?,${MULTILIB_USEDEP}] |
67 |
+ ${LIBDRM_DEPSTRING}[video_cards_freedreno?,video_cards_nouveau?,video_cards_vc4?,video_cards_vmware?,${MULTILIB_USEDEP}] |
68 |
" |
69 |
for card in ${INTEL_CARDS}; do |
70 |
RDEPEND="${RDEPEND} |
71 |
@@ -238,6 +238,7 @@ multilib_src_configure() { |
72 |
use vaapi && myconf+=" --with-va-libdir=/usr/$(get_libdir)/va/drivers" |
73 |
|
74 |
gallium_enable swrast |
75 |
+ gallium_enable video_cards_vc4 vc4 |
76 |
gallium_enable video_cards_vmware svga |
77 |
gallium_enable video_cards_nouveau nouveau |
78 |
gallium_enable video_cards_i915 i915 |