package/libdvdread: add optional support for libdvdcss
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 19 Jun 2016 16:20:26 +0000 (18:20 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 19 Jun 2016 21:07:41 +0000 (23:07 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libdvdread/libdvdread.mk

index 78ea292002874fc1386d304479947372dfd13e42..b8541faa7fc6ab48adb62a87a1b7492b6f928079 100644 (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))