aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2014-10-14 20:28:23 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-27 23:10:49 +0100
commit1f3481268c97e231632547a85c02a02df2d584de (patch)
treed86690897cfb52b6968d4e8e75f62d23a67b3720
parentf7c072aee5cd3bcf5fe162a69094dc9282648056 (diff)
downloadbuildroot-1f3481268c97e231632547a85c02a02df2d584de.tar.gz
buildroot-1f3481268c97e231632547a85c02a02df2d584de.tar.bz2
package/libdvbcsa: New package
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/libdvbcsa/Config.in9
-rw-r--r--package/libdvbcsa/libdvbcsa.hash4
-rw-r--r--package/libdvbcsa/libdvbcsa.mk31
4 files changed, 45 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 4f16a3923f..8be24f475b 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -756,6 +756,7 @@ endmenu
menu "Multimedia"
source "package/libass/Config.in"
source "package/libbluray/Config.in"
+ source "package/libdvbcsa/Config.in"
source "package/libdvbsi/Config.in"
source "package/libdvdnav/Config.in"
source "package/libdvdread/Config.in"
diff --git a/package/libdvbcsa/Config.in b/package/libdvbcsa/Config.in
new file mode 100644
index 0000000000..dd7dc15120
--- /dev/null
+++ b/package/libdvbcsa/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_LIBDVBCSA
+ bool "libdvbcsa"
+ help
+ libdvbcsa is a free implementation of the DVB Common Scrambling
+ Algorithm - DVB/CSA - with encryption and decryption capabilities
+
+ As libdvbcsa implements a standard, it is completely legal to use it.
+
+ http://www.videolan.org/developers/libdvbcsa.html
diff --git a/package/libdvbcsa/libdvbcsa.hash b/package/libdvbcsa/libdvbcsa.hash
new file mode 100644
index 0000000000..d8360e60bc
--- /dev/null
+++ b/package/libdvbcsa/libdvbcsa.hash
@@ -0,0 +1,4 @@
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha256
+sha256 4db78af5cdb2641dfb1136fe3531960a477c9e3e3b6ba19a2754d046af3f456d libdvbcsa-1.1.0.tar.gz
+# From http://download.videolan.org/pub/videolan/libdvbcsa/1.1.0/libdvbcsa-1.1.0.tar.gz.sha1
+sha1 5f4640a7e93ae6494f24a881414e5c343f803365 libdvbcsa-1.1.0.tar.gz
diff --git a/package/libdvbcsa/libdvbcsa.mk b/package/libdvbcsa/libdvbcsa.mk
new file mode 100644
index 0000000000..ef1d9572e0
--- /dev/null
+++ b/package/libdvbcsa/libdvbcsa.mk
@@ -0,0 +1,31 @@
+################################################################################
+#
+# libdvbcsa
+#
+################################################################################
+
+LIBDVBCSA_VERSION = 1.1.0
+LIBDVBCSA_SITE = http://download.videolan.org/pub/videolan/libdvbcsa/$(LIBDVBCSA_VERSION)
+LIBDVBCSA_LICENSE = GPLv2+
+LIBDVBCSA_LICENSE_FILES = COPYING
+LIBDVBCSA_INSTALL_STAGING = YES
+
+ifeq ($(BR2_X86_CPU_HAS_MMX),y)
+LIBDVBCSA_CONF_OPTS += --enable-mmx
+else
+LIBDVBCSA_CONF_OPTS += --disable-mmx
+endif
+
+ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
+LIBDVBCSA_CONF_OPTS += --enable-sse2
+else
+LIBDVBCSA_CONF_OPTS += --disable-sse2
+endif
+
+ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
+LIBDVBCSA_CONF_OPTS += --enable-altivec
+else
+LIBDVBCSA_CONF_OPTS += --disable-altivec
+endif
+
+$(eval $(autotools-package))