diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-02-12 11:48:57 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-02-12 11:50:17 +0100 |
commit | 0f77c73d06eef8a7df141cee61d86cb3681f6ea3 (patch) | |
tree | 4be23a41c3f8392fd0e74d621a26dddeb6761fe6 /net-libs | |
parent | net-fs/openafs-kernel: remove bashism from init script (diff) | |
download | gentoo-0f77c73d06eef8a7df141cee61d86cb3681f6ea3.tar.gz gentoo-0f77c73d06eef8a7df141cee61d86cb3681f6ea3.tar.bz2 gentoo-0f77c73d06eef8a7df141cee61d86cb3681f6ea3.zip |
net-libs/libkgapi: Fix build with Qt-5.8.0
Package-Manager: portage-2.3.3
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/libkgapi/files/libkgapi-5.3.1-qt-5.8.patch | 52 | ||||
-rw-r--r-- | net-libs/libkgapi/libkgapi-5.3.1-r1.ebuild | 33 |
2 files changed, 85 insertions, 0 deletions
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 <mail@milianw.de> +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 <QtNetwork/QNetworkRequest> + #include <QtNetwork/QNetworkReply> + #include <QtCore/QBuffer> +- ++#include <QtGui/QImage> + + 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 <QtNetwork/QNetworkRequest> + #include <QtNetwork/QNetworkReply> ++#include <QtGui/QImage> + + 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 <QtNetwork/QNetworkRequest> + #include <QtNetwork/QNetworkReply> + #include <QtCore/QBuffer> +- ++#include <QtGui/QImage> + + 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 ) |