f8ce5158ca
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
32 lines
1.1 KiB
Bash
32 lines
1.1 KiB
Bash
# Template file for 'mkvtoolnix'
|
|
pkgname=mkvtoolnix
|
|
version=31.0.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-docbook-xsl-root=/usr/share/xsl/docbook --enable-qt"
|
|
hostmakedepends="autoconf docbook-xsl libxslt pkg-config ruby"
|
|
makedepends="boost-devel cmark-devel file-devel json-c++
|
|
libflac-devel libmatroska-devel libvorbis-devel pugixml-devel
|
|
qt5-multimedia-devel qt5-tools-devel"
|
|
short_desc="Create, alter and inspect Matroska videos"
|
|
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://www.bunkus.org/videotools/mkvtoolnix/"
|
|
changelog="https://mkvtoolnix.download/doc/NEWS.md"
|
|
distfiles="https://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${version}.tar.xz"
|
|
checksum=f98a8c3a00e48ceb9a56ec5cb1f89b7663bbc5ace88713f9f087fdaaa2501b35
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" --with-boost=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends+=" qt5-host-tools qt5-multimedia-devel qt5-tools-devel"
|
|
fi
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
do_build() {
|
|
rake ${makejobs}
|
|
}
|
|
do_install() {
|
|
rake DESTDIR=${DESTDIR} install
|
|
}
|