# Template file for 'libkexiv2'
pkgname=libkexiv2
version=26.04.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DQT_MAJOR_VERSION=6"
hostmakedepends="extra-cmake-modules pkg-config qt6-base qt6-tools"
makedepends="qt6-base-devel exiv2-devel"
short_desc="Library to manipulate pictures metadata"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://invent.kde.org/graphics/libkexiv2"
distfiles="${KDE_SITE}/release-service/${version}/src/libkexiv2-${version}.tar.xz"
checksum=7827c710db4b63d059a0721b6a2a833663d0c457bf4219eb8dfc1c98b19c93e5

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