#Maintainer: Dimitris Tzemos pkgname=mkvtoolnix pkgver=29.0.0 pkgrel=1dj source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-$pkgver.tar.xz" "patch-boost-1.69.patch") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.bunkus.org/videotools/mkvtoolnix/index.html doinst() { # update the mime desktop database if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q fi # update the mime database if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "MKVToolnix (Matroska tools)" "MKVToolnix is a set of tools to create, alter and inspect Matroska" "files. They do for Matroska what the OGMtools do for the OGM format" "and then some." ) build() { cd $startdir/src/mkvtoolnix-$pkgver CXXFLAGS+=' -std=c++14' patch -p0 < $startdir/src/patch-boost-1.69.patch || return 1 ./autogen.sh || return 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-update-check --disable-optimization --with-boost --build=$arch-slackware-linux rake || return 1 rake install DESTDIR=$startdir/pkg }