1 |
QEMU has deprecated sdl-1.2 support nearly a year ago (in |
2 |
upstream commit of e52c6ba3414). It's not removed yet, but it |
3 |
soon will be. Therefore, drop support for it in our ebuild. This |
4 |
is achieved by basically dropping old 'sdl' use flag and then |
5 |
renaming 'sdl2' to 'sdl'. |
6 |
|
7 |
Signed-off-by: Michal Privoznik <mprivozn@××××××.com> |
8 |
--- |
9 |
app-emulation/qemu/qemu-9999.ebuild | 15 ++++----------- |
10 |
1 file changed, 4 insertions(+), 11 deletions(-) |
11 |
|
12 |
diff --git a/app-emulation/qemu/qemu-9999.ebuild b/app-emulation/qemu/qemu-9999.ebuild |
13 |
index 555a20f9237..b33e04e5152 100644 |
14 |
--- a/app-emulation/qemu/qemu-9999.ebuild |
15 |
+++ b/app-emulation/qemu/qemu-9999.ebuild |
16 |
@@ -30,7 +30,7 @@ SLOT="0" |
17 |
IUSE="accessibility +aio alsa bluetooth bzip2 capstone +caps +curl debug |
18 |
+fdt glusterfs gnutls gtk infiniband iscsi +jpeg kernel_linux |
19 |
kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png |
20 |
- pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy |
21 |
+ pulseaudio python rbd sasl +seccomp sdl selinux smartcard snappy |
22 |
spice ssh static static-user systemtap tci test usb usbredir vde |
23 |
+vhost-net virgl virtfs +vnc vte xattr xen xfs" |
24 |
|
25 |
@@ -55,7 +55,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE} |
26 |
qemu_softmmu_targets_mips64el? ( fdt ) |
27 |
qemu_softmmu_targets_ppc? ( fdt ) |
28 |
qemu_softmmu_targets_ppc64? ( fdt ) |
29 |
- sdl2? ( sdl ) |
30 |
static? ( static-user !alsa !bluetooth !gtk !opengl !pulseaudio !snappy ) |
31 |
virtfs? ( xattr ) |
32 |
vte? ( gtk )" |
33 |
@@ -127,14 +126,8 @@ SOFTMMU_TOOLS_DEPEND=" |
34 |
rbd? ( sys-cluster/ceph[static-libs(+)] ) |
35 |
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] ) |
36 |
sdl? ( |
37 |
- !sdl2? ( |
38 |
- media-libs/libsdl[X] |
39 |
- >=media-libs/libsdl-1.2.11[static-libs(+)] |
40 |
- ) |
41 |
- sdl2? ( |
42 |
- media-libs/libsdl2[X] |
43 |
- media-libs/libsdl2[static-libs(+)] |
44 |
- ) |
45 |
+ media-libs/libsdl2[X] |
46 |
+ media-libs/libsdl2[static-libs(+)] |
47 |
) |
48 |
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] ) |
49 |
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] ) |
50 |
@@ -488,7 +481,7 @@ qemu_src_configure() { |
51 |
conf_opts+=( |
52 |
--audio-drv-list="${audio_opts}" |
53 |
) |
54 |
- use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) ) |
55 |
+ use sdl && conf_opts+=( --with-sdlabi=2.0 ) |
56 |
fi |
57 |
|
58 |
case ${buildtype} in |
59 |
-- |
60 |
2.18.1 |