void-packages/srcpkgs/libksane6/template

27 lines
892 B
Bash

# Template file for 'libksane6'
pkgname=libksane6
version=24.05.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=d080375cb021cfee050adb27857a6693890d2a0a7acdc2da38a28300a18add06
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
}
}