1 |
commit: 41a7d8b8992ccdb5767c9db105830222faae3bac |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 31 02:51:19 2012 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 31 02:51:19 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/chutzpah.git;a=commit;h=41a7d8b8 |
7 |
|
8 |
add pidgin-2.10.4 |
9 |
|
10 |
--- |
11 |
net-im/pidgin/Manifest | 2 + |
12 |
net-im/pidgin/pidgin-2.10.4.ebuild | 235 ++++++++++++++++++++++++++++++++++++ |
13 |
2 files changed, 237 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest |
16 |
index ef5db7b..0fce54d 100644 |
17 |
--- a/net-im/pidgin/Manifest |
18 |
+++ b/net-im/pidgin/Manifest |
19 |
@@ -4,5 +4,7 @@ AUX pidgin-2.10.0-utf8-validation.patch 908 RMD160 0f98c6dd6cd9c63b3d61c85a9f18a |
20 |
AUX pidgin-gnome-keyring-2.patch 7680 RMD160 e9f14a4b46aad4e7361113a33fd5e07085bbd978 SHA1 edeca69cb6980f7b5b9ce61a83f7e0ac227c779a SHA256 aae63e57a7dc50b1232a606f7824dc655f561ed5ff7ef36607e18a18c98aa221 |
21 |
DIST pidgin-2.10.1.tar.bz2 9961580 RMD160 f73c5540fd01f62ae2a0ae236436f06770a896ef SHA1 045ed0fd7dfedada6e082e7a4564648b55950064 SHA256 2f28bddc5edcd714d607d74126c8958ae7c258602b3929e3e6e783d3cb1beac8 |
22 |
DIST pidgin-2.10.3.tar.bz2 9970676 RMD160 10af4caee9f22a251f867e3befebcc659e2b42f3 SHA1 7dfeabdb1ade4311c91ac9c9f988276f67ead6ee SHA256 0f67d96231fea3945c2735e6a3b4bd92590ef489fa1511fa69aa6a543cb4168b |
23 |
+DIST pidgin-2.10.4.tar.bz2 9970850 RMD160 5193a7f5dbd122198d474bd7e11dc9bf307befb3 SHA1 f9ce34e69f97bcd1bb216aefb6d687b5b47f0796 SHA256 8fbef835c8dfa2281532ad7064d664477d72015d6dcd4345362dcfe658aaee0e |
24 |
EBUILD pidgin-2.10.1.ebuild 7147 RMD160 7ab996af7067ab7764a9944c2903a98e4d3816c1 SHA1 cfc748af3d532119cdb8dcd6271045a59b7dbbd7 SHA256 814bfb9f568980ebc848ad5fa8b31b24c71b2d2e6e19b5c4b81f22208257781d |
25 |
EBUILD pidgin-2.10.3.ebuild 7084 RMD160 b37994990a0bb3ca7f7ed21d56b762f83da57aa9 SHA1 59a81775ed54ca936967ace0a9eb2ef3ae427081 SHA256 60ce9d9b210db5207340afaf7a9a0b583c9f8297d8fa41f42759c57ac510592f |
26 |
+EBUILD pidgin-2.10.4.ebuild 7165 RMD160 f36325853913962e2b2e742cf24ff58c89290ed5 SHA1 26aaf233681722304c346185fc32960dfcb1cee1 SHA256 13757567ede98c20c141c5b0f7dacd2bbcda0ae9c90c7e86fbb40bafcf5f0656 |
27 |
|
28 |
diff --git a/net-im/pidgin/pidgin-2.10.4.ebuild b/net-im/pidgin/pidgin-2.10.4.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..13cb042 |
31 |
--- /dev/null |
32 |
+++ b/net-im/pidgin/pidgin-2.10.4.ebuild |
33 |
@@ -0,0 +1,235 @@ |
34 |
+# Copyright 1999-2012 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.4.ebuild,v 1.4 2012/05/29 12:07:14 ago Exp $ |
37 |
+ |
38 |
+EAPI=4 |
39 |
+ |
40 |
+GENTOO_DEPEND_ON_PERL=no |
41 |
+inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python |
42 |
+inherit autotools |
43 |
+ |
44 |
+DESCRIPTION="GTK Instant Messenger client" |
45 |
+HOMEPAGE="http://pidgin.im/" |
46 |
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86" |
51 |
+IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile" |
52 |
+IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" |
53 |
+IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" |
54 |
+IUSE+=" aqua" |
55 |
+IUSE+=" gnome-keyring" |
56 |
+ |
57 |
+# dbus requires python to generate C code for dbus bindings (thus DEPEND only). |
58 |
+# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is |
59 |
+# no way to build dbus and avoid libgnt linkage with python. If you want this |
60 |
+# send patch upstream. |
61 |
+# purple-url-handler and purple-remote require dbus-python thus in reality we |
62 |
+# rdepend on python if dbus enabled. But it is possible to separate this dep. |
63 |
+RDEPEND=" |
64 |
+ >=dev-libs/glib-2.16 |
65 |
+ >=dev-libs/libxml2-2.6.18 |
66 |
+ ncurses? ( sys-libs/ncurses[unicode] |
67 |
+ dbus? ( <dev-lang/python-3 ) |
68 |
+ python? ( <dev-lang/python-3 ) ) |
69 |
+ gtk? ( |
70 |
+ >=x11-libs/gtk+-2.10:2[aqua=] |
71 |
+ x11-libs/libSM |
72 |
+ xscreensaver? ( x11-libs/libXScrnSaver ) |
73 |
+ spell? ( >=app-text/gtkspell-2.0.2:2 ) |
74 |
+ eds? ( gnome-extra/evolution-data-server ) |
75 |
+ prediction? ( >=dev-db/sqlite-3.3:3 ) ) |
76 |
+ gstreamer? ( =media-libs/gstreamer-0.10* |
77 |
+ =media-libs/gst-plugins-good-0.10* |
78 |
+ || ( net-libs/farstream net-libs/farsight2 ) |
79 |
+ media-plugins/gst-plugins-meta |
80 |
+ media-plugins/gst-plugins-gconf ) |
81 |
+ zeroconf? ( net-dns/avahi[dbus] ) |
82 |
+ dbus? ( >=dev-libs/dbus-glib-0.71 |
83 |
+ >=sys-apps/dbus-0.90 |
84 |
+ dev-python/dbus-python ) |
85 |
+ perl? ( >=dev-lang/perl-5.8.2-r1[-build] ) |
86 |
+ gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] |
87 |
+ >=net-libs/libgadu-1.11.0[-ssl] ) ) |
88 |
+ gnutls? ( net-libs/gnutls ) |
89 |
+ !gnutls? ( >=dev-libs/nss-3.11 ) |
90 |
+ meanwhile? ( net-libs/meanwhile ) |
91 |
+ silc? ( >=net-im/silc-toolkit-1.0.1 ) |
92 |
+ tcl? ( dev-lang/tcl ) |
93 |
+ tk? ( dev-lang/tk ) |
94 |
+ sasl? ( dev-libs/cyrus-sasl:2 ) |
95 |
+ networkmanager? ( net-misc/networkmanager ) |
96 |
+ idn? ( net-dns/libidn ) |
97 |
+ !<x11-plugins/pidgin-facebookchat-1.69-r1" |
98 |
+ # Mono support crashes pidgin |
99 |
+ #mono? ( dev-lang/mono )" |
100 |
+ |
101 |
+# We want nls in case gtk is enabled, bug # |
102 |
+NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
103 |
+ |
104 |
+DEPEND="$RDEPEND |
105 |
+ dev-lang/perl |
106 |
+ dev-perl/XML-Parser |
107 |
+ virtual/pkgconfig |
108 |
+ gtk? ( x11-proto/scrnsaverproto |
109 |
+ ${NLS_DEPEND} ) |
110 |
+ dbus? ( <dev-lang/python-3 ) |
111 |
+ doc? ( app-doc/doxygen ) |
112 |
+ !gtk? ( nls? ( ${NLS_DEPEND} ) )" |
113 |
+ |
114 |
+DOCS="AUTHORS HACKING NEWS README ChangeLog" |
115 |
+ |
116 |
+# Enable Default protocols |
117 |
+DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" |
118 |
+ |
119 |
+# List of plugins |
120 |
+# app-accessibility/pidgin-festival |
121 |
+# net-im/librvp |
122 |
+# x11-plugins/guifications |
123 |
+# x11-plugins/msn-pecan |
124 |
+# x11-plugins/pidgin-encryption |
125 |
+# x11-plugins/pidgin-extprefs |
126 |
+# x11-plugins/pidgin-hotkeys |
127 |
+# x11-plugins/pidgin-latex |
128 |
+# x11-plugins/pidgintex |
129 |
+# x11-plugins/pidgin-libnotify |
130 |
+# x11-plugins/pidgin-mbpurple |
131 |
+# x11-plugins/pidgin-bot-sentry |
132 |
+# x11-plugins/pidgin-otr |
133 |
+# x11-plugins/pidgin-rhythmbox |
134 |
+# x11-plugins/purple-plugin_pack |
135 |
+# x11-themes/pidgin-smileys |
136 |
+# x11-plugins/pidgin-knotify |
137 |
+# Plugins in Sunrise: |
138 |
+# x11-plugins/pidgin-audacious-remote |
139 |
+# x11-plugins/pidgin-autoanswer |
140 |
+# x11-plugins/pidgin-birthday-reminder |
141 |
+# x11-plugins/pidgin-blinklight |
142 |
+# x11-plugins/pidgin-convreverse |
143 |
+# x11-plugins/pidgin-embeddedvideo |
144 |
+# x11-plugins/pidgin-extended-blist-sort |
145 |
+# x11-plugins/pidgin-gfire |
146 |
+# x11-plugins/pidgin-lastfm |
147 |
+# x11-plugins/pidgin-sendscreenshot |
148 |
+# x11-plugins/pidgimpd |
149 |
+ |
150 |
+pkg_setup() { |
151 |
+ if ! use gtk && ! use ncurses ; then |
152 |
+ elog "You did not pick the ncurses or gtk use flags, only libpurple" |
153 |
+ elog "will be built." |
154 |
+ fi |
155 |
+ if use dbus || { use ncurses && use python; }; then |
156 |
+ python_set_active_version 2 |
157 |
+ python_pkg_setup |
158 |
+ fi |
159 |
+ |
160 |
+ # dbus is enabled, no way to disable linkage with python => python is enabled |
161 |
+ #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
162 |
+ if use gtk && ! use nls; then |
163 |
+ ewarn "gtk build => nls is enabled!" |
164 |
+ fi |
165 |
+ if use dbus && ! use python; then |
166 |
+ elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
167 |
+ fi |
168 |
+} |
169 |
+ |
170 |
+src_prepare() { |
171 |
+ epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" |
172 |
+ |
173 |
+ epatch "${FILESDIR}"/${PN}-gnome-keyring-2.patch |
174 |
+ eautoreconf || die "eautoreconf failed" |
175 |
+} |
176 |
+ |
177 |
+src_configure() { |
178 |
+ # Stabilize things, for your own good |
179 |
+ strip-flags |
180 |
+ replace-flags -O? -O2 |
181 |
+ |
182 |
+ local myconf |
183 |
+ |
184 |
+ if use gadu; then |
185 |
+ DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" |
186 |
+ myconf="${myconf} --with-gadu-includes=." |
187 |
+ myconf="${myconf} --with-gadu-libs=." |
188 |
+ fi |
189 |
+ |
190 |
+ use silc && DYNAMIC_PRPLS+=",silc" |
191 |
+ use meanwhile && DYNAMIC_PRPLS+=",sametime" |
192 |
+ use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
193 |
+ use groupwise && DYNAMIC_PRPLS+=",novell" |
194 |
+ use zephyr && DYNAMIC_PRPLS+=",zephyr" |
195 |
+ |
196 |
+ if use gnutls; then |
197 |
+ einfo "Disabling NSS, using GnuTLS" |
198 |
+ myconf+=" --enable-nss=no --enable-gnutls=yes" |
199 |
+ myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls" |
200 |
+ myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)" |
201 |
+ else |
202 |
+ einfo "Disabling GnuTLS, using NSS" |
203 |
+ myconf+=" --enable-gnutls=no --enable-nss=yes" |
204 |
+ fi |
205 |
+ |
206 |
+ if use dbus || { use ncurses && use python; }; then |
207 |
+ myconf+=" --with-python=$(PYTHON)" |
208 |
+ else |
209 |
+ myconf+=" --without-python" |
210 |
+ fi |
211 |
+ |
212 |
+ econf \ |
213 |
+ --disable-silent-rules \ |
214 |
+ $(use_enable ncurses consoleui) \ |
215 |
+ $(use_enable gtk gtkui) \ |
216 |
+ $(use_enable gtk sm) \ |
217 |
+ $(use gtk || use_enable nls) \ |
218 |
+ $(use gtk && echo "--enable-nls") \ |
219 |
+ $(use gtk && use_enable xscreensaver screensaver) \ |
220 |
+ $(use gtk && use_enable prediction cap) \ |
221 |
+ $(use gtk && use_enable eds gevolution) \ |
222 |
+ $(use gtk && use_enable spell gtkspell) \ |
223 |
+ $(use_enable perl) \ |
224 |
+ $(use_enable tk) \ |
225 |
+ $(use_enable tcl) \ |
226 |
+ $(use_enable debug) \ |
227 |
+ $(use_enable dbus) \ |
228 |
+ $(use_enable meanwhile) \ |
229 |
+ $(use_enable gstreamer) \ |
230 |
+ $(use_enable gnome-keyring) \ |
231 |
+ $(use_enable gstreamer farstream) \ |
232 |
+ $(use_enable gstreamer vv) \ |
233 |
+ $(use_enable sasl cyrus-sasl ) \ |
234 |
+ $(use_enable doc doxygen) \ |
235 |
+ $(use_enable networkmanager nm) \ |
236 |
+ $(use_enable zeroconf avahi) \ |
237 |
+ $(use_enable idn) \ |
238 |
+ --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \ |
239 |
+ --with-dynamic-prpls="${DYNAMIC_PRPLS}" \ |
240 |
+ --disable-mono \ |
241 |
+ --x-includes="${EPREFIX}"/usr/include/X11 \ |
242 |
+ ${myconf} |
243 |
+ #$(use_enable mono) \ |
244 |
+} |
245 |
+ |
246 |
+src_install() { |
247 |
+ gnome2_src_install |
248 |
+ if use gtk; then |
249 |
+ # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other |
250 |
+ # implementations that are not complient with new hicolor theme yet, #323355 |
251 |
+ local pixmapdir |
252 |
+ for d in 16 22 32 48; do |
253 |
+ pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions |
254 |
+ mkdir "${pixmapdir}" || die |
255 |
+ pushd "${pixmapdir}" >/dev/null || die |
256 |
+ for f in ../status/*; do |
257 |
+ ln -s ${f} || die |
258 |
+ done |
259 |
+ popd >/dev/null |
260 |
+ done |
261 |
+ fi |
262 |
+ use perl && fixlocalpod |
263 |
+ |
264 |
+ dodoc finch/plugins/pietray.py |
265 |
+ docompress -x /usr/share/doc/${PF}/pietray.py |
266 |
+ |
267 |
+ find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" |
268 |
+} |