void-packages/srcpkgs/ksanecore6/template

27 lines
954 B
Bash

# Template file for 'ksanecore6'
pkgname=ksanecore6
version=24.05.1
revision=1
build_style=cmake
configure_args="-DQT_MAJOR_VERSION=6 -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules gettext qt6-base"
makedepends="qt6-base-devel sane-devel kf6-kconfig-devel kf6-ki18n-devel"
short_desc="Library providing logic to interface scanners"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://kde.org/applications/graphics"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#ksanecore"
distfiles="${KDE_SITE}/release-service/${version}/src/ksanecore-${version}.tar.xz"
checksum=95a5c6ff9e059e833af7c73008ae5ac55eaf8c354ba12ee2f614629050200a5c
ksanecore6-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}