# Template file for 'libkexiv2'
pkgname=libkexiv2
version=24.08.0
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="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
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=615faa6949ac9069832d381c56a7c8311a420c5d42c4d674bada62605a557291

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