package/libbdplus: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2016-07-02 21:25:07 +02:00 committed by Thomas Petazzoni
parent dbe16f2a36
commit 3cdbedcec4
4 changed files with 51 additions and 0 deletions

View File

@ -1114,6 +1114,7 @@ menu "Multimedia"
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"

View File

@ -0,0 +1,17 @@
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

View File

@ -0,0 +1,2 @@
# 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

View File

@ -0,0 +1,31 @@
################################################################################
#
# 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))