Gentoo Archives: gentoo-commits

From: "Peter Weller (welp)" <welp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/gajim: ChangeLog gajim-0.11.2.ebuild
Date: Wed, 10 Oct 2007 06:29:23
Message-Id: E1IfUux-0002px-5J@stork.gentoo.org
1 welp 07/10/10 06:19:39
2
3 Modified: ChangeLog
4 Added: gajim-0.11.2.ebuild
5 Log:
6 Bump to 0.11.2.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.56 net-im/gajim/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.56&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.56&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?r1=1.55&r2=1.56
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v
19 retrieving revision 1.55
20 retrieving revision 1.56
21 diff -u -r1.55 -r1.56
22 --- ChangeLog 1 Jul 2007 09:12:37 -0000 1.55
23 +++ ChangeLog 10 Oct 2007 06:19:38 -0000 1.56
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-im/gajim
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.55 2007/07/01 09:12:37 welp Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.56 2007/10/10 06:19:38 welp Exp $
29 +
30 +*gajim-0.11.2 (10 Oct 2007)
31 +
32 + 10 Oct 2007; Peter Weller <welp@g.o> +gajim-0.11.2.ebuild:
33 + Bump to 0.11.2.
34
35 01 Jul 2007; Peter Weller <welp@g.o> gajim-0.11.1.ebuild:
36 Clean up old dbus deps wrt bug 183696
37
38
39
40 1.1 net-im/gajim/gajim-0.11.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.11.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.11.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gajim-0.11.2.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.11.2.ebuild,v 1.1 2007/10/10 06:19:38 welp Exp $
50
51 inherit multilib python eutils
52
53 DESCRIPTION="Jabber client written in PyGTK"
54 HOMEPAGE="http://www.gajim.org/"
55 SRC_URI="http://www.gajim.org/downloads/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
60 IUSE="avahi dbus gnome idle libnotify nls spell srv trayicon X xhtml"
61
62 DEPEND="|| (
63 ( <dev-lang/python-2.5 dev-python/pysqlite )
64 >=dev-lang/python-2.5
65 )
66 dev-python/pygtk
67 sys-devel/gettext
68 dev-util/intltool
69 dev-util/pkgconfig"
70
71 RDEPEND="gnome? ( dev-python/gnome-python-extras
72 dev-python/gnome-python-desktop
73 )
74 dbus? ( dev-python/dbus-python dev-libs/dbus-glib )
75 libnotify? ( x11-libs/libnotify )
76 xhtml? ( dev-python/docutils )
77 srv? ( net-dns/bind-tools )
78 idle? ( x11-libs/libXScrnSaver )
79 spell? ( app-text/gtkspell )
80 avahi? ( net-dns/avahi )"
81
82 pkg_setup() {
83 if ! use dbus; then
84 if use libnotify; then
85 eerror "The dbus USE flag is required for libnotify support"
86 die "USE=\"dbus\" needed for libnotify support"
87 fi
88 if use avahi; then
89 eerror "The dbus USE flag is required for avahi support"
90 die "USE=\"dbus\" needed for avahi support"
91 fi
92 else
93 if has_version "<sys-apps/dbus-0.90" && ! built_with_use sys-apps/dbus python; then
94 eerror "Please rebuild dbus with USE=\"python\""
95 die "USE=\"python\" needed for dbus"
96 fi
97 fi
98
99 if use avahi; then
100 if ! built_with_use net-dns/avahi dbus gtk python; then
101 eerror "The following USE flags are required for correct avahi"
102 eerror "support: dbus gtk python"
103 die "Please rebuild avahi with these use flags enabled."
104 fi
105 fi
106
107 if has_version ">=dev-lang/python-2.5" && ! built_with_use dev-lang/python sqlite; then
108 eerror "Please rebuild python with USE=\"sqlite\""
109 die "USE=\"sqlite\" needed for python"
110 fi
111 }
112
113 src_compile() {
114 local myconf
115
116 if ! use gnome; then
117 myconf="${myconf} $(use_enable trayicon)"
118 myconf="${myconf} $(use_enable idle)"
119 fi
120
121 econf $(use_enable nls) \
122 $(use_enable spell gtkspell) \
123 $(use_enable dbus remote) \
124 $(use_with X x) \
125 --docdir="/usr/share/doc/${PF}" \
126 --prefix="/usr" \
127 --libdir="/usr/$(get_libdir)" \
128 ${myconf} || die "econf failed"
129
130 emake || die "emake failed"
131 }
132
133 src_install() {
134 emake DESTDIR="${D}" install || die "emake install failed"
135
136 rm "${D}/usr/share/doc/${PF}/README.html"
137 dohtml README.html
138 }
139
140 pkg_postinst() {
141 python_mod_optimize /usr/share/gajim/
142 }
143
144 pkg_postrm() {
145 python_mod_cleanup /usr/share/gajim/
146 }
147
148
149
150 --
151 gentoo-commits@g.o mailing list