package/libaacs: 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:05 +02:00 committed by Thomas Petazzoni
parent ea6daf6193
commit dbe16f2a36
4 changed files with 41 additions and 0 deletions

View File

@ -1112,6 +1112,7 @@ endmenu
menu "Multimedia"
source "package/bitstream/Config.in"
source "package/libaacs/Config.in"
source "package/libass/Config.in"
source "package/libbluray/Config.in"
source "package/libdcadec/Config.in"

14
package/libaacs/Config.in Normal file
View File

@ -0,0 +1,14 @@
config BR2_PACKAGE_LIBAACS
bool "libaacs"
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_LIBGCRYPT
help
libaacs is a research project to implement the Advanced Access
Content System specification.
NB: this project doesn't offer any key or certificate that
could be used to decode encrypted copyrighted material.
http://www.videolan.org/developers/libaacs.html
comment "libaacs needs a toolchain w/ dynamic library"
depends on BR2_STATIC_LIBS

View File

@ -0,0 +1,2 @@
# From http://download.videolan.org/pub/videolan/libaacs/0.8.1/libaacs-0.8.1.tar.bz2.sha512
sha512 dd677627f073460b719b9f836b026acc3e23b166c7b16bd205cf2ca97c376095980532fb15087c0d77b30c712cd5a5dd90b2cc2ae3128da717621ebd825afcc4 libaacs-0.8.1.tar.bz2

View File

@ -0,0 +1,24 @@
################################################################################
#
# libaacs
#
################################################################################
LIBAACS_VERSION = 0.8.1
LIBAACS_SITE = http://download.videolan.org/pub/videolan/libaacs/$(LIBAACS_VERSION)
LIBAACS_SOURCE = libaacs-$(LIBAACS_VERSION).tar.bz2
LIBAACS_LICENSE = LGPLv2.1+
LIBAACS_LICENSE_FILES = COPYING
LIBAACS_INSTALL_STAGING = YES
LIBAACS_DEPENDENCIES = host-bison host-flex libgcrypt
LIBAACS_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
$(eval $(autotools-package))