aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-07-20 17:32:46 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-07-22 00:01:59 +0200
commit6059b748ca58fa105157223762f61c95e54d9416 (patch)
tree8fb722cbdb635376f0b222be4f5f6dee78392839 /meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
parente49e5d601af97afd026cad424065f678c47d2cc1 (diff)
downloadmeta-openembedded-contrib-6059b748ca58fa105157223762f61c95e54d9416.tar.gz
meta-openembedded-contrib-6059b748ca58fa105157223762f61c95e54d9416.tar.bz2
meta-openembedded-contrib-6059b748ca58fa105157223762f61c95e54d9416.zip
libebml: upgrade to 1.3.0 required by mkvtoolnix
* otherwise mkvtoolnix tries to use it's own internal git submodule with libebml and fails when B!=S Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb')
-rw-r--r--meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb b/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
new file mode 100644
index 0000000000..877e176b86
--- /dev/null
+++ b/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
@@ -0,0 +1,31 @@
+SUMMARY = "libebml is a C++ libary to parse EBML files"
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575"
+
+SRC_URI = "http://dl.matroska.org/downloads/libebml/libebml-${PV}.tar.bz2"
+SRC_URI[md5sum] = "efec729bf5a51e649e1d9d1f61c0ae7a"
+SRC_URI[sha256sum] = "83b074d6b62715aa0080406ea84d33df2e44b5d874096640233a4db49b8096de"
+
+do_compile() {
+ cd ${S}/make/linux
+ oe_runmake CROSS="${TARGET_PREFIX}"
+}
+
+do_install() {
+ cd ${S}/make/linux
+
+ install -d ${D}${libdir}
+ install -m 0644 libebml.a ${D}${libdir}
+ install -m 0755 libebml.so.* ${D}${libdir}
+ cp -a libebml.so ${D}${libdir}
+
+ install -d ${D}${includedir}/ebml
+ for i in ../../ebml/*.h; do
+ install -m 0644 $i ${D}${includedir}/ebml
+ done
+
+ install -d ${D}${includedir}/ebml/c
+ for i in ../../ebml/c/*.h; do
+ install -m 0644 $i ${D}${includedir}/ebml/c
+ done
+}