From 0f77c73d06eef8a7df141cee61d86cb3681f6ea3 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sun, 12 Feb 2017 11:48:57 +0100 Subject: net-libs/libkgapi: Fix build with Qt-5.8.0 Package-Manager: portage-2.3.3 --- .../libkgapi/files/libkgapi-5.3.1-qt-5.8.patch | 52 ++++++++++++++++++++++ net-libs/libkgapi/libkgapi-5.3.1-r1.ebuild | 33 ++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 net-libs/libkgapi/files/libkgapi-5.3.1-qt-5.8.patch create mode 100644 net-libs/libkgapi/libkgapi-5.3.1-r1.ebuild (limited to 'net-libs') diff --git a/net-libs/libkgapi/files/libkgapi-5.3.1-qt-5.8.patch b/net-libs/libkgapi/files/libkgapi-5.3.1-qt-5.8.patch new file mode 100644 index 000000000000..a7f69a86caeb --- /dev/null +++ b/net-libs/libkgapi/files/libkgapi-5.3.1-qt-5.8.patch @@ -0,0 +1,52 @@ +From 03a019820e9da9cf293a3ac66e55da745894c504 Mon Sep 17 00:00:00 2001 +From: Milian Wolff +Date: Tue, 31 Jan 2017 17:18:57 +0100 +Subject: Fix compile with Qt 5.8: add missing QImage includes + +--- + src/contacts/contactcreatejob.cpp | 2 +- + src/contacts/contactfetchphotojob.cpp | 1 + + src/contacts/contactmodifyjob.cpp | 2 +- + 3 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/src/contacts/contactcreatejob.cpp b/src/contacts/contactcreatejob.cpp +index 5f41c1a..a7eb5f7 100644 +--- a/src/contacts/contactcreatejob.cpp ++++ b/src/contacts/contactcreatejob.cpp +@@ -31,7 +31,7 @@ + #include + #include + #include +- ++#include + + using namespace KGAPI2; + +diff --git a/src/contacts/contactfetchphotojob.cpp b/src/contacts/contactfetchphotojob.cpp +index 54606cb..a3ebe48 100644 +--- a/src/contacts/contactfetchphotojob.cpp ++++ b/src/contacts/contactfetchphotojob.cpp +@@ -28,6 +28,7 @@ + + #include + #include ++#include + + Q_DECLARE_METATYPE(KGAPI2::ContactPtr) + +diff --git a/src/contacts/contactmodifyjob.cpp b/src/contacts/contactmodifyjob.cpp +index ead5787..03a0e73 100644 +--- a/src/contacts/contactmodifyjob.cpp ++++ b/src/contacts/contactmodifyjob.cpp +@@ -31,7 +31,7 @@ + #include + #include + #include +- ++#include + + using namespace KGAPI2; + +-- +cgit v0.11.2 + diff --git a/net-libs/libkgapi/libkgapi-5.3.1-r1.ebuild b/net-libs/libkgapi/libkgapi-5.3.1-r1.ebuild new file mode 100644 index 000000000000..9f749f196920 --- /dev/null +++ b/net-libs/libkgapi/libkgapi-5.3.1-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_TEST="true" +VIRTUALX_REQUIRED="test" +inherit kde5 + +DESCRIPTION="Library for accessing Google calendar and contact resources" +HOMEPAGE="https://projects.kde.org/projects/extragear/libs/libkgapi" +[[ ${KDE_BUILD_TYPE} != live ]] && SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" + +LICENSE="GPL-2+ LGPL-2.1+" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kio) + $(add_frameworks_dep kwindowsystem) + $(add_kdeapps_dep kcalcore) + $(add_kdeapps_dep kcontacts) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwebkit) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-qt-5.8.patch ) -- cgit v1.2.3-65-gdbad