29 lines
870 B
Bash
29 lines
870 B
Bash
# Template file for 'kImageAnnotator'
|
|
pkgname=kImageAnnotator
|
|
version=0.1.0
|
|
revision=2
|
|
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=5172586c337d018fe988659ea728e023ca660becd5c2e10304438972aff1eced
|
|
|
|
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"
|
|
}
|
|
}
|