From f6da2b9a516b3a4e2047f0e4c508a1cab019b6ca Mon Sep 17 00:00:00 2001 From: rooyca Date: Fri, 2 Aug 2024 19:59:29 -0500 Subject: [PATCH] cantata: update to 3.2.0. --- srcpkgs/cantata/template | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/srcpkgs/cantata/template b/srcpkgs/cantata/template index 54e82fbb85dfe8..0e023eb61296d9 100644 --- a/srcpkgs/cantata/template +++ b/srcpkgs/cantata/template @@ -1,20 +1,26 @@ # Template file for 'cantata' pkgname=cantata -version=2.5.0 -revision=2 +version=3.2.0 +revision=1 build_style=cmake -hostmakedepends="pkg-config qt5-qmake qt5-host-tools qt5-tools" -makedepends="qt5-devel qt5-tools-devel qt5-svg-devel qt5-xmlpatterns-devel - qt5-plugin-mysql qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-odbc - qt5-plugin-tds vlc-devel zlib-devel ffmpeg6-devel taglib-devel - taglib-extras-devel libmtp-devel mpg123-devel libcdparanoia-devel libcddb-devel - speex-devel eudev-libudev-devel udisks2-devel libmusicbrainz5-devel - qt5-multimedia-devel libcdio-paranoia-devel" -depends="media-player-info qt5-plugin-sqlite" +configure_args="-DENABLE_HTTP_STREAM_PLAYBACK=ON + -DENABLE_LIBVLC=OFF + -DENABLE_SIMPLE_MPD_SUPPORT=ON + -DCMAKE_BUILD_TYPE=None + -DCMAKE_INSTALL_LIBEXECDIR=/usr/bin" +hostmakedepends="pkg-config qt6-tools qt6-base" +makedepends="qt6-multimedia-devel taglib-devel qt6-svg-devel" +depends="media-player-info avahi qt6-multimedia qt6-svg libmtp libcddb libmusicbrainz5 mpg123 taglib mpd udisks2" short_desc="Qt client for the music player daemon (MPD)" maintainer="LockeAnarchist " license="GPL-3.0-or-later" -homepage="https://github.com/cdrummond/cantata" -changelog="https://raw.githubusercontent.com/CDrummond/cantata/master/ChangeLog" -distfiles="https://github.com/CDrummond/cantata/releases/download/v${version}/${pkgname}-${version}.tar.bz2" -checksum=eb7e00ab3f567afaa02ea2c86e2fe811a475afab93182b95922c6eb126821724 +homepage="https://github.com/nullobsi/cantata" +distfiles="https://github.com/nullobsi/cantata/archive/refs/tags/v${version}.tar.gz" +checksum=bdebab0a781e98f058032374bac5d3375f2a9dcaa2906a6b125d63fb5aae5d17 + +CXXFLAGS="-Wno-error=sign-compare" + +case "$XBPS_TARGET_MACHINE" in + aarch64*) + CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt6" ;; +esac