diff options
Diffstat (limited to 'package/mpv/mpv.mk')
-rw-r--r-- | package/mpv/mpv.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk index 730ced6c64..b7dfb369af 100644 --- a/package/mpv/mpv.mk +++ b/package/mpv/mpv.mk @@ -26,7 +26,6 @@ MPV_CONF_OPTS = \ --disable-cuda-hwaccel \ --disable-libv4l2 \ --disable-opensles \ - --disable-rpi \ --disable-rsound \ --disable-rubberband \ --disable-uchardet \ @@ -169,6 +168,14 @@ else MPV_CONF_OPTS += --disable-sdl1 --disable-sdl2 endif +# Raspberry Pi support +ifeq ($(BR2_PACKAGE_RPI_USERLAND),y) +MPV_CONF_OPTS += --enable-rpi --enable-gl +FFMPEG_DEPENDENCIES += rpi-userland +else +MPV_CONF_OPTS += --disable-rpi +endif + # va-api support # This requires one or more of the egl-drm, wayland, x11 backends # For now we support wayland and x11 |