Gentoo Archives: gentoo-commits

From: "Maciej Mrozowski (reavertm)" <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/kadu: metadata.xml kadu-2.1.ebuild ChangeLog
Date: Sun, 05 Jul 2015 20:17:14
Message-Id: 20150705201708.6CEC1751@oystercatcher.gentoo.org
1 reavertm 15/07/05 20:17:08
2
3 Modified: metadata.xml ChangeLog
4 Added: kadu-2.1.ebuild
5 Log:
6 Version bump, bug 542136. Some credits to wojtask9.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key B1E955DB)
9
10 Revision Changes Path
11 1.28 net-im/kadu/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/metadata.xml?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/metadata.xml?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/metadata.xml?r1=1.27&r2=1.28
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/kadu/metadata.xml,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- metadata.xml 10 Mar 2013 21:02:40 -0000 1.27
24 +++ metadata.xml 5 Jul 2015 20:17:08 -0000 1.28
25 @@ -9,6 +9,7 @@
26 <use>
27 <flag name="gadu">Enables Gadu communication protocol</flag>
28 <flag name="mpd">Enables Music Player Daemon support</flag>
29 + <flag name="otr">Enable char encryption via OTR library</flag>
30 <flag name="phonon">Enables phonon audio plugin</flag>
31 <flag name="sdk">Install Kadu SDK (cmake module, API headers)</flag>
32 <flag name="speech">Enables speech module</flag>
33
34
35
36 1.155 net-im/kadu/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/ChangeLog?rev=1.155&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/ChangeLog?rev=1.155&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/ChangeLog?r1=1.154&r2=1.155
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v
45 retrieving revision 1.154
46 retrieving revision 1.155
47 diff -u -r1.154 -r1.155
48 --- ChangeLog 22 Feb 2015 18:41:23 -0000 1.154
49 +++ ChangeLog 5 Jul 2015 20:17:08 -0000 1.155
50 @@ -1,6 +1,12 @@
51 # ChangeLog for net-im/kadu
52 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.154 2015/02/22 18:41:23 mgorny Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.155 2015/07/05 20:17:08 reavertm Exp $
55 +
56 +*kadu-2.1 (05 Jul 2015)
57 +
58 + 05 Jul 2015; Maciej Mrozowski <reavertm@g.o>
59 + +files/kadu-2.1-qt5-compilation.patch, +kadu-2.1.ebuild, metadata.xml:
60 + Version bump, bug 542136. Some credits to wojtask9.
61
62 22 Feb 2015; Michał Górny <mgorny@g.o> kadu-0.12.3.ebuild:
63 Update dependency on QCA plugins to use USE flags on app-crypt/qca:2
64
65
66
67 1.1 net-im/kadu/kadu-2.1.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/kadu-2.1.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/kadu-2.1.ebuild?rev=1.1&content-type=text/plain
71
72 Index: kadu-2.1.ebuild
73 ===================================================================
74 # Copyright 1999-2015 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-2.1.ebuild,v 1.1 2015/07/05 20:17:08 reavertm Exp $
77
78 EAPI="5"
79
80 inherit base cmake-utils flag-o-matic
81
82 MY_P="${P/_/-}"
83
84 DESCRIPTION="An open source Gadu-Gadu and Jabber/XMPP protocol Instant Messenger client"
85 HOMEPAGE="http://www.kadu.net"
86 SRC_URI="http://download.kadu.im/stable/${P}.tar.bz2"
87
88 LICENSE="GPL-2"
89 KEYWORDS="~amd64 ~x86"
90 SLOT="0"
91 IUSE="+gadu mpd otr phonon sdk speech spell xmpp"
92 REQUIRED_USE="
93 || (
94 gadu
95 xmpp
96 )
97 "
98 COMMON_DEPEND="
99 app-crypt/qca:2[openssl,qt5]
100 >=dev-libs/injeqt-1.0.0
101 >=dev-qt/linguist-tools-5.2.0:5
102 >=dev-qt/qtcore-5.2.0:5
103 >=dev-qt/qtdbus-5.2.0:5
104 >=dev-qt/qtgui-5.2.0:5
105 >=dev-qt/qtmultimedia-5.2.0:5
106 >=dev-qt/qtnetwork-5.2.0:5
107 >=dev-qt/qtquick1-5.2.0:5
108 >=dev-qt/qtscript-5.2.0:5
109 >=dev-qt/qtsql-5.2.0:5
110 >=dev-qt/qtsvg-5.2.0:5
111 >=dev-qt/qtwebkit-5.2.0:5
112 >=dev-qt/qtwidgets-5.2.0:5
113 >=dev-qt/qtx11extras-5.2.0:5
114 >=dev-qt/qtxml-5.2.0:5
115 >=dev-qt/qtxmlpatterns-5.2.0:5
116 >=app-arch/libarchive-2.6[lzma]
117 x11-libs/libX11
118 x11-libs/libXext
119 x11-libs/libXScrnSaver
120 gadu? ( >=net-libs/libgadu-1.11.1[threads] )
121 mpd? ( media-libs/libmpdclient )
122 otr? (
123 >=dev-libs/libgcrypt-1.2.2:0
124 >=net-libs/libotr-4.1.0
125 )
126 phonon? (
127 || (
128 media-libs/phonon[qt5]
129 >=dev-qt/qtphonon-4.7.0:4
130 )
131 )
132 spell? ( app-text/enchant )
133 xmpp? (
134 net-dns/libidn
135 sys-libs/zlib
136 )
137 "
138 DEPEND="${COMMON_DEPEND}
139 x11-proto/scrnsaverproto
140 x11-proto/xextproto
141 x11-proto/xproto
142 "
143 RDEPEND="${COMMON_DEPEND}
144 speech? ( app-accessibility/powiedz )
145 "
146
147 PATCHES=(
148 "${FILESDIR}/${P}-qt5-compilation.patch"
149 )
150
151 PLUGINS='
152 antistring
153 auto_hide
154 autoaway
155 autoresponder
156 autostatus
157 cenzor
158 chat_notify
159 config_wizard
160 desktop_docking
161 docking
162 emoticons
163 encryption_ng
164 encryption_ng_simlite
165 exec_notify
166 ext_sound
167 falf_mediaplayer
168 filedesc
169 firewall
170 freedesktop_notify
171 hints
172 history
173 idle
174 imagelink
175 last_seen
176 mediaplayer
177 mprisplayer_mediaplayer
178 pcspeaker
179 qt4_docking
180 qt4_docking_notify
181 screenshot simpleview
182 single_window
183 sms
184 sound
185 sql_history
186 tabs
187 word_fix
188 '
189
190 src_configure() {
191 # Filter out dangerous flags
192 filter-flags -fno-rtti
193 strip-unsupported-flags
194
195 # Ensure -DQT_NO_DEBUG is added
196 append-cppflags -DQT_NO_DEBUG
197
198 # Plugin selection
199 use gadu && PLUGINS+=' gadu_protocol history_migration profiles_import'
200 use mpd && PLUGINS+=' mpd_mediaplayer'
201 use otr && PLUGINS+=' encryption_otr'
202 use phonon && PLUGINS+=' phonon_sound'
203 use speech && PLUGINS+=' speech'
204 use spell && PLUGINS+=' spellchecker'
205 use xmpp && PLUGINS+=' jabber_protocol'
206
207 # Configure package
208 local mycmakeargs=(
209 -DBUILD_DESCRIPTION='Gentoo Linux'
210 -DCOMPILE_PLUGINS="${PLUGINS}"
211 -DNETWORK_IMPLEMENTATION="Qt"
212 $(cmake-utils_use sdk INSTALL_SDK)
213 $(cmake-utils_use_with spell ENCHANT)
214 )
215 unset PLUGINS
216
217 cmake-utils_src_configure
218 }