From 04a42a2746a6b11c94cb18dfb0f5902879122abd Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Wed, 18 Apr 2018 14:04:43 +0200 Subject: [PATCH] Revert "libkgapi: remove" This reverts commit 8c7a8cafa03b14d3b6764fa06c237baa896ca9b9. --- common/shlibs | 1 + srcpkgs/libkgapi-devel | 1 + srcpkgs/libkgapi/template | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 120000 srcpkgs/libkgapi-devel create mode 100644 srcpkgs/libkgapi/template diff --git a/common/shlibs b/common/shlibs index 71f904de7a8..2c37ea3f24f 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1359,6 +1359,7 @@ libKPimGAPICore.so.5 libkgapi-17.12.3_1 libKPimGAPITasks.so.5 libkgapi-17.12.3_1 libKPimGAPIMaps.so.5 libkgapi-17.12.3_1 libKPimGAPIDrive.so.5 libkgapi-17.12.3_1 +libkgapi2.so.2 libkgapi-2.0.1_1 libqoauth.so.1 qoauth-1.0.1_1 libqoauth.so.2 qoauth-qt5-2.0.0_1 libIrrlicht.so.1.8 irrlicht-1.8_1 diff --git a/srcpkgs/libkgapi-devel b/srcpkgs/libkgapi-devel new file mode 120000 index 00000000000..60a03a3bf6b --- /dev/null +++ b/srcpkgs/libkgapi-devel @@ -0,0 +1 @@ +libkgapi \ No newline at end of file diff --git a/srcpkgs/libkgapi/template b/srcpkgs/libkgapi/template new file mode 100644 index 00000000000..ef2a64dd355 --- /dev/null +++ b/srcpkgs/libkgapi/template @@ -0,0 +1,25 @@ +# Template file for 'libkgapi' +pkgname=libkgapi +version=17.12.3 +revision=1 +build_style=cmake +hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python3" +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="Juan RP " +license="LGPL-2.1-or-later" +homepage="https://projects.kde.org/projects/extragear/libs/libkgapi" +distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz" +checksum=3e5cd703c66f870853a98d524efa132662f1e3005341e00620b2b0e9080daf04 + +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" + } +}