void-packages/srcpkgs/libkgapi/template
2019-09-06 18:16:24 +02:00

31 lines
973 B
Bash

# Template file for 'libkgapi'
pkgname=libkgapi
version=19.08.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python3
kcoreaddons"
makedepends="kcalcore-devel kcontacts-devel kio-devel qt5-webengine-devel
qt5-webchannel-devel qt5-location-devel"
short_desc="KDE-based library for accessing various Google services"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/extragear/libs/libkgapi"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=1ad2491348cc97f591aa681f7a649f2337c9a92e845980304c1110c69eecd579
case "$XBPS_TARGET_MACHINE" in
arm*) broken="depends on qt5-webengine";;
esac
libkgapi-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}