]> Git Repo - buildroot-mgba.git/commitdiff
package/mpv: add libvdpau optional dependency
authorFabrice Fontaine <[email protected]>
Sat, 18 Jan 2020 18:37:32 +0000 (19:37 +0100)
committerYann E. MORIN <[email protected]>
Sat, 18 Jan 2020 21:15:28 +0000 (22:15 +0100)
Signed-off-by: Fabrice Fontaine <[email protected]>
Signed-off-by: Yann E. MORIN <[email protected]>
package/mpv/mpv.mk

index f92b604c28996cb9b4db0c3fd2a6e9e982f6d0dc..2150f7e9aac57b09eb8e01e14d37f831f9c9f820 100644 (file)
@@ -30,7 +30,6 @@ MPV_CONF_OPTS = \
        --disable-uchardet \
        --disable-vapoursynth \
        --disable-vapoursynth-lazy \
-       --disable-vdpau \
        --disable-mali-fbdev
 
 # ALSA support requires pcm+mixer
@@ -130,6 +129,14 @@ else
 MPV_CONF_OPTS += --disable-drm
 endif
 
+# libvdpau
+ifeq ($(BR2_PACKAGE_LIBVDPAU),y)
+MPV_CONF_OPTS += --enable-vdpau
+MPV_DEPENDENCIES += libvdpau
+else
+MPV_CONF_OPTS += --disable-vdpau
+endif
+
 # LUA support, only for lua51/lua52/luajit
 # This enables the controller (OSD) together with libass
 ifeq ($(BR2_PACKAGE_LUA_5_1)$(BR2_PACKAGE_LUAJIT),y)
This page took 0.038932 seconds and 4 git commands to generate.