mkvtoolnix: update to 85.0

This commit is contained in:
Matthias von Faber 2024-04-30 09:35:07 +02:00 committed by classabbyamp
parent 559fa7125d
commit 0d9536cfe0
1 changed files with 12 additions and 10 deletions

View File

@ -1,15 +1,14 @@
# Template file for 'mkvtoolnix' # Template file for 'mkvtoolnix'
pkgname=mkvtoolnix pkgname=mkvtoolnix
version=78.0 version=85.0
revision=3 revision=1
build_style=gnu-configure build_style=gnu-configure
build_helper=qmake build_helper="qmake6"
configure_args="--with-docbook-xsl-root=/usr/share/xsl/docbook --enable-qt configure_args="--with-docbook-xsl-root=/usr/share/xsl/docbook --disable-update-check"
--disable-update-check" hostmakedepends="autoconf docbook-xsl gettext libxslt pkg-config po4a qt6-base qt6-tools ruby"
hostmakedepends="autoconf docbook-xsl gettext libxslt pkg-config qt5-tools-devel ruby"
makedepends="boost-devel cmark-devel file-devel fmt-devel gmp-devel json-c++ makedepends="boost-devel cmark-devel file-devel fmt-devel gmp-devel json-c++
libdvdread-devel libflac-devel libmatroska-devel libvorbis-devel pcre2-devel libdvdread-devel libflac-devel libmatroska-devel libvorbis-devel pcre2-devel
pugixml-devel qt5-multimedia-devel qt5-svg-devel qt5-tools-devel" pugixml-devel qt6-base-devel qt6-multimedia-devel qt6-svg-devel qt6-tools-devel"
checkdepends="gtest-devel" checkdepends="gtest-devel"
short_desc="Create, alter and inspect Matroska videos" short_desc="Create, alter and inspect Matroska videos"
maintainer="Matthias von Faber <mvf@gmx.eu>" maintainer="Matthias von Faber <mvf@gmx.eu>"
@ -17,7 +16,7 @@ license="GPL-2.0-only"
homepage="https://mkvtoolnix.download" homepage="https://mkvtoolnix.download"
changelog="https://mkvtoolnix.download/doc/NEWS.md" changelog="https://mkvtoolnix.download/doc/NEWS.md"
distfiles="https://mkvtoolnix.download/sources/mkvtoolnix-${version}.tar.xz" distfiles="https://mkvtoolnix.download/sources/mkvtoolnix-${version}.tar.xz"
checksum=6a50fce8c66c55410e0df2a6952f0bab7a3c92914db7feb285b9f1bb03fcd0d3 checksum=702442c80706c7c770ac04f7b4eed7a57e9e03ead6c5e6e90b9655dd84c8d829
if [ "$CROSS_BUILD" ]; then if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-boost=${XBPS_CROSS_BASE}/usr" configure_args+=" --with-boost=${XBPS_CROSS_BASE}/usr"
@ -43,16 +42,19 @@ do_install() {
mkvtoolnix-gui_package() { mkvtoolnix-gui_package() {
short_desc+=" - Qt GUI" short_desc+=" - Qt GUI"
depends="${sourcepkg}-${version}_${revision}" depends="${sourcepkg}-${version}_${revision} qt6-svg"
pkg_install() { pkg_install() {
vmove usr/bin/mkvtoolnix-gui vmove usr/bin/mkvtoolnix-gui
vmove usr/share/applications vmove usr/share/applications
for file in "${DESTDIR}"/usr/share/icons/hicolor/*/apps/mkvtoolnix-gui.png; do for file in "${DESTDIR}"/usr/share/icons/hicolor/*/apps/mkvtoolnix-gui.png; do
vmove "${file/${DESTDIR}\//}" vmove "${file/${DESTDIR}\//}"
done done
for file in "${DESTDIR}"/usr/share/man/*/man1/mkvtoolnix-gui.1; do
vmove "${file/${DESTDIR}\//}"
done
vmove usr/share/man/man1/mkvtoolnix-gui.1 vmove usr/share/man/man1/mkvtoolnix-gui.1
vmove usr/share/metainfo vmove usr/share/metainfo
vmove usr/share/mime/packages vmove usr/share/mime/packages
vmove usr/share/mkvtoolnix/sounds vmove usr/share/mkvtoolnix
} }
} }