2018-06-04 01:57:07 +00:00
|
|
|
# Template file for 'libksane'
|
|
|
|
pkgname=libksane
|
2018-08-18 23:08:29 +00:00
|
|
|
version=18.08.0
|
2018-06-04 01:57:07 +00:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
hostmakedepends="extra-cmake-modules"
|
|
|
|
makedepends="qt5-devel libkdepim-devel sane-devel"
|
|
|
|
short_desc="An image scanning library"
|
|
|
|
maintainer="travankor <travankor@tuta.io>"
|
|
|
|
license="LGPL-2.1-or-later"
|
|
|
|
homepage="https://www.kde.org/applications/graphics/"
|
|
|
|
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
|
2018-08-18 23:08:29 +00:00
|
|
|
checksum=6082188ecb7e21c161f232f5d421fda7fc9bbf580530019b643203ae14349d27
|
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
|
|
|
fi
|
2018-06-04 01:57:07 +00:00
|
|
|
|
|
|
|
libksane-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
}
|
|
|
|
}
|