# Template file for 'libkdcraw-qt6'
pkgname=libkdcraw-qt6
version=24.12.1
revision=1
build_style=cmake
configure_args="-DQT_MAJOR_VERSION=6"
hostmakedepends="extra-cmake-modules pkg-config qt6-tools
 qt6-base gettext"
makedepends="qt6-base-devel libraw-devel"
short_desc="C++ interface around LibRaw library used to decode RAW - Qt6"
maintainer="Luciogi <githubvoidlinux.supremacy429@passinbox.com>"
license="GPL-2.0-or-later"
homepage="https://www.kde.org/applications/graphics/"
distfiles="${KDE_SITE}/release-service/${version}/src/libkdcraw-${version}.tar.xz"
checksum=2b5abad0b4bff294500ffa0ba2c33db5cf9ff5aaa9c7db4eb1be3407d7885c54

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