1 |
commit: 5e0322ce76178299b66f15933bc0a2c2a384bd3c |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 8 03:54:04 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 8 03:54:04 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e0322ce |
7 |
|
8 |
app-emulation/qemu: add USE=virgl for Virgil 3d GPU #566994 |
9 |
|
10 |
app-emulation/qemu/metadata.xml | 1 + |
11 |
app-emulation/qemu/qemu-9999.ebuild | 4 +++- |
12 |
2 files changed, 4 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/app-emulation/qemu/metadata.xml b/app-emulation/qemu/metadata.xml |
15 |
index 4a34400..d282a75 100644 |
16 |
--- a/app-emulation/qemu/metadata.xml |
17 |
+++ b/app-emulation/qemu/metadata.xml |
18 |
@@ -42,6 +42,7 @@ |
19 |
<flag name="uuid">Enable UUID support in the vdi block driver</flag> |
20 |
<flag name="vde">Enable VDE-based networking</flag> |
21 |
<flag name="vhost-net">Enable accelerated networking using vhost-net, see http://www.linux-kvm.org/page/VhostNet</flag> |
22 |
+ <flag name="virgl">Enable experimental Virgil 3d (virtual software GPU)</flag> |
23 |
<flag name="virtfs">Enable VirtFS via virtio-9p-pci / fsdev. See http://wiki.qemu.org/Documentation/9psetup</flag> |
24 |
<flag name="vte">Enable terminal support (<pkg>x11-libs/vte</pkg>) in the GTK+ interface</flag> |
25 |
<flag name="xattr">Add support for getting and setting POSIX extended attributes, through |
26 |
|
27 |
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild |
28 |
index 4ca906c..963ea6b 100644 |
29 |
--- a/app-emulation/qemu/qemu-9999.ebuild |
30 |
+++ b/app-emulation/qemu/qemu-9999.ebuild |
31 |
@@ -34,7 +34,7 @@ kernel_linux kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs |
32 |
+png pulseaudio python \ |
33 |
rbd sasl +seccomp sdl sdl2 selinux smartcard snappy spice ssh static static-softmmu |
34 |
static-user systemtap tci test +threads usb usbredir +uuid vde +vhost-net \ |
35 |
-virtfs +vnc vte xattr xen xfs" |
36 |
+virgl virtfs +vnc vte xattr xen xfs" |
37 |
|
38 |
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel mips |
39 |
mips64 mips64el mipsel or32 ppc ppc64 s390x sh4 sh4eb sparc sparc64 unicore32 |
40 |
@@ -134,6 +134,7 @@ SOFTMMU_LIB_DEPEND="${COMMON_LIB_DEPEND} |
41 |
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] ) |
42 |
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] ) |
43 |
vde? ( net-misc/vde[static-libs(+)] ) |
44 |
+ virgl? ( media-libs/virglrenderer[static-libs(+)] ) |
45 |
virtfs? ( sys-libs/libcap ) |
46 |
xfs? ( sys-fs/xfsprogs[static-libs(+)] )" |
47 |
USER_LIB_DEPEND="${COMMON_LIB_DEPEND}" |
48 |
@@ -395,6 +396,7 @@ qemu_src_configure() { |
49 |
$(conf_softmmu uuid) |
50 |
$(conf_softmmu vde) |
51 |
$(conf_softmmu vhost-net) |
52 |
+ $(conf_softmmu virgl virglrenderer) |
53 |
$(conf_softmmu virtfs) |
54 |
$(conf_softmmu vnc) |
55 |
$(conf_softmmu vte) |