30 lines
928 B
Bash
30 lines
928 B
Bash
# Template file for 'kImageAnnotator'
|
|
pkgname=kImageAnnotator
|
|
version=0.4.0
|
|
revision=1
|
|
build_style=cmake
|
|
# XXX: Tests don't build
|
|
configure_args="-DBUILD_TESTS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_SHARED_LIBS=ON"
|
|
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools"
|
|
makedepends="qt5-devel qt5-tools-devel qt5-svg-devel kColorPicker-devel"
|
|
short_desc="Tool for annotating images"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://github.com/DamirPorobic/kImageAnnotator"
|
|
distfiles="https://github.com/DamirPorobic/kImageAnnotator/archive/v${version}.tar.gz"
|
|
checksum=4ce8b9853e7c55cffd5eb5fe42ca89ead55db5f432be1b715e6f2804f7e8287d
|
|
|
|
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"
|
|
}
|
|
}
|