aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-mkv
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2017-07-28 16:03:19 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-13 13:19:41 +0200
commit26dafa0f354207e110935d0d3218e5d7edf14ed8 (patch)
tree3faf40a57d042a7b94e868397a964c04e20f2e5e /meta-multimedia/recipes-mkv
parente406d4f5ae8c3ad735611c2f1a4a8df1c9e1db6d (diff)
downloadmeta-openembedded-contrib-26dafa0f354207e110935d0d3218e5d7edf14ed8.tar.gz
meta-openembedded-contrib-26dafa0f354207e110935d0d3218e5d7edf14ed8.tar.bz2
meta-openembedded-contrib-26dafa0f354207e110935d0d3218e5d7edf14ed8.zip
libebml: inherit dos2unix
Drop do_unpack postfuncs dos2unix, inherit dos2unix.bbclass instead, to make the code cleaner. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-mkv')
-rw-r--r--meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb12
1 files changed, 2 insertions, 10 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
index bbbe563889..16e17e9abe 100644
--- a/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
+++ b/meta-multimedia/recipes-mkv/libebml/libebml_1.3.0.bb
@@ -1,6 +1,6 @@
SUMMARY = "libebml is a C++ libary to parse EBML files"
LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=f14599a2f089f6ff8c97e2baa4e3d575"
+LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=7fbc338309ac38fefcd64b04bb903e34"
SRC_URI = "\
http://dl.matroska.org/downloads/libebml/libebml-${PV}.tar.bz2 \
@@ -10,15 +10,7 @@ SRC_URI = "\
SRC_URI[md5sum] = "efec729bf5a51e649e1d9d1f61c0ae7a"
SRC_URI[sha256sum] = "83b074d6b62715aa0080406ea84d33df2e44b5d874096640233a4db49b8096de"
-do_unpack[postfuncs] += "dos2unix"
-
-dos2unix () {
- cr="$(printf '\r')"
- for f in ${S}/make/*/Makefile; do
- tr -d "$cr" <"$f" >"$f.new" && \
- mv "$f.new" "$f"
- done
-}
+inherit dos2unix
LIBEBML_OS = "Unknown"
LIBEBML_OS_linux = "Linux"