1 |
commit: 7d287acbec9be742598ca45279c52b80e471da00 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 28 16:41:06 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 28 21:28:22 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d287acb |
7 |
|
8 |
net-irc/konversation: 1.7.6 version bump |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
net-irc/konversation/Manifest | 1 + |
14 |
.../files/konversation-1.7.6-no-kiconthemes.patch | 347 +++++++++++++++++++++ |
15 |
net-irc/konversation/konversation-1.7.6.ebuild | 78 +++++ |
16 |
3 files changed, 426 insertions(+) |
17 |
|
18 |
diff --git a/net-irc/konversation/Manifest b/net-irc/konversation/Manifest |
19 |
index 616a869958e..9d91dc104c2 100644 |
20 |
--- a/net-irc/konversation/Manifest |
21 |
+++ b/net-irc/konversation/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST konversation-1.7.5.tar.xz 3739392 BLAKE2B 92a068d57f19f3cf8822d1dbc219949ae34388eaa00f4542aaee28b1c78cdc68e80c2c032e54efd842c1925a689a1ee2f05458322d106a677829a623dd61432a SHA512 001534c7f6c5110ca5e210977cc4275e083f5c3704078a74aa573af659154e0fa4c3c960be08f41256db1ac4568f0734741bf10cfb2e15d9e6f6440250682504 |
24 |
+DIST konversation-1.7.6.tar.xz 3354800 BLAKE2B cad571f5d55e030de0d8610417d7c2473f9d3f0b81cfc2c8f730324d73ef0eee17e2f11a6d5714ff541170fa3eab6f4eaa3ecde117a65e9af143e13c1e8afd66 SHA512 69c4b67a186f4242c74e2027d1faca6be7a30719287b960888751a5522da5abe24c6ada076bb097233cf0254c5cff12cc70c9a7a85875f80c0eb1637c6de6613 |
25 |
|
26 |
diff --git a/net-irc/konversation/files/konversation-1.7.6-no-kiconthemes.patch b/net-irc/konversation/files/konversation-1.7.6-no-kiconthemes.patch |
27 |
new file mode 100644 |
28 |
index 00000000000..f631a949348 |
29 |
--- /dev/null |
30 |
+++ b/net-irc/konversation/files/konversation-1.7.6-no-kiconthemes.patch |
31 |
@@ -0,0 +1,347 @@ |
32 |
+From 2104a776203d32b49512b303506f94085e0e4d89 Mon Sep 17 00:00:00 2001 |
33 |
+From: Nicolas Fella <nicolas.fella@×××.de> |
34 |
+Date: Sat, 19 Sep 2020 22:50:48 +0200 |
35 |
+Subject: [PATCH] Port away from KIconthemes |
36 |
+ |
37 |
+Use appropriate QIcon/QStyle API instead |
38 |
+ |
39 |
+Incorporates: |
40 |
+ |
41 |
+commit 5cd6c690e005a040e5fd3ccfca7ae23593c6dfe6 |
42 |
+Author: Nicolas Fella <nicolas.fella@×××.de> |
43 |
+Date: Sat Sep 19 22:50:48 2020 +0200 |
44 |
+Subject: Remove unneeded system tray icon update |
45 |
+ |
46 |
+ The system tray icon is specified by name. |
47 |
+ We don't need to do anything when the theme changes. |
48 |
+ |
49 |
+commit d1bce09605c255f7b96fa677ece363b3053d085e |
50 |
+Author: Peter Simonsson <peter.simonsson@×××××.com> |
51 |
+Date: Tue Oct 22 21:35:25 2019 +0200 |
52 |
+Subject: Don't use deprecated SmallIcon |
53 |
+ |
54 |
+--- |
55 |
+ CMakeLists.txt | 1 - |
56 |
+ src/CMakeLists.txt | 1 - |
57 |
+ src/dcc/recipientdialog.cpp | 5 ++--- |
58 |
+ src/dcc/transferlistmodel.cpp | 25 ++++--------------------- |
59 |
+ src/dcc/transferlistmodel.h | 3 +-- |
60 |
+ src/irc/channel.cpp | 4 ++-- |
61 |
+ src/irc/nicksonline.cpp | 1 - |
62 |
+ src/irc/query.cpp | 4 ++-- |
63 |
+ src/mainwindow.cpp | 2 -- |
64 |
+ src/statusbar.cpp | 4 ++-- |
65 |
+ src/viewer/ircview.cpp | 5 ++--- |
66 |
+ src/viewer/ircviewbox.cpp | 1 - |
67 |
+ src/viewer/topiclabel.cpp | 6 ++---- |
68 |
+ src/viewer/viewcontainer.cpp | 4 +--- |
69 |
+ 14 files changed, 18 insertions(+), 48 deletions(-) |
70 |
+ |
71 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
72 |
+index f0cd4b4f..3a1f5274 100644 |
73 |
+--- a/CMakeLists.txt |
74 |
++++ b/CMakeLists.txt |
75 |
+@@ -37,7 +37,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED |
76 |
+ DBusAddons |
77 |
+ Notifications |
78 |
+ WindowSystem |
79 |
+- IconThemes |
80 |
+ ItemViews |
81 |
+ ) |
82 |
+ |
83 |
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt |
84 |
+index 04f28971..36de36b0 100644 |
85 |
+--- a/src/CMakeLists.txt |
86 |
++++ b/src/CMakeLists.txt |
87 |
+@@ -238,7 +238,6 @@ target_link_libraries(konversation |
88 |
+ KF5::CoreAddons |
89 |
+ KF5::Notifications |
90 |
+ KF5::WindowSystem |
91 |
+- KF5::IconThemes |
92 |
+ KF5::ItemViews |
93 |
+ Phonon::phonon4qt5) |
94 |
+ |
95 |
+diff --git a/src/dcc/recipientdialog.cpp b/src/dcc/recipientdialog.cpp |
96 |
+index 3e6eeae7..e81e91ea 100644 |
97 |
+--- a/src/dcc/recipientdialog.cpp |
98 |
++++ b/src/dcc/recipientdialog.cpp |
99 |
+@@ -28,7 +28,6 @@ |
100 |
+ #include <KLineEdit> |
101 |
+ #include <KSharedConfig> |
102 |
+ #include <KWindowConfig> |
103 |
+-#include <KIconLoader> |
104 |
+ |
105 |
+ namespace Konversation |
106 |
+ { |
107 |
+@@ -64,12 +63,12 @@ namespace Konversation |
108 |
+ dialogLayout->addWidget(buttonBox); |
109 |
+ QPushButton* button = buttonBox->addButton(QDialogButtonBox::Ok); |
110 |
+ button->setToolTip(i18n("Select nickname and close the window")); |
111 |
+- button->setIcon(SmallIcon("dialog-ok")); |
112 |
++ button->setIcon(QIcon::fromTheme("dialog-ok")); |
113 |
+ button->setShortcut(Qt::CTRL | Qt::Key_Return); |
114 |
+ button->setDefault(true); |
115 |
+ button = buttonBox->addButton(QDialogButtonBox::Cancel); |
116 |
+ button->setToolTip(i18n("Close the window without changes")); |
117 |
+- button->setIcon(SmallIcon("dialog-cancel")); |
118 |
++ button->setIcon(QIcon::fromTheme("dialog-cancel")); |
119 |
+ |
120 |
+ KWindowConfig::restoreWindowSize(windowHandle(), KConfigGroup(KSharedConfig::openConfig(), "DCCRecipientDialog")); |
121 |
+ |
122 |
+diff --git a/src/dcc/transferlistmodel.cpp b/src/dcc/transferlistmodel.cpp |
123 |
+index cc1763f9..2a7e3b15 100644 |
124 |
+--- a/src/dcc/transferlistmodel.cpp |
125 |
++++ b/src/dcc/transferlistmodel.cpp |
126 |
+@@ -21,7 +21,6 @@ |
127 |
+ #include <KCategorizedSortFilterProxyModel> |
128 |
+ #include <KLocalizedString> |
129 |
+ #include <KCategoryDrawer> |
130 |
+-#include <KIconLoader> |
131 |
+ |
132 |
+ namespace Konversation |
133 |
+ { |
134 |
+@@ -313,15 +312,11 @@ namespace Konversation |
135 |
+ { |
136 |
+ case TransferHeaderData::Status: |
137 |
+ { |
138 |
+- QVariant decoration(QVariant::Pixmap); |
139 |
+- decoration.setValue<QPixmap>(getStatusIcon(transfer->getStatus())); |
140 |
+- return decoration; |
141 |
++ return getStatusIcon(transfer->getStatus()); |
142 |
+ } |
143 |
+ case TransferHeaderData::TypeIcon: |
144 |
+ { |
145 |
+- QVariant decoration(QVariant::Pixmap); |
146 |
+- decoration.setValue<QPixmap>(getTypeIcon(transfer->getType())); |
147 |
+- return decoration; |
148 |
++ return transfer->getType() == Transfer::Send ? QIcon::fromTheme("arrow-up") : QIcon::fromTheme("arrow-down"); |
149 |
+ } |
150 |
+ default: |
151 |
+ return QVariant(); |
152 |
+@@ -384,19 +379,7 @@ namespace Konversation |
153 |
+ } |
154 |
+ } |
155 |
+ |
156 |
+- QPixmap TransferListModel::getTypeIcon(Transfer::Type type) const |
157 |
+- { |
158 |
+- if (type == Transfer::Send) |
159 |
+- { |
160 |
+- return KIconLoader::global()->loadIcon("arrow-up", KIconLoader::Small); |
161 |
+- } |
162 |
+- else |
163 |
+- { |
164 |
+- return KIconLoader::global()->loadIcon("arrow-down", KIconLoader::Small); |
165 |
+- } |
166 |
+- } |
167 |
+- |
168 |
+- QPixmap TransferListModel::getStatusIcon(Transfer::Status status) const |
169 |
++ QIcon TransferListModel::getStatusIcon(Transfer::Status status) const |
170 |
+ { |
171 |
+ QString icon; |
172 |
+ switch (status) |
173 |
+@@ -422,7 +405,7 @@ namespace Konversation |
174 |
+ default: |
175 |
+ break; |
176 |
+ } |
177 |
+- return KIconLoader::global()->loadIcon(icon, KIconLoader::Small); |
178 |
++ return QIcon::fromTheme(icon); |
179 |
+ } |
180 |
+ |
181 |
+ QString TransferListModel::getSpeedPrettyText (transferspeed_t speed) |
182 |
+diff --git a/src/dcc/transferlistmodel.h b/src/dcc/transferlistmodel.h |
183 |
+index 3a8a945c..b8bc0d25 100644 |
184 |
+--- a/src/dcc/transferlistmodel.h |
185 |
++++ b/src/dcc/transferlistmodel.h |
186 |
+@@ -164,8 +164,7 @@ namespace Konversation |
187 |
+ inline QString getPositionPrettyText(KIO::fileoffset_t position, |
188 |
+ KIO::filesize_t filesize) const; |
189 |
+ inline QString getSenderAddressPrettyText(Transfer *transfer) const; |
190 |
+- inline QPixmap getStatusIcon(Transfer::Status status) const; |
191 |
+- inline QPixmap getTypeIcon(Transfer::Type type) const; |
192 |
++ inline QIcon getStatusIcon(Transfer::Status status) const; |
193 |
+ inline QString getStatusDescription(Transfer::Status status, Transfer::Type type, const QString& errorMessage = QString()) const; |
194 |
+ |
195 |
+ QList<TransferItemData> m_transferList; |
196 |
+diff --git a/src/irc/channel.cpp b/src/irc/channel.cpp |
197 |
+index 6488a0c1..595d0adc 100644 |
198 |
+--- a/src/irc/channel.cpp |
199 |
++++ b/src/irc/channel.cpp |
200 |
+@@ -38,7 +38,6 @@ |
201 |
+ #include <KLineEdit> |
202 |
+ #include <KPasswordDialog> |
203 |
+ #include <KMessageBox> |
204 |
+-#include <KIconLoader> |
205 |
+ #include <KComboBox> |
206 |
+ |
207 |
+ #define DELAYED_SORT_TRIGGER 10 |
208 |
+@@ -237,7 +236,8 @@ Channel::Channel(QWidget* parent, const QString& _name) : ChatWindow(parent) |
209 |
+ awayLabel->hide(); |
210 |
+ cipherLabel = new QLabel(commandLineBox); |
211 |
+ cipherLabel->hide(); |
212 |
+- cipherLabel->setPixmap(KIconLoader::global()->loadIcon(QStringLiteral("document-encrypt"), KIconLoader::Toolbar)); |
213 |
++ const int toolBarIconSize = cipherLabel->style()->pixelMetric(QStyle::PixelMetric::PM_ToolBarIconSize); |
214 |
++ cipherLabel->setPixmap(QIcon::fromTheme(QStringLiteral("document-encrypt")).pixmap(toolBarIconSize)); |
215 |
+ m_inputBar = new IRCInput(commandLineBox); |
216 |
+ |
217 |
+ commandLineLayout->addWidget(nicknameCombobox); |
218 |
+diff --git a/src/irc/nicksonline.cpp b/src/irc/nicksonline.cpp |
219 |
+index e23deab4..bb4cf00e 100644 |
220 |
+--- a/src/irc/nicksonline.cpp |
221 |
++++ b/src/irc/nicksonline.cpp |
222 |
+@@ -31,7 +31,6 @@ |
223 |
+ #include <QToolTip> |
224 |
+ #include <QTreeWidget> |
225 |
+ |
226 |
+-#include <KIconLoader> |
227 |
+ #include <KToolBar> |
228 |
+ |
229 |
+ |
230 |
+diff --git a/src/irc/query.cpp b/src/irc/query.cpp |
231 |
+index 8c1845e6..56310642 100644 |
232 |
+--- a/src/irc/query.cpp |
233 |
++++ b/src/irc/query.cpp |
234 |
+@@ -25,7 +25,6 @@ |
235 |
+ |
236 |
+ #include <QSplitter> |
237 |
+ |
238 |
+-#include <KIconLoader> |
239 |
+ #include <KMessageBox> |
240 |
+ #include <KSqueezedTextLabel> |
241 |
+ |
242 |
+@@ -75,7 +74,8 @@ Query::Query(QWidget* parent, const QString& _name) : ChatWindow(parent) |
243 |
+ blowfishLabel = new QLabel(inputBox); |
244 |
+ inputBoxLayout->addWidget(blowfishLabel); |
245 |
+ blowfishLabel->hide(); |
246 |
+- blowfishLabel->setPixmap(KIconLoader::global()->loadIcon(QStringLiteral("document-encrypt"), KIconLoader::Toolbar)); |
247 |
++ const int toolBarIconSize = blowfishLabel->style()->pixelMetric(QStyle::PixelMetric::PM_ToolBarIconSize); |
248 |
++ blowfishLabel->setPixmap(QIcon::fromTheme(QStringLiteral("document-encrypt")).pixmap(toolBarIconSize)); |
249 |
+ m_inputBar=new IRCInput(inputBox); |
250 |
+ inputBoxLayout->addWidget(m_inputBar); |
251 |
+ |
252 |
+diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp |
253 |
+index 40423d29..a876de30 100644 |
254 |
+--- a/src/mainwindow.cpp |
255 |
++++ b/src/mainwindow.cpp |
256 |
+@@ -49,7 +49,6 @@ |
257 |
+ #include <KActionMenu> |
258 |
+ #include <KNotifyConfigWidget> |
259 |
+ #include <KGlobalAccel> |
260 |
+-#include <KIconLoader> |
261 |
+ |
262 |
+ MainWindow::MainWindow() : KXmlGuiWindow(0) |
263 |
+ { |
264 |
+@@ -743,7 +742,6 @@ void MainWindow::updateTrayIcon() |
265 |
+ // set up system tray |
266 |
+ m_trayIcon = new Konversation::TrayIcon(this); |
267 |
+ connect(this, SIGNAL(endNotification()), m_trayIcon, SLOT(endNotification())); |
268 |
+- connect(KIconLoader::global(), SIGNAL(iconChanged(int)), m_trayIcon, SLOT(updateAppearance())); |
269 |
+ QMenu *trayMenu = qobject_cast<QMenu*>(m_trayIcon->contextMenu()); |
270 |
+ trayMenu->addAction(actionCollection()->action(QLatin1String(KStandardAction::name(KStandardAction::Preferences)))); |
271 |
+ trayMenu->addAction(actionCollection()->action(QLatin1String(KStandardAction::name(KStandardAction::ConfigureNotifications)))); |
272 |
+diff --git a/src/statusbar.cpp b/src/statusbar.cpp |
273 |
+index 07a22fc6..e0efb02f 100644 |
274 |
+--- a/src/statusbar.cpp |
275 |
++++ b/src/statusbar.cpp |
276 |
+@@ -19,7 +19,6 @@ |
277 |
+ #include <KLocalizedString> |
278 |
+ #include <QStatusBar> |
279 |
+ #include <KSqueezedTextLabel> |
280 |
+-#include <KIconLoader> |
281 |
+ |
282 |
+ namespace Konversation |
283 |
+ { |
284 |
+@@ -52,7 +51,8 @@ namespace Konversation |
285 |
+ |
286 |
+ m_sslLabel = new SSLLabel(m_window->statusBar()); |
287 |
+ m_sslLabel->setObjectName(QStringLiteral("sslLabel")); |
288 |
+- m_sslLabel->setPixmap(SmallIcon(QStringLiteral("security-high"))); |
289 |
++ const int smallIconSize = m_sslLabel->style()->pixelMetric(QStyle::PixelMetric::PM_SmallIconSize); |
290 |
++ m_sslLabel->setPixmap(QIcon::fromTheme(QStringLiteral("security-high")).pixmap(smallIconSize)); |
291 |
+ m_sslLabel->hide(); |
292 |
+ m_sslLabel->setWhatsThis(i18n("All communication with the server is encrypted. This makes it harder for someone to listen in on your communications.")); |
293 |
+ |
294 |
+diff --git a/src/viewer/ircview.cpp b/src/viewer/ircview.cpp |
295 |
+index 73f5305f..86bbc3ae 100644 |
296 |
+--- a/src/viewer/ircview.cpp |
297 |
++++ b/src/viewer/ircview.cpp |
298 |
+@@ -30,9 +30,7 @@ |
299 |
+ #include <QTextDocumentFragment> |
300 |
+ #include <QMimeData> |
301 |
+ |
302 |
+-#include <KIconLoader> |
303 |
+ #include <KStandardShortcut> |
304 |
+-#include <kio/pixmaploader.h> |
305 |
+ #include <KUrlMimeData> |
306 |
+ #include <QLocale> |
307 |
+ |
308 |
+@@ -2000,7 +1998,8 @@ void IRCView::mouseMoveEvent(QMouseEvent* ev) |
309 |
+ |
310 |
+ drag->setMimeData(mimeData); |
311 |
+ |
312 |
+- QPixmap pixmap = KIO::pixmapForUrl(url, 0, KIconLoader::Desktop, KIconLoader::SizeMedium); |
313 |
++ const QString iconName = KIO::iconNameForUrl(url); |
314 |
++ const QPixmap pixmap = QIcon::fromTheme(iconName).pixmap(32); |
315 |
+ drag->setPixmap(pixmap); |
316 |
+ |
317 |
+ drag->exec(); |
318 |
+diff --git a/src/viewer/ircviewbox.cpp b/src/viewer/ircviewbox.cpp |
319 |
+index 463c9fd3..6c10d976 100644 |
320 |
+--- a/src/viewer/ircviewbox.cpp |
321 |
++++ b/src/viewer/ircviewbox.cpp |
322 |
+@@ -14,7 +14,6 @@ |
323 |
+ #include "ircview.h" |
324 |
+ #include "searchbar.h" |
325 |
+ |
326 |
+-#include <KIconLoader> |
327 |
+ #include <QPixmap> |
328 |
+ #include <QVBoxLayout> |
329 |
+ |
330 |
+diff --git a/src/viewer/topiclabel.cpp b/src/viewer/topiclabel.cpp |
331 |
+index 6a8b4331..c96edc6e 100644 |
332 |
+--- a/src/viewer/topiclabel.cpp |
333 |
++++ b/src/viewer/topiclabel.cpp |
334 |
+@@ -20,9 +20,6 @@ |
335 |
+ #include <QTextDocument> |
336 |
+ #include <QMimeData> |
337 |
+ |
338 |
+-#include <KIconLoader> |
339 |
+-#include <kio/pixmaploader.h> |
340 |
+- |
341 |
+ namespace Konversation |
342 |
+ { |
343 |
+ TopicLabel::TopicLabel(QWidget *parent, const char *name) |
344 |
+@@ -181,7 +178,8 @@ namespace Konversation |
345 |
+ |
346 |
+ drag->setMimeData(mimeData); |
347 |
+ |
348 |
+- QPixmap pixmap = KIO::pixmapForUrl(url, 0, KIconLoader::Desktop, KIconLoader::SizeMedium); |
349 |
++ const QString iconName = KIO::iconNameForUrl(url); |
350 |
++ const QPixmap pixmap = QIcon::fromTheme(iconName).pixmap(32); |
351 |
+ drag->setPixmap(pixmap); |
352 |
+ |
353 |
+ drag->exec(); |
354 |
+diff --git a/src/viewer/viewcontainer.cpp b/src/viewer/viewcontainer.cpp |
355 |
+index 94d498ea..fd7be5bc 100644 |
356 |
+--- a/src/viewer/viewcontainer.cpp |
357 |
++++ b/src/viewer/viewcontainer.cpp |
358 |
+@@ -52,8 +52,6 @@ |
359 |
+ #include <KToggleAction> |
360 |
+ #include <KSelectAction> |
361 |
+ #include <KWindowSystem> |
362 |
+-#include <KIconLoader> |
363 |
+- |
364 |
+ |
365 |
+ using namespace Konversation; |
366 |
+ |
367 |
+@@ -241,7 +239,7 @@ void ViewContainer::setupTabWidget() |
368 |
+ m_vbox->hide(); |
369 |
+ |
370 |
+ QToolButton* closeBtn = new QToolButton(m_tabWidget); |
371 |
+- closeBtn->setIcon(SmallIcon("tab-close")); |
372 |
++ closeBtn->setIcon(QIcon::fromTheme("tab-close")); |
373 |
+ closeBtn->adjustSize(); |
374 |
+ m_tabWidget->setCornerWidget(closeBtn, Qt::BottomRightCorner); |
375 |
+ connect(closeBtn, SIGNAL(clicked()), this, SLOT(closeCurrentView())); |
376 |
+-- |
377 |
+2.28.0 |
378 |
+ |
379 |
|
380 |
diff --git a/net-irc/konversation/konversation-1.7.6.ebuild b/net-irc/konversation/konversation-1.7.6.ebuild |
381 |
new file mode 100644 |
382 |
index 00000000000..f088c5bfd39 |
383 |
--- /dev/null |
384 |
+++ b/net-irc/konversation/konversation-1.7.6.ebuild |
385 |
@@ -0,0 +1,78 @@ |
386 |
+# Copyright 1999-2020 Gentoo Authors |
387 |
+# Distributed under the terms of the GNU General Public License v2 |
388 |
+ |
389 |
+EAPI=7 |
390 |
+ |
391 |
+ECM_HANDBOOK="forceoptional" |
392 |
+KFMIN=5.70.0 |
393 |
+QTMIN=5.12.3 |
394 |
+inherit ecm kde.org |
395 |
+ |
396 |
+DESCRIPTION="User friendly IRC Client" |
397 |
+HOMEPAGE="https://konversation.kde.org" |
398 |
+SRC_URI="mirror://kde/stable/${PN}/${PV/_/-}/src/${P/_/-}.tar.xz" |
399 |
+ |
400 |
+LICENSE="GPL-2" |
401 |
+SLOT="5" |
402 |
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" |
403 |
+IUSE="+crypt" |
404 |
+ |
405 |
+BDEPEND="sys-devel/gettext" |
406 |
+DEPEND=" |
407 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
408 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
409 |
+ >=dev-qt/qtnetwork-${QTMIN}:5 |
410 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
411 |
+ >=dev-qt/qtxml-${QTMIN}:5 |
412 |
+ >=kde-frameworks/karchive-${KFMIN}:5 |
413 |
+ >=kde-frameworks/kbookmarks-${KFMIN}:5 |
414 |
+ >=kde-frameworks/kcodecs-${KFMIN}:5 |
415 |
+ >=kde-frameworks/kcompletion-${KFMIN}:5 |
416 |
+ >=kde-frameworks/kconfig-${KFMIN}:5 |
417 |
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5 |
418 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
419 |
+ >=kde-frameworks/kcrash-${KFMIN}:5 |
420 |
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5 |
421 |
+ >=kde-frameworks/kglobalaccel-${KFMIN}:5 |
422 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
423 |
+ >=kde-frameworks/kidletime-${KFMIN}:5 |
424 |
+ >=kde-frameworks/kio-${KFMIN}:5 |
425 |
+ >=kde-frameworks/kitemviews-${KFMIN}:5 |
426 |
+ >=kde-frameworks/knotifications-${KFMIN}:5 |
427 |
+ >=kde-frameworks/knotifyconfig-${KFMIN}:5 |
428 |
+ >=kde-frameworks/kparts-${KFMIN}:5 |
429 |
+ >=kde-frameworks/kservice-${KFMIN}:5 |
430 |
+ >=kde-frameworks/ktextwidgets-${KFMIN}:5 |
431 |
+ >=kde-frameworks/kwallet-${KFMIN}:5 |
432 |
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
433 |
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5 |
434 |
+ >=kde-frameworks/kxmlgui-${KFMIN}:5 |
435 |
+ >=media-libs/phonon-4.11.0 |
436 |
+ crypt? ( >=app-crypt/qca-2.3.0:2 ) |
437 |
+" |
438 |
+RDEPEND="${DEPEND} |
439 |
+ crypt? ( >=app-crypt/qca-2.3.0:2[ssl] ) |
440 |
+" |
441 |
+ |
442 |
+PATCHES=( |
443 |
+ # git master |
444 |
+ "${FILESDIR}"/${PN}-1.7.5-kf5bookmarks-5.69.patch |
445 |
+ "${FILESDIR}"/${PN}-1.7.5-unused-kemoticons.patch |
446 |
+ "${FILESDIR}"/${P}-no-kiconthemes.patch |
447 |
+) |
448 |
+ |
449 |
+src_configure() { |
450 |
+ local mycmakeargs=( |
451 |
+ $(cmake_use_find_package crypt Qca-qt5) |
452 |
+ ) |
453 |
+ |
454 |
+ ecm_src_configure |
455 |
+} |
456 |
+ |
457 |
+src_install() { |
458 |
+ ecm_src_install |
459 |
+ |
460 |
+ # Bug 616162 |
461 |
+ insinto /etc/xdg |
462 |
+ doins "${FILESDIR}"/konversationrc |
463 |
+} |