# Template file for 'mkvtoolnix'
pkgname=mkvtoolnix
version=9.9.0
revision=1
build_style=gnu-configure
configure_args="--without-curl --with-docbook-xsl-root=/usr/share/xsl/docbook"
hostmakedepends="autoconf pkg-config ruby libxslt docbook-xsl"
makedepends="libebml-devel libmatroska-devel boost-devel libvorbis-devel
 libflac-devel file-devel qt5-devel qt5-tools-devel"
short_desc="Create, alter and inspect Matroska videos"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="https://www.bunkus.org/videotools/mkvtoolnix/"
distfiles="${homepage}/sources/${pkgname}-${version}.tar.xz"
checksum=f06c9359bd197b5de6556a05506f0ea9ddab72045b72f1ed04b1807e4e042043
# Cross compiling fails due to dependency chain eigen -> jack -> pulseaudio
nocross=yes

pre_configure() {
	./autogen.sh
}
do_build() {
	rake ${makejobs}
}
do_install() {
	rake DESTDIR=${DESTDIR} install
}
