summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 000000000..3a3dd0e95
--- /dev/null
+++ b/meta-multimedia/recipes-mkv/libmatroska/libmatroska_1.3.0.bb
@@ -0,0 +1,33 @@
1SUMMARY = "libmatroska is a C++ libary to parse Matroska files (.mkv and .mka)"
2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575"
4
5DEPENDS = "libebml"
6
7SRC_URI = "http://dl.matroska.org/downloads/${BPN}/${BPN}-${PV}.tar.bz2"
8SRC_URI[md5sum] = "f4a8c411f09d39c754eb726efd616043"
9SRC_URI[sha256sum] = "5231ec958571365e719a6fd3c220227af6cf0f14e0bd1bcf766ddbc068d18e69"
10
11do_compile() {
12 cd ${S}/make/linux
13 oe_runmake CROSS="${TARGET_PREFIX}"
14}
15
16do_install() {
17 cd ${S}/make/linux
18
19 install -d ${D}${libdir}
20 install -m 0644 libmatroska.a ${D}${libdir}
21 install -m 0755 libmatroska.so.* ${D}${libdir}
22 cp -a libmatroska.so ${D}${libdir}
23
24 install -d ${D}${includedir}/matroska
25 for i in ../../matroska/*.h; do
26 install -m 0644 $i ${D}${includedir}/matroska
27 done
28
29 install -d ${D}${includedir}/matroska/c
30 for i in ../../matroska/c/*.h; do
31 install -m 0644 $i ${D}${includedir}/matroska/c
32 done
33}