1 |
commit: 89b4006be09f5a68c2b7d96e6100bbce5c321724 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 18 11:45:03 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 18 12:03:17 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89b4006b |
7 |
|
8 |
net-im/vacuum: Switch to building 'dev_qt5' branch |
9 |
|
10 |
- Bump to EAPI 6 |
11 |
- Switch to l10n.eclass |
12 |
|
13 |
Thanks-to: reagentoo <reagentoo <AT> gmail.com> |
14 |
Gentoo-bug: 588714, 620724 |
15 |
|
16 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
17 |
|
18 |
net-im/vacuum/metadata.xml | 1 - |
19 |
net-im/vacuum/vacuum-9999.ebuild | 71 ++++++++++++++++++---------------------- |
20 |
2 files changed, 31 insertions(+), 41 deletions(-) |
21 |
|
22 |
diff --git a/net-im/vacuum/metadata.xml b/net-im/vacuum/metadata.xml |
23 |
index 3c658b4028b..3f054b4c28b 100644 |
24 |
--- a/net-im/vacuum/metadata.xml |
25 |
+++ b/net-im/vacuum/metadata.xml |
26 |
@@ -48,7 +48,6 @@ |
27 |
<flag name="urlprocessor">Allows other plugins to load data from custom types of URLs</flag> |
28 |
<flag name="vcard">Enable obtaining peer's personal contact information</flag> |
29 |
<flag name="xmppuriqueries">Allow other plugins to handle XMPP URI queries</flag> |
30 |
- <flag name="vcs-revision">Add VCS revision to version number, INSECURE.</flag> |
31 |
<flag name="aspell">Select <pkg>app-text/aspell</pkg> spell checker backend</flag> |
32 |
<flag name="enchant">Select <pkg>app-text/enchant</pkg> spell checker backend</flag> |
33 |
<flag name="hunspell">Select <pkg>app-text/hunspell</pkg> spell checker backend</flag> |
34 |
|
35 |
diff --git a/net-im/vacuum/vacuum-9999.ebuild b/net-im/vacuum/vacuum-9999.ebuild |
36 |
index 2b08c43193d..76ab422c67c 100644 |
37 |
--- a/net-im/vacuum/vacuum-9999.ebuild |
38 |
+++ b/net-im/vacuum/vacuum-9999.ebuild |
39 |
@@ -1,24 +1,22 @@ |
40 |
-# Copyright 1999-2015 Gentoo Foundation |
41 |
+# Copyright 1999-2017 Gentoo Foundation |
42 |
# Distributed under the terms of the GNU General Public License v2 |
43 |
|
44 |
-EAPI="5" |
45 |
-LANGS="de pl ru uk" |
46 |
+EAPI=6 |
47 |
|
48 |
-inherit cmake-utils git-r3 |
49 |
+EGIT_BRANCH="dev_qt5" |
50 |
+EGIT_REPO_URI="https://github.com/Vacuum-IM/vacuum-im.git" |
51 |
+PLOCALES="de es pl ru uk" |
52 |
+inherit cmake-utils git-r3 l10n |
53 |
|
54 |
-DESCRIPTION="Qt4 Crossplatform Jabber client" |
55 |
+DESCRIPTION="Qt Crossplatform Jabber client" |
56 |
HOMEPAGE="http://www.vacuum-im.org/" |
57 |
-EGIT_REPO_URI="https://github.com/Vacuum-IM/vacuum-im.git" |
58 |
|
59 |
LICENSE="GPL-3" |
60 |
-SLOT="0/31" # subslot = libvacuumutils soname version |
61 |
+SLOT="0/37" # subslot = libvacuumutils soname version |
62 |
KEYWORDS="" |
63 |
-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" |
64 |
+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 ) |
65 |
SPELLCHECKER_BACKENDS="aspell +enchant hunspell" |
66 |
-IUSE="${PLUGINS// / +} ${SPELLCHECKER_BACKENDS} +spell vcs-revision" |
67 |
-for x in ${LANGS}; do |
68 |
- IUSE+=" linguas_${x}" |
69 |
-done |
70 |
+IUSE="${PLUGINS[@]/#/+} ${SPELLCHECKER_BACKENDS} +spell" |
71 |
|
72 |
REQUIRED_USE=" |
73 |
annotations? ( privatestorage ) |
74 |
@@ -41,27 +39,30 @@ REQUIRED_USE=" |
75 |
spell? ( ^^ ( ${SPELLCHECKER_BACKENDS//+/} ) ) |
76 |
" |
77 |
|
78 |
-RDEPEND=" |
79 |
- >=dev-qt/qtcore-4.8:4[ssl] |
80 |
- >=dev-qt/qtgui-4.8:4 |
81 |
- dev-qt/qtlockedfile[qt4(+)] |
82 |
- >=dev-libs/openssl-1.0.0 |
83 |
- adiummessagestyle? ( >=dev-qt/qtwebkit-4.8:4 ) |
84 |
- filemessagearchive? ( >=dev-qt/qtsql-4.8:4[sqlite] ) |
85 |
- messagearchiver? ( >=dev-qt/qtsql-4.8:4[sqlite] ) |
86 |
+DEPEND=" |
87 |
+ dev-qt/qtcore:5 |
88 |
+ dev-qt/qtgui:5 |
89 |
+ dev-qt/qtlockedfile[qt5(+)] |
90 |
+ dev-qt/qtmultimedia:5 |
91 |
+ dev-qt/qtnetwork:5[ssl] |
92 |
+ dev-qt/qtxml:5 |
93 |
+ net-dns/libidn |
94 |
+ sys-libs/zlib[minizip] |
95 |
+ x11-libs/libXScrnSaver |
96 |
+ adiummessagestyle? ( dev-qt/qtwebkit:5 ) |
97 |
+ filemessagearchive? ( dev-qt/qtsql:5[sqlite] ) |
98 |
+ messagearchiver? ( dev-qt/qtsql:5[sqlite] ) |
99 |
spell? ( |
100 |
aspell? ( app-text/aspell ) |
101 |
enchant? ( app-text/enchant ) |
102 |
hunspell? ( app-text/hunspell ) |
103 |
) |
104 |
- net-dns/libidn |
105 |
- x11-libs/libXScrnSaver |
106 |
- sys-libs/zlib[minizip] |
107 |
+" |
108 |
+RDEPEND="${DEPEND} |
109 |
!net-im/vacuum-spellchecker |
110 |
" |
111 |
-DEPEND="${RDEPEND}" |
112 |
|
113 |
-DOCS="AUTHORS CHANGELOG README TRANSLATORS" |
114 |
+DOCS=( AUTHORS CHANGELOG README TRANSLATORS ) |
115 |
|
116 |
src_prepare() { |
117 |
# Force usage of system libraries |
118 |
@@ -71,34 +72,24 @@ src_prepare() { |
119 |
} |
120 |
|
121 |
src_configure() { |
122 |
- # linguas |
123 |
- local langs="none;" x |
124 |
- for x in ${LANGS}; do |
125 |
- use linguas_${x} && langs+="${x};" |
126 |
- done |
127 |
- |
128 |
local mycmakeargs=( |
129 |
-DINSTALL_LIB_DIR="$(get_libdir)" |
130 |
-DINSTALL_SDK=ON |
131 |
- -DLANGS="${langs}" |
132 |
+ -DLANGS="$(l10n_get_locales)" |
133 |
-DINSTALL_DOCS=OFF |
134 |
-DFORCE_BUNDLED_MINIZIP=OFF |
135 |
-DPLUGIN_statistics=OFF |
136 |
+ -DNO_WEBKIT=$(usex !adiummessagestyle) |
137 |
+ -DPLUGIN_spellchecker=$(usex spell) |
138 |
) |
139 |
|
140 |
- for x in ${PLUGINS}; do |
141 |
- mycmakeargs+=( "$(cmake-utils_use ${x} PLUGIN_${x})" ) |
142 |
+ for x in ${PLUGINS[@]}; do |
143 |
+ mycmakeargs+=( -DPLUGIN_${x}=$(usex $x) ) |
144 |
done |
145 |
- mycmakeargs+=( "$(cmake-utils_use spell PLUGIN_spellchecker)" ) |
146 |
|
147 |
for i in ${SPELLCHECKER_BACKENDS//+/}; do |
148 |
use "${i}" && mycmakeargs+=( -DSPELLCHECKER_BACKEND="${i}" ) |
149 |
done |
150 |
|
151 |
- if use vcs-revision; then |
152 |
- subversion_wc_info # eclass is broken |
153 |
- mycmakeargs+=( -DVER_STRING="${ESVN_WC_REVISION}" ) |
154 |
- fi |
155 |
- |
156 |
cmake-utils_src_configure |
157 |
} |