diff options
Diffstat (limited to 'meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb')
-rw-r--r-- | meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb | 41 |
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 000000000..dd613b31f --- /dev/null +++ b/meta-multimedia/recipes-mkv/mkvtoolnix/mkvtoolnix_git.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | SUMMARY = "MKVToolNix -- Cross-platform tools for Matroska" | ||
2 | HOMEPAGE = "http://www.bunkus.org/videotools/mkvtoolnix/source.html" | ||
3 | |||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
6 | |||
7 | DEPENDS = "curl boost expat zlib libebml libmatroska libogg libvorbis bzip2 lzo file ruby-native" | ||
8 | |||
9 | PV = "7.1.0+git${SRCPV}" | ||
10 | SRCREV = "0c89ff941bfdd9f3378312f293a84f13cf3e2a96" | ||
11 | SRC_URI = "git://github.com/mbunkus/mkvtoolnix.git" | ||
12 | |||
13 | S = "${WORKDIR}/git" | ||
14 | |||
15 | inherit autotools-brokensep gettext | ||
16 | |||
17 | # make sure rb files are used from sysroot, not from host | ||
18 | # ruby-1.9.3-always-use-i386.patch is doing target_cpu=`echo $target_cpu | sed s/i.86/i386/` | ||
19 | # we need to replace it too (a bit longer version without importing re) | ||
20 | RUBY_SYS = "${@ '${BUILD_SYS}'.replace('i486', 'i386').replace('i586', 'i386').replace('i686', 'i386') }" | ||
21 | export RUBYLIB="${STAGING_DATADIR_NATIVE}/rubygems:${STAGING_LIBDIR_NATIVE}/ruby:${STAGING_LIBDIR_NATIVE}/ruby/${RUBY_SYS}" | ||
22 | |||
23 | PACKAGECONFIG ??= "" | ||
24 | PACKAGECONFIG[flac] = "--with-flac,--without-flac,flac" | ||
25 | |||
26 | EXTRA_OECONF = " --with-boost-libdir=${STAGING_LIBDIR} \ | ||
27 | " | ||
28 | |||
29 | # remove some hardcoded searchpaths | ||
30 | do_configure_prepend() { | ||
31 | sed -i -e s:/usr/local/lib:${STAGING_LIBDIR}:g -e s:/usr/local/include:${STAGING_INCDIR}:g ${S}/ac/ebml.m4 | ||
32 | } | ||
33 | |||
34 | # Yeah, no makefile | ||
35 | do_compile() { | ||
36 | ${S}/drake ${PARALLEL_MAKE} | ||
37 | } | ||
38 | |||
39 | do_install() { | ||
40 | ${S}/drake install DESTDIR=${D} | ||
41 | } | ||