contrib/mkvtoolnix/Pkgfile

35 lines
915 B
Plaintext
Raw Normal View History

2010-12-14 14:18:57 +01:00
# Description: Tools to create, alter and inspect Matroska files.
2016-05-18 17:04:27 +02:00
# URL: https://mkvtoolnix.download/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: boost cmark docbook-xsl flac fmt libdvdread libmatroska nlohmann-json pugixml qt6-multimedia qt6-svg qt6-tools ruby
# Optional: hicolor-icon-theme
2008-02-13 21:09:45 +01:00
name=mkvtoolnix
version=73.0.0
2015-12-02 13:32:18 +01:00
release=1
source=(https://mkvtoolnix.download/sources/$name-$version.tar.xz
ruby3.2.patch)
2008-02-13 21:09:45 +01:00
2010-12-14 14:18:57 +01:00
build() {
2008-02-13 21:09:45 +01:00
cd $name-$version
2010-12-14 14:18:57 +01:00
patch -Np1 -i $SRC/ruby3.2.patch
rm -rf lib/{fmt,libebml,libmatroska,nlohmann-json,pugixml}
./autogen.sh
2021-08-22 17:21:42 +02:00
./configure $PKGMK_MKVTOOLNIX \
2008-02-13 21:09:45 +01:00
--prefix=/usr \
--enable-qt6 \
--with-qmake=/usr/lib/qt6/bin/qmake6 \
--disable-optimization \
2015-12-02 13:32:18 +01:00
--disable-precompiled-headers \
--disable-update-check \
--disable-qt5
2010-12-14 14:18:57 +01:00
2021-10-16 08:52:20 +02:00
rake --multitask --jobs=${JOBS-1}
2017-10-12 14:07:43 +02:00
rake DESTDIR=$PKG install
2010-12-15 14:11:22 +01:00
2017-10-12 14:07:43 +02:00
rm -r $PKG/usr/share/locale
rm -rf $PKG/usr/share/doc
2008-02-13 21:09:45 +01:00
}