aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2014-08-27 09:24:25 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-08-28 19:55:38 +0200
commitbda4fdf91217a0cd35053053146b649ed62afb2f (patch)
tree668227164b948f0d45bfd922a15ba0ac6215f2fb /meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb
parentf6e6d632dbe23fe69c3363d9d70622cc69b25df1 (diff)
downloadmeta-openembedded-contrib-bda4fdf91217a0cd35053053146b649ed62afb2f.tar.gz
meta-openembedded-contrib-bda4fdf91217a0cd35053053146b649ed62afb2f.tar.bz2
meta-openembedded-contrib-bda4fdf91217a0cd35053053146b649ed62afb2f.zip
mkvtoolnix: update to 7.1.0+git
This fixes compilation with boot 1.56+ 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/mkvtoolnix/mkvtoolnix_git.bb')
-rw-r--r--meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb b/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb
new file mode 100644
index 0000000000..8d7702429e
--- /dev/null
+++ b/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb
@@ -0,0 +1,41 @@
+SUMMARY = "MKVToolNix -- Cross-platform tools for Matroska"
+HOMEPAGE = "http://www.bunkus.org/videotools/mkvtoolnix/source.html"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "curl boost expat zlib libebml libmatroska libogg libvorbis bzip2 lzo file ruby-native"
+
+PV = "7.1.0+git${SRCPV}"
+SRCREV = "0c89ff941bfdd9f3378312f293a84f13cf3e2a96"
+SRC_URI = "git://github.com/mbunkus/mkvtoolnix.git"
+
+S = "${WORKDIR}/git"
+
+inherit autotools-brokensep gettext
+
+# make sure rb files are used from sysroot, not from host
+# ruby-1.9.3-always-use-i386.patch is doing target_cpu=`echo $target_cpu | sed s/i.86/i386/`
+# we need to replace it too (a bit longer version without importing re)
+RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }"
+export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[flac] = "--with-flac,--without-flac,flac"
+
+EXTRA_OECONF = " --with-boost-libdir=${STAGING_LIBDIR} \
+"
+
+# remove some hardcoded searchpaths
+do_configure_prepend() {
+ sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e s:/usr/local/include:${STAGING_INCDIR}:g ${S}/ac/ebml.m4
+}
+
+# Yeah, no makefile
+do_compile() {
+ ${S}/drake
+}
+
+do_install() {
+ ${S}/drake install DESTDIR=${D}
+}