Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/gajim: ChangeLog gajim-0.13.4.ebuild
Date: Fri, 02 Apr 2010 11:55:00
Message-Id: E1NxfSb-0005GM-6S@stork.gentoo.org
1 jlec 10/04/02 11:54:49
2
3 Modified: ChangeLog
4 Added: gajim-0.13.4.ebuild
5 Log:
6 Version Bump
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.94 net-im/gajim/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.94&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.94&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?r1=1.93&r2=1.94
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v
19 retrieving revision 1.93
20 retrieving revision 1.94
21 diff -u -r1.93 -r1.94
22 --- ChangeLog 15 Mar 2010 19:20:29 -0000 1.93
23 +++ ChangeLog 2 Apr 2010 11:54:49 -0000 1.94
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-im/gajim
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.93 2010/03/15 19:20:29 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.94 2010/04/02 11:54:49 jlec Exp $
29 +
30 +*gajim-0.13.4 (02 Apr 2010)
31 +
32 + 02 Apr 2010; Justin Lecher <jlec@g.o> +gajim-0.13.4.ebuild:
33 + Version Bump
34
35 15 Mar 2010; nixnut <nixnut@g.o> gajim-0.13.3.ebuild:
36 ppc stable #307425
37
38
39
40 1.1 net-im/gajim/gajim-0.13.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.13.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.13.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gajim-0.13.4.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.13.4.ebuild,v 1.1 2010/04/02 11:54:49 jlec Exp $
50
51 EAPI="2"
52
53 NEED_PYTHON="2.5"
54 inherit python eutils autotools versionator
55
56 DESCRIPTION="Jabber client written in PyGTK"
57 HOMEPAGE="http://www.gajim.org/"
58 SRC_URI="http://www.gajim.org/downloads/$(get_version_component_range 1-2)/${P}.tar.bz2"
59
60 LICENSE="GPL-3"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="avahi crypt dbus gnome idle libnotify nls spell srv trayicon X xhtml"
64
65 COMMON_DEPEND=">=dev-python/pygtk-2.12.0"
66
67 DEPEND="${COMMON_DEPEND}
68 >=sys-devel/gettext-0.17-r1
69 >=dev-util/intltool-0.40.1
70 dev-util/pkgconfig"
71
72 RDEPEND="${COMMON_DEPEND}
73 >=dev-lang/python-2.5[sqlite,xml]
74 dev-python/pyopenssl
75 dev-python/sexy-python
76 gnome? (
77 dev-python/libgnome-python
78 dev-python/gnome-keyring-python
79 trayicon? ( dev-python/egg-python ) )
80 dbus? (
81 dev-python/dbus-python
82 dev-libs/dbus-glib
83 libnotify? ( dev-python/notify-python )
84 avahi? ( net-dns/avahi[dbus,gtk,python] ) )
85 xhtml? ( dev-python/docutils )
86 srv? ( || (
87 dev-python/libasyncns-python
88 net-dns/bind-tools ) )
89 idle? ( x11-libs/libXScrnSaver )
90 spell? ( app-text/gtkspell )
91 crypt? (
92 app-crypt/gnupg
93 dev-python/pycrypto )"
94
95 pkg_setup() {
96 if ! use dbus; then
97 if use libnotify; then
98 eerror "The dbus USE flag is required for libnotify support"
99 die "USE=\"dbus\" needed for libnotify support"
100 fi
101 if use avahi; then
102 eerror "The dbus USE flag is required for avahi support"
103 die "USE=\"dbus\" needed for avahi support"
104 fi
105 fi
106 }
107
108 src_prepare() {
109 # install pyfiles in /usr/lib/python2.x/site-packages/gajim
110 # upstream: http://trac.gajim.org/ticket/5460
111 epatch "${FILESDIR}/${PN}-0.13-autotools--enable-site-packages_option.patch"
112 eautoreconf
113 }
114
115 src_configure() {
116 local myconf
117
118 if ! use gnome; then
119 myconf+=" $(use_enable trayicon)"
120 fi
121
122 econf \
123 $(use_enable nls) \
124 $(use_with X x) \
125 --docdir="/usr/share/doc/${PF}" \
126 --libdir="$(python_get_sitedir)" \
127 --enable-site-packages \
128 ${myconf}
129 }
130
131 src_install() {
132 emake DESTDIR="${D}" install || die "emake install failed"
133
134 rm "${D}/usr/share/doc/${PF}/"{README.html,COPYING}
135 dohtml README.html
136 }