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-im/vacuum/
Date: Sat, 31 Oct 2020 23:05:22
Message-Id: 1604185496.3cd058972dd8fd0375065e426d0a8211b09944af.asturm@gentoo
1 commit: 3cd058972dd8fd0375065e426d0a8211b09944af
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 31 23:01:55 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 31 23:04:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cd05897
7
8 net-im/vacuum: EAPI-7, cmake.eclass, drop IUSE=adiummessagestyle
9
10 - Add missing BDEPEND
11 - Fix typo
12 - Drop nonexistent blocker net-im/vacuum-spellchecker
13
14 Closes: https://bugs.gentoo.org/737940
15 Closes: https://bugs.gentoo.org/740658
16 Package-Manager: Portage-3.0.8, Repoman-3.0.2
17 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
18
19 net-im/vacuum/metadata.xml | 1 -
20 net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild | 22 +++++++++++-----------
21 net-im/vacuum/vacuum-9999.ebuild | 27 +++++++++++++--------------
22 3 files changed, 24 insertions(+), 26 deletions(-)
23
24 diff --git a/net-im/vacuum/metadata.xml b/net-im/vacuum/metadata.xml
25 index 69557bbd0f9..724d412c261 100644
26 --- a/net-im/vacuum/metadata.xml
27 +++ b/net-im/vacuum/metadata.xml
28 @@ -14,7 +14,6 @@
29 <name>Proxy Maintainers</name>
30 </maintainer>
31 <use>
32 - <flag name="adiummessagestyle">Use UI styles created for Adium</flag>
33 <flag name="annotations">Enable adding comments to the contacts in the roster</flag>
34 <flag name="autostatus">Change the status in accordance with the time of inactivity</flag>
35 <flag name="avatars">Enable assigning and displaying avatars</flag>
36
37 diff --git a/net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild b/net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild
38 index cdb7af2a260..7da48efb53a 100644
39 --- a/net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild
40 +++ b/net-im/vacuum/vacuum-1.3.0_pre20180105.ebuild
41 @@ -1,11 +1,10 @@
42 # Copyright 1999-2020 Gentoo Authors
43 # Distributed under the terms of the GNU General Public License v2
44
45 -EAPI=6
46 +EAPI=7
47
48 PLOCALES="de es pl ru uk"
49 -
50 -inherit cmake-utils l10n
51 +inherit cmake l10n
52
53 MY_PN="${PN}-im"
54 MY_PV="${PV/_pre/.}-Alpha"
55 @@ -18,7 +17,7 @@ SRC_URI="https://github.com/Vacuum-IM/${MY_PN}/archive/${MY_PV}.tar.gz -> ${MY_P
56 LICENSE="GPL-3"
57 SLOT="0/37" # subslot = libvacuumutils soname version
58 KEYWORDS="~amd64 ~x86"
59 -PLUGINS=( adiummessagestyle annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver messagecarbons multiuserchat pepmanager privacylists privatestorage recentcontacts registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries )
60 +PLUGINS=( annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver messagecarbons multiuserchat pepmanager privacylists privatestorage recentcontacts registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries )
61 SPELLCHECKER_BACKENDS="aspell +enchant hunspell"
62 IUSE="${PLUGINS[@]/#/+} ${SPELLCHECKER_BACKENDS} +spell"
63
64 @@ -43,6 +42,9 @@ REQUIRED_USE="
65 spell? ( ^^ ( ${SPELLCHECKER_BACKENDS//+/} ) )
66 "
67
68 +BDEPEND="
69 + dev-qt/linguist-tools:5
70 +"
71 DEPEND="
72 dev-qt/qtcore:5
73 dev-qt/qtgui:5
74 @@ -53,7 +55,6 @@ DEPEND="
75 net-dns/libidn
76 sys-libs/zlib[minizip]
77 x11-libs/libXScrnSaver
78 - adiummessagestyle? ( dev-qt/qtwebkit:5 )
79 filemessagearchive? ( dev-qt/qtsql:5[sqlite] )
80 messagearchiver? ( dev-qt/qtsql:5[sqlite] )
81 spell? (
82 @@ -71,14 +72,13 @@ DOCS=( AUTHORS CHANGELOG README TRANSLATORS )
83 S="${WORKDIR}/${MY_P}"
84
85 src_prepare() {
86 + cmake_src_prepare
87 +
88 # Force usage of system libraries
89 rm -rf src/thirdparty/{hunspell,idn,minizip,qtlockedfile,zlib} || die
90
91 - # Supress find thirdparty library in the system
92 - sed -i -r -e "/find_library.+qxtglobalshortcut/d" \
93 - CMakeLists.txt || die
94 -
95 - cmake-utils_src_prepare
96 + # Suppress find thirdparty library in the system
97 + sed -i -r -e "/find_library.+qxtglobalshortcut/d" CMakeLists.txt || die
98 }
99
100 src_configure() {
101 @@ -100,5 +100,5 @@ src_configure() {
102 use "${i}" && mycmakeargs+=( -DSPELLCHECKER_BACKEND="${i}" )
103 done
104
105 - cmake-utils_src_configure
106 + cmake_src_configure
107 }
108
109 diff --git a/net-im/vacuum/vacuum-9999.ebuild b/net-im/vacuum/vacuum-9999.ebuild
110 index edcb05c884a..a5e9347a9ba 100644
111 --- a/net-im/vacuum/vacuum-9999.ebuild
112 +++ b/net-im/vacuum/vacuum-9999.ebuild
113 @@ -1,11 +1,11 @@
114 # Copyright 1999-2020 Gentoo Authors
115 # Distributed under the terms of the GNU General Public License v2
116
117 -EAPI=6
118 +EAPI=7
119
120 -EGIT_REPO_URI="https://github.com/Vacuum-IM/vacuum-im.git"
121 +EGIT_REPO_URI="https://github.com/Vacuum-IM/vacuum-im"
122 PLOCALES="de es pl ru uk"
123 -inherit cmake-utils git-r3 l10n
124 +inherit cmake git-r3 l10n
125
126 DESCRIPTION="Qt Crossplatform Jabber client"
127 HOMEPAGE="http://www.vacuum-im.org/"
128 @@ -13,7 +13,7 @@ HOMEPAGE="http://www.vacuum-im.org/"
129 LICENSE="GPL-3"
130 SLOT="0/37" # subslot = libvacuumutils soname version
131 KEYWORDS=""
132 -PLUGINS=( adiummessagestyle annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver messagecarbons multiuserchat pepmanager privacylists privatestorage recentcontacts registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries )
133 +PLUGINS=( annotations autostatus avatars birthdayreminder bitsofbinary bookmarks captchaforms chatstates clientinfo commands compress console dataforms datastreamsmanager emoticons filemessagearchive filestreamsmanager filetransfer gateways inbandstreams iqauth jabbersearch messagearchiver messagecarbons multiuserchat pepmanager privacylists privatestorage recentcontacts registration remotecontrol rosteritemexchange rostersearch servermessagearchive servicediscovery sessionnegotiation shortcutmanager socksstreams urlprocessor vcard xmppuriqueries )
134 SPELLCHECKER_BACKENDS="aspell +enchant hunspell"
135 IUSE="${PLUGINS[@]/#/+} ${SPELLCHECKER_BACKENDS} +spell"
136
137 @@ -38,6 +38,9 @@ REQUIRED_USE="
138 spell? ( ^^ ( ${SPELLCHECKER_BACKENDS//+/} ) )
139 "
140
141 +BDEPEND="
142 + dev-qt/linguist-tools:5
143 +"
144 DEPEND="
145 dev-qt/qtcore:5
146 dev-qt/qtgui:5
147 @@ -48,7 +51,6 @@ DEPEND="
148 net-dns/libidn
149 sys-libs/zlib[minizip]
150 x11-libs/libXScrnSaver
151 - adiummessagestyle? ( dev-qt/qtwebkit:5 )
152 filemessagearchive? ( dev-qt/qtsql:5[sqlite] )
153 messagearchiver? ( dev-qt/qtsql:5[sqlite] )
154 spell? (
155 @@ -57,21 +59,18 @@ DEPEND="
156 hunspell? ( app-text/hunspell )
157 )
158 "
159 -RDEPEND="${DEPEND}
160 - !net-im/vacuum-spellchecker
161 -"
162 +RDEPEND="${DEPEND}"
163
164 DOCS=( AUTHORS CHANGELOG README TRANSLATORS )
165
166 src_prepare() {
167 + cmake_src_prepare
168 +
169 # Force usage of system libraries
170 rm -rf src/thirdparty/{hunspell,idn,minizip,qtlockedfile,zlib} || die
171
172 - # Supress find thirdparty library in the system
173 - sed -i -r -e "/find_library.+qxtglobalshortcut/d" \
174 - CMakeLists.txt || die
175 -
176 - cmake-utils_src_prepare
177 + # Suppress find thirdparty library in the system
178 + sed -i -r -e "/find_library.+qxtglobalshortcut/d" CMakeLists.txt || die
179 }
180
181 src_configure() {
182 @@ -93,5 +92,5 @@ src_configure() {
183 use "${i}" && mycmakeargs+=( -DSPELLCHECKER_BACKEND="${i}" )
184 done
185
186 - cmake-utils_src_configure
187 + cmake_src_configure
188 }