void-packages/srcpkgs/strawberry/template

34 lines
1.3 KiB
Bash

# Template file for 'strawberry'
pkgname=strawberry
version=1.0.17
revision=5
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=d5a4af4202813f5b5eb81c202ba632f964493cc381730e15ee3f6106321a714a
build_options="qt6"
if [ "$build_option_qt6" ]; then
configure_args="-DBUILD_WITH_QT6=ON -DQT_HOST_PATH=/usr"
hostmakedepends+=" qt6-base qt6-tools"
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