void-packages/srcpkgs/strawberry/template

34 lines
1.2 KiB
Bash

# Template file for 'strawberry'
pkgname=strawberry
version=0.9.3
revision=3
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="q66 <daniel@octaforge.org>"
license="GPL-3.0-or-later"
homepage="https://www.strawberrymusicplayer.org/"
distfiles="https://files.strawberrymusicplayer.org/${pkgname}-${version}.tar.xz"
checksum=0fe9c38c4d1e2f10c1130dbd87ea6e740bef729fe78820a84ffabe524a80c83e
build_options="qt6"
build_options_default=""
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