summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2015-12-22 19:54:06 +0300
committerIlya Tumaykin <itumaykin@gmail.com>2015-12-28 15:47:10 +0300
commita993763078abb7ebb777d8865005c4f4a1d81521 (patch)
tree6463387b87aa3d70cf0a3aef6860eae3fa4aa46c /media-video/mpv
parentmedia-video/mpv: tidy comments (diff)
downloadgentoo-a993763078abb7ebb777d8865005c4f4a1d81521.tar.gz
gentoo-a993763078abb7ebb777d8865005c4f4a1d81521.tar.bz2
gentoo-a993763078abb7ebb777d8865005c4f4a1d81521.zip
media-video/mpv: adjust libsdl2 dependency
Similar idea was submitted by Vindex17 in PR #318. Though libsdl2 is listed under audio outputs in configure script, it actually handles both audio and video outputs. Thus video and sound USE flags should be enabled for libsdl2. We also want X or wayland USE flag enabled for libsdl2, so mpv can create a window to render in. Package-Manager: portage-2.2.24
Diffstat (limited to 'media-video/mpv')
-rw-r--r--media-video/mpv/mpv-9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 34d50db41379..178cd86c935e 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -83,7 +83,7 @@ COMMON_DEPEND="
pulseaudio? ( media-sound/pulseaudio )
rubberband? ( >=media-libs/rubberband-1.8.0 )
samba? ( net-fs/samba )
- sdl? ( media-libs/libsdl2[threads] )
+ sdl? ( media-libs/libsdl2[sound,threads,video,X?,wayland?] )
v4l? ( media-libs/libv4l )
wayland? (
>=dev-libs/wayland-1.6.0
@@ -193,7 +193,7 @@ src_configure() {
$(usex luajit '--lua=luajit' '')
# Audio outputs
- $(use_enable sdl sdl2) # SDL output is fallback for platforms where nothing better is available
+ $(use_enable sdl sdl2) # Listed under audio, but also includes video
--disable-sdl1
$(use_enable oss oss-audio)
--disable-rsound # Only available in overlays