package/libdvdread: add optional support for libdvdcss

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls 2016-06-19 18:20:26 +02:00 committed by Peter Korsgaard
parent 26a7e5594f
commit 0306b59264

View File

@ -11,4 +11,11 @@ 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
$(eval $(autotools-package))