mpv: enable cdda support through libcdio-paranoia
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 1 Apr 2018 19:36:53 +0000 (21:36 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 1 Apr 2018 22:44:24 +0000 (00:44 +0200)
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/mpv/mpv.mk

index f38a6b916f7fdbe826a611b8ad8f7ae34d2868b4..b8260213b7de714571702f06cfdf83709f5b5d15 100644 (file)
@@ -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