32 lines
981 B
Bash
32 lines
981 B
Bash
# Template file for 'libkgapi'
|
|
pkgname=libkgapi
|
|
version=19.12.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python3
|
|
kcoreaddons"
|
|
makedepends="kcalendarcore-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}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=d2e59ba2fd6f0bd91f783199a9654bdca2539d15f0ec105796e096642ca4c517
|
|
|
|
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"
|
|
}
|
|
}
|