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

28 lines
870 B
Bash

# Template file for 'kImageAnnotator'
pkgname=kImageAnnotator
version=0.2.0
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 kColorPicker-devel"
short_desc="Tool for annotating images"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later"
homepage="https://github.com/DamirPorobic/kImageAnnotator"
distfiles="https://github.com/DamirPorobic/kImageAnnotator/archive/v${version}.tar.gz"
checksum=e1d274c6845858fdb08a285db0ce6dec79d3b4a1771ed3c7e1209aa85958285b
pre_check() {
export QT_QPA_PLATFORM=offscreen
}
kImageAnnotator-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}