# Template file for 'mkvtoolnix'
pkgname=mkvtoolnix
version=8.9.0
revision=1
build_style=gnu-configure
configure_args="--without-curl"
hostmakedepends="autoconf pkg-config ruby"
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=3208b2849339a8617b12922749c9325eb87c3755a943f88731605e3729aaa0d4
nocross=yes

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