diff --git a/srcpkgs/elisa/template b/srcpkgs/elisa/template new file mode 100644 index 0000000000..8f745a878a --- /dev/null +++ b/srcpkgs/elisa/template @@ -0,0 +1,22 @@ +# Template file for 'elisa' +pkgname=elisa +version=0.2.1 +revision=1 +build_style=cmake +configure_args="-DBUILD_TESTING=OFF" +hostmakedepends="extra-cmake-modules kdoctools 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" +depends="qt5-graphicaleffects qt5-quickcontrols" +short_desc="Simple and flexible music player" +maintainer="John " +license="GPL-3.0-or-later" +homepage="https://community.kde.org/Elisa" +distfiles="${KDE_SITE}/elisa/${version}/elisa-${version}.tar.xz" +checksum=b0ee2d3ea01d573ffc53ca8719ca48c831597f408e3803ae5e7606fd3dfbfe7e + +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" kconfig-devel kcoreaddons-devel" + configure_args+=" -DKF5_HOST_TOOLING=/usr/lib/cmake" +fi