Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/konversation/, net-irc/konversation/files/
Date: Sun, 01 Nov 2020 20:03:34
Message-Id: 1604260996.e086ff1665ebeda400b3ad4b984092438a55fff6.asturm@gentoo
1 commit: e086ff1665ebeda400b3ad4b984092438a55fff6
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 1 19:59:15 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 1 20:03:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e086ff16
7
8 net-irc/konversation: Drop another unused DEPEND
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.2
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 .../files/konversation-1.7.7-no-solid.patch | 38 ++++++++++
14 net-irc/konversation/konversation-1.7.7-r1.ebuild | 82 ++++++++++++++++++++++
15 2 files changed, 120 insertions(+)
16
17 diff --git a/net-irc/konversation/files/konversation-1.7.7-no-solid.patch b/net-irc/konversation/files/konversation-1.7.7-no-solid.patch
18 new file mode 100644
19 index 00000000000..53ea4a3d7a1
20 --- /dev/null
21 +++ b/net-irc/konversation/files/konversation-1.7.7-no-solid.patch
22 @@ -0,0 +1,38 @@
23 +From 3d8a425ef426019c49abea20baa58461900c731d Mon Sep 17 00:00:00 2001
24 +From: "Friedrich W. H. Kossebau" <kossebau@×××.org>
25 +Date: Thu, 29 Oct 2020 13:15:22 +0100
26 +Subject: [PATCH] Remove unused explicit dep on and linkage of Solid
27 +
28 +(still pulled in via public dep of KIOFileWidgets, but not used by us)
29 +---
30 + CMakeLists.txt | 1 -
31 + src/CMakeLists.txt | 1 -
32 + 2 files changed, 2 deletions(-)
33 +
34 +diff --git a/CMakeLists.txt b/CMakeLists.txt
35 +index 72ec982d..bcd101e1 100644
36 +--- a/CMakeLists.txt
37 ++++ b/CMakeLists.txt
38 +@@ -30,7 +30,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED
39 + NotifyConfig
40 + KIO
41 + Parts
42 +- Solid
43 + Wallet
44 + WidgetsAddons
45 + GlobalAccel
46 +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
47 +index 460325f1..680053e2 100644
48 +--- a/src/CMakeLists.txt
49 ++++ b/src/CMakeLists.txt
50 +@@ -244,7 +244,6 @@ target_link_libraries(konversation
51 + KF5::KIOFileWidgets
52 + KF5::KIOWidgets
53 + KF5::Parts
54 +- KF5::Solid
55 + KF5::Wallet
56 + KF5::WidgetsAddons
57 + KF5::GlobalAccel
58 +--
59 +GitLab
60 +
61
62 diff --git a/net-irc/konversation/konversation-1.7.7-r1.ebuild b/net-irc/konversation/konversation-1.7.7-r1.ebuild
63 new file mode 100644
64 index 00000000000..c854ef903fe
65 --- /dev/null
66 +++ b/net-irc/konversation/konversation-1.7.7-r1.ebuild
67 @@ -0,0 +1,82 @@
68 +# Copyright 1999-2020 Gentoo Authors
69 +# Distributed under the terms of the GNU General Public License v2
70 +
71 +EAPI=7
72 +
73 +ECM_HANDBOOK="forceoptional"
74 +KFMIN=5.74.0
75 +QTMIN=5.15.1
76 +inherit ecm kde.org
77 +
78 +DESCRIPTION="User friendly IRC Client"
79 +HOMEPAGE="https://konversation.kde.org https://apps.kde.org/en/konversation"
80 +
81 +if [[ ${KDE_BUILD_TYPE} == release ]]; then
82 + SRC_URI="mirror://kde/stable/${PN}/${PV/_/-}/src/${P/_/-}.tar.xz"
83 + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
84 +fi
85 +
86 +LICENSE="GPL-2"
87 +SLOT="5"
88 +IUSE="+crypt"
89 +
90 +BDEPEND="sys-devel/gettext"
91 +DEPEND="
92 + >=dev-qt/qtdbus-${QTMIN}:5
93 + >=dev-qt/qtgui-${QTMIN}:5
94 + >=dev-qt/qtnetwork-${QTMIN}:5
95 + >=dev-qt/qtwidgets-${QTMIN}:5
96 + >=dev-qt/qtxml-${QTMIN}:5
97 + >=kde-frameworks/karchive-${KFMIN}:5
98 + >=kde-frameworks/kbookmarks-${KFMIN}:5
99 + >=kde-frameworks/kcodecs-${KFMIN}:5
100 + >=kde-frameworks/kcompletion-${KFMIN}:5
101 + >=kde-frameworks/kconfig-${KFMIN}:5
102 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5
103 + >=kde-frameworks/kcoreaddons-${KFMIN}:5
104 + >=kde-frameworks/kcrash-${KFMIN}:5
105 + >=kde-frameworks/kdbusaddons-${KFMIN}:5
106 + >=kde-frameworks/kglobalaccel-${KFMIN}:5
107 + >=kde-frameworks/ki18n-${KFMIN}:5
108 + >=kde-frameworks/kidletime-${KFMIN}:5
109 + >=kde-frameworks/kio-${KFMIN}:5
110 + >=kde-frameworks/kitemviews-${KFMIN}:5
111 + >=kde-frameworks/knotifications-${KFMIN}:5
112 + >=kde-frameworks/knotifyconfig-${KFMIN}:5
113 + >=kde-frameworks/kparts-${KFMIN}:5
114 + >=kde-frameworks/kservice-${KFMIN}:5
115 + >=kde-frameworks/ktextwidgets-${KFMIN}:5
116 + >=kde-frameworks/kwallet-${KFMIN}:5
117 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
118 + >=kde-frameworks/kwindowsystem-${KFMIN}:5
119 + >=kde-frameworks/kxmlgui-${KFMIN}:5
120 + >=media-libs/phonon-4.11.0
121 + crypt? ( >=app-crypt/qca-2.3.0:2 )
122 +"
123 +RDEPEND="${DEPEND}
124 + >=dev-qt/qtsvg-${QTMIN}:5
125 + crypt? ( >=app-crypt/qca-2.3.0:2[ssl] )
126 +"
127 +
128 +PATCHES=(
129 + # git master
130 + "${FILESDIR}"/${PN}-1.7.5-unused-kemoticons.patch
131 + "${FILESDIR}"/${PN}-1.7.6-no-kiconthemes.patch
132 + "${FILESDIR}"/${P}-no-solid.patch
133 +)
134 +
135 +src_configure() {
136 + local mycmakeargs=(
137 + $(cmake_use_find_package crypt Qca-qt5)
138 + )
139 +
140 + ecm_src_configure
141 +}
142 +
143 +src_install() {
144 + ecm_src_install
145 +
146 + # Bug 616162
147 + insinto /etc/xdg
148 + doins "${FILESDIR}"/konversationrc
149 +}