template 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. # Template file for 'libkgapi'
  2. pkgname=libkgapi
  3. version=20.08.3
  4. revision=1
  5. build_style=cmake
  6. # Liberation: To avoid QWebView not found error
  7. configure_args+=" -DBUILD_TESTING=OFF "
  8. hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python3 qt5-webkit
  9. gettext kcoreaddons"
  10. makedepends="kcalendarcore-devel kcontacts-devel kio-devel qt5-webkit-devel
  11. qt5-webchannel-devel qt5-location-devel"
  12. short_desc="KDE-based library for accessing various Google services"
  13. maintainer="John <me@johnnynator.dev>"
  14. license="LGPL-2.1-or-later"
  15. homepage="https://invent.kde.org/pim/libkgapi"
  16. distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
  17. checksum=8a2233497b07e768c4a4095c4333fa975042f6e9ba17ae0e3d66ed9c7672afce
  18. # Liberation: Removed webengine related code
  19. libkgapi-devel_package() {
  20. short_desc+=" - development files"
  21. depends="${sourcepkg}-${version}_${revision} ${makedepends}"
  22. pkg_install() {
  23. vmove usr/include
  24. vmove usr/lib/cmake
  25. vmove usr/lib/qt5/mkspecs
  26. vmove "usr/lib/*.so"
  27. }
  28. }