aboutsummaryrefslogtreecommitdiff
path: root/package/libdvdread
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2016-06-19 18:20:26 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2016-06-19 23:07:41 +0200
commit0306b5926493e3b153ed32f20f131f0407552bdb (patch)
tree542da1efd2023460de2c8d0537bf891564990796 /package/libdvdread
parent26a7e5594f72dd46f1c423f53b3433e1a22bef3f (diff)
downloadbuildroot-0306b5926493e3b153ed32f20f131f0407552bdb.tar.gz
buildroot-0306b5926493e3b153ed32f20f131f0407552bdb.tar.bz2
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>
Diffstat (limited to 'package/libdvdread')
-rw-r--r--package/libdvdread/libdvdread.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/libdvdread/libdvdread.mk b/package/libdvdread/libdvdread.mk
index 78ea292002..b8541faa7f 100644
--- a/package/libdvdread/libdvdread.mk
+++ b/package/libdvdread/libdvdread.mk
@@ -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))