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
|
2023-01-03 15:22:47 +01:00
|
|
|
# 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
|
2023-01-03 15:22:47 +01:00
|
|
|
version=73.0.0
|
2015-12-02 13:32:18 +01:00
|
|
|
release=1
|
2023-01-03 15:22:47 +01:00
|
|
|
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
|
|
|
|
2023-01-03 15:22:47 +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 \
|
2023-01-03 15:22:47 +01:00
|
|
|
--enable-qt6 \
|
|
|
|
--with-qmake=/usr/lib/qt6/bin/qmake6 \
|
|
|
|
--disable-optimization \
|
2015-12-02 13:32:18 +01:00
|
|
|
--disable-precompiled-headers \
|
2023-01-03 15:22:47 +01:00
|
|
|
--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
|
2013-03-05 12:33:29 +01:00
|
|
|
rm -rf $PKG/usr/share/doc
|
2008-02-13 21:09:45 +01:00
|
|
|
}
|