[Buildroot] [git commit] package/mpv: add libv4l support
Peter Korsgaard
peter at korsgaard.com
Sun Jan 19 22:10:05 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=22f4c826ca2c7edca7761394a5175b45a4fc22b4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/mpv/mpv.mk | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk
index 2150f7e9aa..8619de5a8e 100644
--- a/package/mpv/mpv.mk
+++ b/package/mpv/mpv.mk
@@ -23,7 +23,6 @@ MPV_CONF_OPTS = \
--disable-cocoa \
--disable-coreaudio \
--disable-cuda-hwaccel \
- --disable-libv4l2 \
--disable-opensles \
--disable-rsound \
--disable-rubberband \
@@ -129,6 +128,16 @@ else
MPV_CONF_OPTS += --disable-drm
endif
+# libv4l
+ifeq ($(BR2_PACKAGE_LIBV4L),y)
+MPV_CONF_OPTS += \
+ --enable-libv4l2 \
+ --enable-tv
+MPV_DEPENDENCIES += libv4l
+else
+MPV_CONF_OPTS += --disable-libv4l2
+endif
+
# libvdpau
ifeq ($(BR2_PACKAGE_LIBVDPAU),y)
MPV_CONF_OPTS += --enable-vdpau
More information about the buildroot
mailing list