# Template file for 'libkipi5'
pkgname=libkipi5
version=22.12.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules kdoctools qt5-host-tools qt5-qmake
 gettext kcoreaddons"
makedepends="kxmlgui-devel"
short_desc="Interface to use kipi-plugins from a KDE application"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/graphics/libkipi"
distfiles="${KDE_SITE}/release-service/${version}/src/libkipi-${version}.tar.xz"
checksum=427da794acf35b20578f7c86d44c05d1dc214ef7a13c86fb67ca4cfa1d7dbe07
conflicts="libkipi"

libkipi5-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
