aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia/recipes-mkv
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-07-21 13:00:12 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2013-07-30 11:17:12 +0200
commit5fc511458b189649197cc11680e91a2610d68415 (patch)
tree79c203bd53b876504895be7e49e80cacdaaf0ca3 /meta-multimedia/recipes-mkv
parente3f30cfa389638cd951c573352260131424e9798 (diff)
downloadmeta-openembedded-contrib-5fc511458b189649197cc11680e91a2610d68415.tar.gz
meta-openembedded-contrib-5fc511458b189649197cc11680e91a2610d68415.tar.bz2
meta-openembedded-contrib-5fc511458b189649197cc11680e91a2610d68415.zip
mkvtoolnix: inherit gettext and export RUBYLIB
* fails to call msgfmt in do_compile: MSGFMT po/cs.po ERROR: Function failed: do_compile (see mkvtoolnix/5.9.0-r0/temp/log.do_compile.3794 for further information) * fails to find rubygems.rb: <internal:gem_prelude>:1:in `require': cannot load such file rubygems.rb (LoadError) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-multimedia/recipes-mkv')
-rw-r--r--meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_5.9.0.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_5.9.0.bb b/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_5.9.0.bb
index 13edaa95f7..010659425e 100644
--- a/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_5.9.0.bb
+++ b/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_5.9.0.bb
@@ -10,7 +10,13 @@ SRC_URI = "http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-${PV}.
SRC_URI[md5sum] = "033621461ef8eb922fc1366e0a9a6f16"
SRC_URI[sha256sum] = "d913f531331c3332d2fb334c872ea19bfea7293dfedc4bf33ae7162e4efcbde1"
-inherit autotools
+inherit autotools 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}"
EXTRA_OECONF = " --with-boost-libdir=${STAGING_LIBDIR} \
"