void-packages/srcpkgs/libksane6/template

27 lines
892 B
Bash

# Template file for 'libksane6'
pkgname=libksane6
version=24.08.0
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=4bfbc56289b18fc020809d5cb89185094783370728e02b7cdd2a3832b609bb3d
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
}
}