6c6459921e
[ci skip]
31 lines
969 B
Bash
31 lines
969 B
Bash
# Template file for 'libkgapi'
|
|
pkgname=libkgapi
|
|
version=20.04.3
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python3
|
|
gettext 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 <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/pim/libkgapi"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=9b689d8c4a1df0b792604cf5951b30d8343e984d890f4a3fb946a449723e520d
|
|
|
|
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"
|
|
}
|
|
}
|