void-packages/srcpkgs/libksane6/template

27 lines
892 B
Bash

# Template file for 'libksane6'
pkgname=libksane6
version=24.02.2
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=2ffc7fddb953ef0f9c38eb2c2bf402de0f9520c3542d3247f7b5c19ee185d8ff
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
}
}