package/libaacs: new package
PATCH 1/4 package/libaacs: new package
--- package/Config.in | 1 + package/libaacs/Config.in | 14 ++++++++++++++ package/libaacs/libaacs.hash | 2 ++ package/libaacs/libaacs.mk | 24 ++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 package/libaacs/Config.in create mode 100644 package/libaacs/libaacs.hash create mode 100644 package/libaacs/libaacs.mk
package/Config.in +1 -0
@@ -1116,6 +1116,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"
package/libaacs/Config.in new file +14 -0
@@ -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
package/libaacs/libaacs.hash new file +2 -0
@@ -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
package/libaacs/libaacs.mk new file +24 -0
@@ -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))
Signature · 1 line
2.8.1
PATCH 2/4 package/libbluray: add support for libaacs
--- package/libbluray/libbluray.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/libbluray/libbluray.mk +5 -0
@@ -14,6 +14,11 @@ LIBBLURAY_DEPENDENCIES = host-pkgconf LIBBLURAY_CONF_OPTS = --enable-udf --disable-bdjava +# libaacs is a run-time dependency loaded by dlopen +ifeq ($(BR2_PACKAGE_LIBAACS),y) +LIBBLURAY_DEPENDENCIES += libaacs +endif + ifeq ($(BR2_PACKAGE_LIBICONV),y) LIBBLURAY_DEPENDENCIES += libiconv endif
Signature · 1 line
2.8.1
PATCH 2/4 package/libbluray: add support for libaacs
Hello,
Quoted 10 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>--- package/libbluray/libbluray.mk | 5 +++++ 1 file changed, 5 insertions(+)package/libbluray/libbluray.mk +0
-0
package/libbluray/libbluray.mk LIBBLURAY_DEPENDENCIES = host-pkgconf · line 17
Quoted 4 lines
package/libbluray/libbluray.mk +1
-0@@ -14,6 +14,11 @@ LIBBLURAY_DEPENDENCIES = host-pkgconf LIBBLURAY_CONF_OPTS = --enable-udf --disable-bdjava +# libaacs is a run-time dependency loaded by dlopen
If it's a runtime dependency loaded by dlopen(), then there is no reason to have it built *before* libbluray. So I've marked this patch as Rejected. Let me know if you disagree, of course.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 3/4 package/libbdplus: new package
In reply to Bernd Kuhls--- package/Config.in | 1 + package/libbdplus/Config.in | 17 +++++++++++++++++ package/libbdplus/libbdplus.hash | 2 ++ package/libbdplus/libbdplus.mk | 31 +++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 package/libbdplus/Config.in create mode 100644 package/libbdplus/libbdplus.hash create mode 100644 package/libbdplus/libbdplus.mk
package/Config.in +1 -0
@@ -1118,6 +1118,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"
package/libbdplus/Config.in new file +17 -0
@@ -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
package/libbdplus/libbdplus.hash new file +2 -0
@@ -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
package/libbdplus/libbdplus.mk new file +31 -0
@@ -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))
Signature · 1 line
2.8.1
Thomas Petazzoni
AppliedPATCH 3/4 package/libbdplus: new package
Hello,
Quoted 10 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>--- package/Config.in | 1 + package/libbdplus/Config.in | 17 +++++++++++++++++ package/libbdplus/libbdplus.hash | 2 ++ package/libbdplus/libbdplus.mk | 31 +++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 package/libbdplus/Config.in create mode 100644 package/libbdplus/libbdplus.hash create mode 100644 package/libbdplus/libbdplus.mk
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 4/4 package/libbluray: add support for libbdplus
In reply to Bernd Kuhls--- package/libbluray/libbluray.mk | 5 +++++ 1 file changed, 5 insertions(+)
package/libbluray/libbluray.mk +5 -0
@@ -19,6 +19,11 @@ ifeq ($(BR2_PACKAGE_LIBAACS),y) LIBBLURAY_DEPENDENCIES += libaacs endif +# libbdplus is a run-time dependency loaded by dlopen +ifeq ($(BR2_PACKAGE_LIBBDPLUS),y) +LIBBLURAY_DEPENDENCIES += libbdplus +endif + ifeq ($(BR2_PACKAGE_LIBICONV),y) LIBBLURAY_DEPENDENCIES += libiconv endif
Signature · 1 line
2.8.1
PATCH 4/4 package/libbluray: add support for libbdplus
Hello,
package/libbluray/libbluray.mk ifeq ($(BR2_PACKAGE_LIBAACS),y) · line 25
Quoted 4 lines · Bernd Kuhls
package/libbluray/libbluray.mk +4
-0+# libbdplus is a run-time dependency loaded by dlopen +ifeq ($(BR2_PACKAGE_LIBBDPLUS),y) +LIBBLURAY_DEPENDENCIES += libbdplus +endif
For the same reason as PATCH 2/4, I marked this patch as Rejected in patchwork. Let me know if you disagree.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Thomas Petazzoni
AppliedPATCH 1/4 package/libaacs: new package
In reply to Bernd KuhlsHello,
Quoted 10 lines · Bernd Kuhls
Signed-off-by Bernd Kuhls <[email protected]>--- package/Config.in | 1 + package/libaacs/Config.in | 14 ++++++++++++++ package/libaacs/libaacs.hash | 2 ++ package/libaacs/libaacs.mk | 24 ++++++++++++++++++++++++ 4 files changed, 41 insertions(+) create mode 100644 package/libaacs/Config.in create mode 100644 package/libaacs/libaacs.hash create mode 100644 package/libaacs/libaacs.mk
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com