2010-12-15 00:18:57 +11:00
|
|
|
# Description: Tools to create, alter and inspect Matroska files.
|
2016-05-19 01:04:27 +10:00
|
|
|
# URL: https://mkvtoolnix.download/
|
2023-07-07 19:57:25 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-01-03 14:22:47 +00: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 15:09:45 -05:00
|
|
|
|
|
|
|
name=mkvtoolnix
|
2024-03-11 00:31:07 +01:00
|
|
|
version=83.0
|
2015-12-02 23:32:18 +11:00
|
|
|
release=1
|
2023-02-16 20:37:32 +01:00
|
|
|
source=(https://mkvtoolnix.download/sources/$name-$version.tar.xz)
|
2008-02-13 15:09:45 -05:00
|
|
|
|
2010-12-15 00:18:57 +11:00
|
|
|
build() {
|
2023-07-07 19:57:25 +02:00
|
|
|
cd $name-$version
|
2010-12-15 00:18:57 +11:00
|
|
|
|
2023-07-07 19:57:25 +02:00
|
|
|
rm -rf lib/{fmt,libebml,libmatroska,nlohmann-json,pugixml}
|
2023-01-03 14:22:47 +00:00
|
|
|
|
2023-07-07 19:57:25 +02:00
|
|
|
./autogen.sh
|
|
|
|
./configure $PKGMK_MKVTOOLNIX \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-qt6 \
|
|
|
|
--with-qmake=/usr/lib/qt6/bin/qmake6 \
|
|
|
|
--disable-optimization \
|
|
|
|
--disable-precompiled-headers \
|
|
|
|
--disable-update-check \
|
|
|
|
--disable-qt5
|
2010-12-15 00:18:57 +11:00
|
|
|
|
2023-07-07 19:57:25 +02:00
|
|
|
rake --multitask --jobs=${JOBS-1}
|
|
|
|
rake DESTDIR=$PKG install
|
2010-12-16 00:11:22 +11:00
|
|
|
|
2023-07-07 19:57:25 +02:00
|
|
|
rm -r $PKG/usr/share/locale
|
|
|
|
rm -rf $PKG/usr/share/doc
|
2008-02-13 15:09:45 -05:00
|
|
|
}
|