void-packages/srcpkgs/kcolorchooser/template

19 lines
635 B
Bash

# Template file for 'kcolorchooser'
pkgname=kcolorchooser
version=17.12.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
makedepends="qt5-devel kxmlgui-devel"
short_desc="KDE's Color Chooser"
maintainer="Michael Straube <straubem@gmx.de>"
license="GPL-2"
homepage="https://www.kde.org/applications/graphics/kcolorchooser"
distfiles="https://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=8b5adeb5370744073e61923c5d1c9a46337159d406d6de608f694ddc1cb0599d
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-devel"
fi