diff --git a/package/libdvdread/Config.in b/package/libdvdread/Config.in index dea59eb055..91bec83a40 100644 --- a/package/libdvdread/Config.in +++ b/package/libdvdread/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_LIBDVDREAD bool "libdvdread" + select BR2_PACKAGE_LIBDVDCSS help libdvdread provides a simple foundation for reading DVD-Video images. diff --git a/package/libdvdread/libdvdread.mk b/package/libdvdread/libdvdread.mk index b8541faa7f..c92eca563f 100644 --- a/package/libdvdread/libdvdread.mk +++ b/package/libdvdread/libdvdread.mk @@ -10,12 +10,7 @@ LIBDVDREAD_SITE = http://www.videolan.org/pub/videolan/libdvdread/$(LIBDVDREAD_V LIBDVDREAD_INSTALL_STAGING = YES LIBDVDREAD_LICENSE = GPLv2+ LIBDVDREAD_LICENSE_FILES = COPYING - -ifeq ($(BR2_PACKAGE_LIBDVDCSS),y) -LIBDVDREAD_CONF_OPTS += --with-libdvdcss -LIBDVDREAD_DEPENDENCIES += libdvdcss -else -LIBDVDREAD_CONF_OPTS += --without-libdvdcss -endif +LIBDVDREAD_CONF_OPTS = --with-libdvdcss +LIBDVDREAD_DEPENDENCIES = libdvdcss $(eval $(autotools-package))