void-packages/srcpkgs/elisa/template

23 lines
940 B
Bash

# Template file for 'elisa'
pkgname=elisa
version=21.04.2
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kdoctools gettext qt5-host-tools"
makedepends="baloo5-devel kcmutils-devel qt5-multimedia-devel qt5-plugin-mysql
qt5-plugin-odbc qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-tds
qt5-quickcontrols2-devel kirigami2-devel vlc-devel"
depends="kirigami2 qt5-graphicaleffects qt5-quickcontrols"
short_desc="Simple and flexible music player"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://kde.org/applications/en/multimedia/org.kde.elisa"
distfiles="${KDE_SITE}/release-service/${version}/src/elisa-${version}.tar.xz"
checksum=11d28647afe7f7aba84585f76a5f1ee0260c8f3852fe4c2e4f1a70af49b7182b
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" kpackage-devel kconfig-devel kcoreaddons-devel"
configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake"
fi