From cc22fb65c3942b40c165ad7a2e1ec4796fa08a8d Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 1 Apr 2018 21:36:53 +0200 Subject: [PATCH] mpv: enable cdda support through libcdio-paranoia Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- package/mpv/mpv.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/package/mpv/mpv.mk b/package/mpv/mpv.mk index f38a6b916f..b8260213b7 100644 --- a/package/mpv/mpv.mk +++ b/package/mpv/mpv.mk @@ -20,7 +20,6 @@ MPV_CONF_OPTS = \ --prefix=/usr \ --disable-android \ --disable-caca \ - --disable-cdda \ --disable-cocoa \ --disable-coreaudio \ --disable-cuda-hwaccel \ @@ -99,6 +98,14 @@ else MPV_CONF_OPTS += --disable-libbluray endif +# libcdio-paranoia +ifeq ($(BR2_PACKAGE_LIBCDIO_PARANOIA),y) +MPV_CONF_OPTS += --enable-cdda +MPV_DEPENDENCIES += libcdio-paranoia +else +MPV_CONF_OPTS += --disable-cdda +endif + # libdvdnav ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) MPV_CONF_OPTS += --enable-dvdnav