mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
net-libs/libkgapi: Fix build with Qt-5.8.0
Package-Manager: portage-2.3.3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 )
|
||||
Reference in New Issue
Block a user