kid3: rebuild against qt6

This commit is contained in:
Zach Dykstra 2024-06-17 17:04:30 -05:00 committed by John Zimmermann
parent 2eb2967df5
commit 902960633c
1 changed files with 6 additions and 9 deletions

View File

@ -1,16 +1,17 @@
# Template file for 'kid3'
pkgname=kid3
version=3.9.5
revision=2
revision=3
build_style=cmake
configure_args="-DWITH_APPS='CLI;$(vopt_if KDE KDE Qt)'
configure_args="-DBUILD_WITH_QT6=ON -DWITH_APPS='CLI;$(vopt_if KDE KDE Qt)'
-DWITH_DOCBOOKDIR=/usr/share/xsl/docbook -DWITH_FLAC=$(vopt_if flac ON OFF)
-DWITH_ID3LIB=$(vopt_if mp3 ON OFF) -DWITH_MP4V2=$(vopt_if mp4 ON OFF)
-DWITH_VORBIS=$(vopt_if vorbis ON OFF) -DWITH_TAGLIB=$(vopt_if taglib ON OFF)
-DWITH_CHROMAPRINT=$(vopt_if chromaprint 'ON -DWITH_FFMPEG=ON' OFF)"
hostmakedepends="pkg-config python3 libxslt $(vopt_if KDE extra-cmake-modules)"
makedepends="qt5-declarative-devel qt5-multimedia-devel qt5-tools-devel docbook-xsl
readline-devel $(vopt_if KDE kio-devel) $(vopt_if vorbis libvorbis-devel)
hostmakedepends="pkg-config python3 libxslt $(vopt_if KDE extra-cmake-modules)
qt6-tools qt6-base"
makedepends="qt6-declarative-devel qt6-multimedia-devel docbook-xsl
readline-devel $(vopt_if KDE 'kf6-kio-devel kf6-kxmlgui-devel') $(vopt_if vorbis libvorbis-devel)
$(vopt_if mp4 libmp4v2-devel) $(vopt_if chromaprint 'chromaprint-devel ffmpeg6-devel')
$(vopt_if mp3 id3lib-devel) $(vopt_if flac libflac-devel) $(vopt_if taglib taglib-devel)"
depends="desktop-file-utils hicolor-icon-theme"
@ -31,7 +32,3 @@ desc_option_mp3="Enable MP3 support"
desc_option_mp4="Enable MP4 support"
desc_option_taglib="Enable taglib support"
desc_option_vorbis="Enable Vorbis support"
if [ $CROSS_BUILD ]; then
hostmakedepends+=" qt5-qmake qt5-host-tools"
fi