void-packages/srcpkgs/strawberry/template

34 lines
1.3 KiB
Bash

# Template file for 'strawberry'
pkgname=strawberry
version=1.0.9
revision=1
build_style=cmake
hostmakedepends="pkg-config protobuf gettext"
makedepends="alsa-lib-devel boost-devel gnutls-devel fftw-devel
chromaprint-devel gst-plugins-base1-devel libcdio-devel libgpod-devel
libmtp-devel protobuf-devel pulseaudio-devel taglib-devel"
depends="desktop-file-utils"
short_desc="Audio player and music collection organizer"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.strawberrymusicplayer.org/"
changelog="https://raw.githubusercontent.com/strawberrymusicplayer/strawberry/master/Changelog"
distfiles="https://files.strawberrymusicplayer.org/${pkgname}-${version}.tar.xz"
checksum=d69396e1df321003ab0e4f9374ea8c5c34fdfbc7fb6c68882d477215224b8cdf
build_options="qt6"
if [ "$build_option_qt6" ]; then
configure_args="-DBUILD_WITH_QT6=ON -DQT_HOST_PATH=/usr"
hostmakedepends+=" qt6-base-devel qt6-tools-devel"
makedepends+=" qt6-base-devel qt6-plugin-mysql
qt6-plugin-odbc qt6-plugin-pgsql qt6-plugin-sqlite"
depends+=" qt6-plugin-sqlite"
else
hostmakedepends+=" qt5-host-tools qt5-devel"
makedepends+=" qt5-tools-devel qt5-plugin-mysql
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite
qt5-plugin-tds qt5-x11extras-devel"
depends+=" qt5-plugin-sqlite"
fi