source "package/bitstream/Config.in"
source "package/libaacs/Config.in"
source "package/libass/Config.in"
+ source "package/libbdplus/Config.in"
source "package/libbluray/Config.in"
source "package/libdcadec/Config.in"
source "package/libdvbcsa/Config.in"
--- /dev/null
+config BR2_PACKAGE_LIBBDPLUS
+ bool "libbdplus"
+ depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_STATIC_LIBS
+ help
+ libbdplus is a research project to implement the BD+ System
+ Specifications.
+ This research project provides, through an open-source
+ library, a way to understand how the BD+ works.
+ NB: this project doesn't offer any key, configuration file or
+ certificate that could be used to decode encrypted copyrighted
+ material.
+
+ http://www.videolan.org/developers/libbdplus.html
+
+comment "libbdplus needs a toolchain w/ threads, dynamic library"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
--- /dev/null
+# From http://download.videolan.org/pub/videolan/libbdplus/0.1.2/libbdplus-0.1.2.tar.bz2.sha512
+sha512 e00e7bc9f52b9275646593b753ba646b052255be94a7241965f4dbe4734f8f6a072973ed4b9997957f939236b0633897c295749f79e232188430795be5b5087b libbdplus-0.1.2.tar.bz2
--- /dev/null
+################################################################################
+#
+# libbdplus
+#
+################################################################################
+
+LIBBDPLUS_VERSION = 0.1.2
+LIBBDPLUS_SITE = http://download.videolan.org/pub/videolan/libbdplus/$(LIBBDPLUS_VERSION)
+LIBBDPLUS_SOURCE = libbdplus-$(LIBBDPLUS_VERSION).tar.bz2
+LIBBDPLUS_LICENSE = LGPLv2.1+
+LIBBDPLUS_LICENSE_FILES = COPYING
+LIBBDPLUS_INSTALL_STAGING = YES
+LIBBDPLUS_DEPENDENCIES = libgcrypt
+LIBBDPLUS_CONF_OPTS = \
+ --disable-werror \
+ --disable-extra-warnings \
+ --disable-optimizations \
+ --disable-examples \
+ --disable-debug \
+ --with-gnu-ld \
+ --with-libgcrypt-prefix=$(STAGING_DIR)/usr \
+ --with-gpg-error-prefix=$(STAGING_DIR)/usr
+
+ifeq ($(BR2_PACKAGE_LIBAACS),y)
+LIBBDPLUS_DEPENDENCIES += libaacs
+LIBBDPLUS_CONF_OPTS += --with-libaacs
+else
+LIBBDPLUS_CONF_OPTS += --without-libaacs
+endif
+
+$(eval $(autotools-package))