29 lines
858 B
Bash
29 lines
858 B
Bash
# Template file for 'libksane'
|
|
pkgname=libksane
|
|
version=21.12.2
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules gettext"
|
|
makedepends="qt5-devel libkdepim-devel sane-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=317d4e5948a28180034036268f496279a29ba97ad606522c8ac1ae38b9747ac6
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
|
fi
|
|
|
|
libksane-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|