libdvbpsi: new package
authorPieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Wed, 30 Dec 2015 14:45:54 +0000 (15:45 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Dec 2015 22:28:04 +0000 (23:28 +0100)
libdvbpsi is a library used by vlc for decoding MPEG TS

[Thomas:
 - add missing Config.in comment about the thread dependency.]

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/libdvbpsi/Config.in [new file with mode: 0644]
package/libdvbpsi/libdvbpsi.hash [new file with mode: 0644]
package/libdvbpsi/libdvbpsi.mk [new file with mode: 0644]

index 25e574f14d0dea54c0016c0643783aed0e6d6a0a..9145d15944f62d14b166b87f5bb454eb422433aa 100644 (file)
@@ -1017,6 +1017,7 @@ menu "Multimedia"
        source "package/libbluray/Config.in"
        source "package/libdcadec/Config.in"
        source "package/libdvbcsa/Config.in"
+       source "package/libdvbpsi/Config.in"
        source "package/libdvbsi/Config.in"
        source "package/libdvdnav/Config.in"
        source "package/libdvdread/Config.in"
diff --git a/package/libdvbpsi/Config.in b/package/libdvbpsi/Config.in
new file mode 100644 (file)
index 0000000..4d543bc
--- /dev/null
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LIBDVBPSI
+       bool "libdvbpsi"
+       depends on BR2_TOOLCHAIN_HAS_THREADS
+       help
+         libdvbpsi is a simple library designed for decoding and
+         generation of MPEG TS and DVB PSI tables according to standards
+         ISO/IEC 13818 and ITU-T H.222.0.
+
+         http://www.videolan.org/developers/libdvbpsi.html
+
+comment "libdvbpsi needs a toolchain w/ threads"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/libdvbpsi/libdvbpsi.hash b/package/libdvbpsi/libdvbpsi.hash
new file mode 100644 (file)
index 0000000..cf76616
--- /dev/null
@@ -0,0 +1,4 @@
+# From http://download.videolan.org/pub/libdvbpsi/1.3.0/libdvbpsi-1.3.0.tar.bz2.md5
+md5    2b217039a1299000c39423441f77e76a        libdvbpsi-1.3.0.tar.bz2
+# From http://download.videolan.org/pub/libdvbpsi/1.3.0/libdvbpsi-1.3.0.tar.bz2.sha256
+sha256 a2fed1d11980662f919bbd1f29e2462719e0f6227e1a531310bd5a706db0a1fe        libdvbpsi-1.3.0.tar.bz2
diff --git a/package/libdvbpsi/libdvbpsi.mk b/package/libdvbpsi/libdvbpsi.mk
new file mode 100644 (file)
index 0000000..218c19e
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# libdvbpsi
+#
+################################################################################
+
+LIBDVBPSI_VERSION = 1.3.0
+LIBDVBPSI_SITE = http://download.videolan.org/pub/libdvbpsi/$(LIBDVBPSI_VERSION)
+LIBDVBPSI_SOURCE = libdvbpsi-$(LIBDVBPSI_VERSION).tar.bz2
+LIBDVBPSI_LICENSE = LGPLv2.1+
+LIBDVBPSI_LICENSE_FILES = COPYING
+LIBDVBPSI_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))