void-packages/srcpkgs/ksanecore6/template

27 lines
954 B
Bash

# Template file for 'ksanecore6'
pkgname=ksanecore6
version=24.08.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=a9eee4f76e429a7cdb868c90155ad9b1ac013405d8569ecfa5715c212bcdfd4a
ksanecore6-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/cmake
}
}