void-packages/srcpkgs/kImageAnnotator/template

27 lines
896 B
Bash

# Template file for 'kImageAnnotator'
pkgname=kImageAnnotator
version=0.7.1
revision=1
build_style=cmake
# XXX: Tests don't build
configure_args="-DBUILD_TESTS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_SHARED_LIBS=ON
-DBUILD_WITH_QT6=ON"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools"
makedepends="qt6-base-devel qt6-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=2335c5be15a5dde34c3333c10a6339da114e2232e4c4642dea1793e491e09677
kImageAnnotator-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}