Enable cdda if libcdio-paranoia and libgudev are available
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
# Most of these are missing library support
GVFS_CONF_OPTS = \
--disable-afc \
- --disable-cdda \
--disable-gcr \
--disable-gdu \
--disable-goa \
GVFS_CONF_OPTS += --disable-admin
endif
+ifeq ($(BR2_PACKAGE_LIBCDIO_PARANOIA)$(BR2_PACKAGE_LIBGUDEV),yy)
+GVFS_DEPENDENCIES += libcdio-paranoia libgudev
+GVFS_CONF_OPTS += --enable-cdda
+else
+GVFS_CONF_OPTS += --disable-cdda
+endif
+
ifeq ($(BR2_PACKAGE_LIBFUSE),y)
GVFS_DEPENDENCIES += libfuse
GVFS_CONF_OPTS += --enable-fuse