void-packages/srcpkgs/libkgapi/template

33 lines
1.0 KiB
Bash

# Template file for 'libkgapi'
pkgname=libkgapi
version=24.05.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base python3 qt6-tools kf6-kconfig
gettext kf6-kcoreaddons"
makedepends="kf6-kcalendarcore-devel kf6-kcontacts-devel kf6-kio-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=9230ffed9059bdf5d90e0fa2a56b61873023add77aec50ac6ceb4a34d03578b4
do_check() {
:
}
libkgapi-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision} ${makedepends}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}