void-packages/srcpkgs/kColorPicker/template
2020-02-23 04:35:17 +01:00

29 lines
847 B
Bash

# Template file for 'kColorPicker'
pkgname=kColorPicker
version=0.1.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTS=ON -DBUILD_EXAMPLE=OFF -DBUILD_SHARED_LIBS=ON"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
makedepends="qt5-devel"
short_desc="Qt based Color Picker with popup menu"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="https://github.com/DamirPorobic/kColorPicker"
distfiles="https://github.com/DamirPorobic/kColorPicker/archive/v${version}.tar.gz"
checksum=3abecbe2268affee0e725f6a5bd03a249265dcd1d6c535e9f2ba2aa5cc00ac36
pre_check() {
export QT_QPA_PLATFORM=offscreen
}
kColorPicker-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}