aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-mkv
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2013-01-27 15:41:17 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-01-27 23:54:09 +0100
commit5f5ebc9bfc68f7fa1989047af331bbb36459a594 (patch)
tree13b92cb456f4f2b9dfd7bfe39e692fd784d37d79 /meta-multimedia/recipes-mkv
parentdd7acc094e6e554cad58287939f2cf57d89985fd (diff)
downloadmeta-openembedded-contrib-5f5ebc9bfc68f7fa1989047af331bbb36459a594.tar.gz
meta-openembedded-contrib-5f5ebc9bfc68f7fa1989047af331bbb36459a594.tar.bz2
meta-openembedded-contrib-5f5ebc9bfc68f7fa1989047af331bbb36459a594.zip
libmatroska: add 1.3.0
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-mkv')
-rw-r--r--meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.3.0.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.3.0.bb b/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.3.0.bb
new file mode 100644
index 0000000000..3a3dd0e957
--- /dev/null
+++ b/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.3.0.bb
@@ -0,0 +1,33 @@
+SUMMARY = "libmatroska is a C++ libary to parse Matroska files (.mkv and .mka)"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575"
+
+DEPENDS = "libebml"
+
+SRC_URI = "http://dl.matroska.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2"
+SRC_URI[md5sum] = "f4a8c411f09d39c754eb726efd616043"
+SRC_URI[sha256sum] = "5231ec958571365e719a6fd3c220227af6cf0f14e0bd1bcf766ddbc068d18e69"
+
+do_compile() {
+ cd ${S}/make/linux
+ oe_runmake CROSS="${TARGET_PREFIX}"
+}
+
+do_install() {
+ cd ${S}/make/linux
+
+ install -d ${D}${libdir}
+ install -m 0644 libmatroska.a ${D}${libdir}
+ install -m 0755 libmatroska.so.* ${D}${libdir}
+ cp -a libmatroska.so ${D}${libdir}
+
+ install -d ${D}${includedir}/matroska
+ for i in ../../matroska/*.h; do
+ install -m 0644 $i ${D}${includedir}/matroska
+ done
+
+ install -d ${D}${includedir}/matroska/c
+ for i in ../../matroska/c/*.h; do
+ install -m 0644 $i ${D}${includedir}/matroska/c
+ done
+}