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 ChangeLog kadu-0.10.0-r1.ebuild
Date: Fri, 30 Sep 2011 21:41:37
Message-Id: 20110930214127.2FA9320036@flycatcher.gentoo.org
1 reavertm 11/09/30 21:41:27
2
3 Modified: metadata.xml ChangeLog
4 Added: kadu-0.10.0-r1.ebuild
5 Log:
6 Update deps, bug 385009, by Bartosz Brachaczek. Favor media-libs/phonon over outdated x11-libs/qt-phonon. Add sdk USE flag.
7
8 (Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.22 net-im/kadu/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/metadata.xml?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/metadata.xml?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/metadata.xml?r1=1.21&r2=1.22
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/kadu/metadata.xml,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- metadata.xml 1 Jun 2011 20:17:37 -0000 1.21
24 +++ metadata.xml 30 Sep 2011 21:41:27 -0000 1.22
25 @@ -14,7 +14,7 @@
26 <use>
27 <flag name="gadu">Enables Gadu communication protocol</flag>
28 <flag name="phonon">Enables phonon audio plugin</flag>
29 + <flag name="sdk">Install Kadu SDK (cmake module, API headers)</flag>
30 <flag name="speech">Enables speech module</flag>
31 - <!-- <flag name="tlen">Enables Tlen.pl communication protocol</flag> -->
32 </use>
33 </pkgmetadata>
34
35
36
37 1.110 net-im/kadu/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/ChangeLog?rev=1.110&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/ChangeLog?rev=1.110&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/ChangeLog?r1=1.109&r2=1.110
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v
46 retrieving revision 1.109
47 retrieving revision 1.110
48 diff -u -r1.109 -r1.110
49 --- ChangeLog 29 Sep 2011 20:37:27 -0000 1.109
50 +++ ChangeLog 30 Sep 2011 21:41:27 -0000 1.110
51 @@ -1,6 +1,13 @@
52 # ChangeLog for net-im/kadu
53 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.109 2011/09/29 20:37:27 reavertm Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/net-im/kadu/ChangeLog,v 1.110 2011/09/30 21:41:27 reavertm Exp $
56 +
57 +*kadu-0.10.0-r1 (30 Sep 2011)
58 +
59 + 30 Sep 2011; Maciej Mrozowski <reavertm@g.o> +kadu-0.10.0-r1.ebuild,
60 + +files/kadu-0.10.0-sdk-cmake.patch, metadata.xml:
61 + Update deps, bug 385009, by Bartosz Brachaczek. Favor media-libs/phonon over
62 + outdated x11-libs/qt-phonon. Add sdk USE flag.
63
64 *kadu-0.10.0 (29 Sep 2011)
65
66
67
68
69 1.1 net-im/kadu/kadu-0.10.0-r1.ebuild
70
71 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/kadu-0.10.0-r1.ebuild?rev=1.1&view=markup
72 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/kadu/kadu-0.10.0-r1.ebuild?rev=1.1&content-type=text/plain
73
74 Index: kadu-0.10.0-r1.ebuild
75 ===================================================================
76 # Copyright 1999-2011 Gentoo Foundation
77 # Distributed under the terms of the GNU General Public License v2
78 # $Header: /var/cvsroot/gentoo-x86/net-im/kadu/kadu-0.10.0-r1.ebuild,v 1.1 2011/09/30 21:41:27 reavertm Exp $
79
80 EAPI="4"
81
82 inherit base cmake-utils flag-o-matic
83
84 MY_P="${P/_/-}"
85
86 DESCRIPTION="An open source Gadu-Gadu and Jabber/XMPP protocol Instant Messenger client."
87 HOMEPAGE="http://www.kadu.net"
88 SRC_URI="http://download.kadu.im/stable/${MY_P}.tar.bz2"
89
90 LICENSE="GPL-2"
91 KEYWORDS="~amd64 ~ppc ~x86"
92 SLOT="0"
93 IUSE="+gadu phonon sdk speech spell +ssl xmpp"
94 REQUIRED_USE="
95 || (
96 gadu
97 xmpp
98 )
99 "
100 COMMON_DEPEND="
101 >=app-crypt/qca-2.0.0-r2
102 >=media-libs/libsndfile-1.0
103 >=net-libs/libgadu-1.11.0[threads]
104 x11-libs/libXfixes
105 x11-libs/libXScrnSaver
106 >=x11-libs/qt-dbus-4.7.0:4
107 >=x11-libs/qt-gui-4.7.0:4
108 >=x11-libs/qt-script-4.7.0:4
109 >=x11-libs/qt-sql-4.7.0:4[sqlite]
110 >=x11-libs/qt-svg-4.7.0:4
111 >=x11-libs/qt-webkit-4.7.0:4
112 gadu? ( >=x11-libs/qt-xmlpatterns-4.7.0:4 )
113 phonon? (
114 media-libs/phonon
115 >=x11-libs/qt-phonon-4.7.0:4
116 )
117 spell? ( app-text/enchant )
118 xmpp? (
119 net-dns/libidn
120 sys-libs/zlib
121 )
122 "
123 DEPEND="${COMMON_DEPEND}
124 x11-proto/fixesproto
125 x11-proto/scrnsaverproto
126 "
127 RDEPEND="${COMMON_DEPEND}
128 speech? ( app-accessibility/powiedz )
129 ssl? ( app-crypt/qca-ossl:2 )
130 "
131
132 PATCHES=(
133 "${FILESDIR}/${P}-cmake.patch"
134 "${FILESDIR}/${P}-sdk-cmake.patch"
135 )
136
137 PLUGINS='amarok1_mediaplayer antistring auto_hide autoaway autoresponder
138 autostatus cenzor chat_notify config_wizard desktop_docking docking exec_notify
139 ext_sound falf_mediaplayer filedesc firewall freedesktop_notify hints history
140 idle imagelink last_seen mediaplayer mprisplayer_mediaplayer pcspeaker qt4_docking
141 qt4_docking_notify screenshot simpleview single_window sms sound sql_history tabs
142 word_fix'
143
144 src_configure() {
145 # Filter out dangerous flags
146 filter-flags -fno-rtti
147 strip-unsupported-flags
148
149 # Ensure -DQT_NO_DEBUG is added
150 append-cppflags -DQT_NO_DEBUG
151
152 # Plugin selection
153 if use gadu; then
154 PLUGINS+=' gadu_protocol history_migration profiles_import'
155 fi
156
157 use xmpp && PLUGINS+=' jabber_protocol'
158 use phonon && PLUGINS+=' phonon_sound'
159 use speech && PLUGINS+=' speech'
160 use spell && PLUGINS+=' spellchecker'
161
162 if use ssl; then
163 PLUGINS+=' encryption_ng encryption_ng_simlite'
164 fi
165
166 # COMPILE_PLUGINS isn't the most flexible..
167 local compile_plugins=
168 for plugin in ${PLUGINS}; do
169 [[ -n ${compile_plugins} ]] && compile_plugins+=','
170 compile_plugins+="${plugin}"
171 done
172 unset PLUGINS
173
174 # Configure package
175 local mycmakeargs=(
176 -DBUILD_DESCRIPTION='Gentoo Linux'
177 -DCOMPILE_PLUGINS="${compile_plugins}"
178 $(cmake-utils_use sdk INSTALL_SDK)
179 $(cmake-utils_use_with spell ENCHANT)
180 )
181 unset compile_plugins
182
183 cmake-utils_src_configure
184 }