forked from ports/contrib
31 lines
731 B
Plaintext
31 lines
731 B
Plaintext
# Description: Tools to create, alter and inspect Matroska files.
|
|
# URL: https://mkvtoolnix.download/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: boost file flac libmatroska libvorbis ruby docbook-xsl
|
|
# Optional: wxgtk
|
|
|
|
name=mkvtoolnix
|
|
version=16.0.0
|
|
release=1
|
|
source=(https://mkvtoolnix.download/sources/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
local JOBS=$(awk 'BEGIN{RS="-j|--jobs="} NR==2 {print $1}' <<< $MAKEFLAGS)
|
|
test -n "$JOBS" && export JOBS="-j $JOBS"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-precompiled-headers \
|
|
--disable-update-check
|
|
|
|
rake $JOBS
|
|
rake DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
|
|
# remove doc's if wxgtk is installed
|
|
rm -rf $PKG/usr/share/doc
|
|
}
|