24 lines
865 B
Bash
24 lines
865 B
Bash
# Template file for 'cantata'
|
|
pkgname=cantata
|
|
version=3.2.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DENABLE_HTTP_STREAM_PLAYBACK=ON -DENABLE_LIBVLC=OFF
|
|
-DENABLE_SIMPLE_MPD_SUPPORT=ON"
|
|
hostmakedepends="pkg-config qt6-tools qt6-base"
|
|
makedepends="qt6-multimedia-devel qt6-svg-devel"
|
|
depends="media-player-info avahi qt6-multimedia qt6-svg libmtp libcddb libmusicbrainz5 mpg123 udisks2"
|
|
short_desc="Qt client for the music player daemon (MPD)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/nullobsi/cantata"
|
|
distfiles="https://github.com/nullobsi/cantata/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=ca38417f355a1eea475efcb73a383b433836caa74f542482d6b9e51a2fb70b0f
|
|
|
|
CXXFLAGS="-Wno-error=sign-compare"
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
aarch64*)
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/qt6" ;;
|
|
esac
|