# Template file for 'libksane6'
pkgname=libksane6
version=26.04.1
revision=1
build_style=cmake
configure_args="-DBUILD_WITH_QT6=ON"
hostmakedepends="extra-cmake-modules gettext qt6-base"
makedepends="qt6-base-devel kf6-ki18n-devel kf6-ktextwidgets-devel sane-devel
 ksanecore6-devel"
short_desc="Image scanning library"
maintainer="travankor <travankor@tuta.io>"
license="LGPL-2.1-or-later"
homepage="https://kde.org/applications/graphics"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#libksane"
distfiles="${KDE_SITE}/release-service/${version}/src/libksane-${version}.tar.xz"
checksum=8d78335f78f35872afab3b206244235518b754dd2a2fcd528e716ea0df1fee1d

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