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.4.ebuild
Date: Fri, 07 Dec 2007 06:41:19
Message-Id: E1J0Wte-0001Nb-Q6@stork.gentoo.org
1 welp 07/12/07 06:41:14
2
3 Modified: ChangeLog
4 Added: gajim-0.11.4.ebuild
5 Log:
6 Bump
7 (Portage version: 2.1.4_rc7)
8
9 Revision Changes Path
10 1.65 net-im/gajim/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.65&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?rev=1.65&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/ChangeLog?r1=1.64&r2=1.65
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v
19 retrieving revision 1.64
20 retrieving revision 1.65
21 diff -u -r1.64 -r1.65
22 --- ChangeLog 4 Dec 2007 20:44:43 -0000 1.64
23 +++ ChangeLog 7 Dec 2007 06:41:14 -0000 1.65
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.64 2007/12/04 20:44:43 welp Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.65 2007/12/07 06:41:14 welp Exp $
29 +
30 +*gajim-0.11.4 (07 Dec 2007)
31 +
32 + 07 Dec 2007; <welp@g.o> +gajim-0.11.4.ebuild:
33 + Bump
34
35 04 Dec 2007; <welp@g.o> files/0.11.3-misc-fixes.patch:
36 Fix typo in patch
37
38
39
40 1.1 net-im/gajim/gajim-0.11.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.11.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/gajim/gajim-0.11.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gajim-0.11.4.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.4.ebuild,v 1.1 2007/12/07 06:41:14 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 ~hppa ~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 dev-python/pyopenssl"
82
83 pkg_setup() {
84 if ! use dbus; then
85 if use libnotify; then
86 eerror "The dbus USE flag is required for libnotify support"
87 die "USE=\"dbus\" needed for libnotify support"
88 fi
89 if use avahi; then
90 eerror "The dbus USE flag is required for avahi support"
91 die "USE=\"dbus\" needed for avahi support"
92 fi
93 else
94 if has_version "<sys-apps/dbus-0.90" && ! built_with_use sys-apps/dbus python; then
95 eerror "Please rebuild dbus with USE=\"python\""
96 die "USE=\"python\" needed for dbus"
97 fi
98 fi
99
100 if use avahi; then
101 if ! built_with_use net-dns/avahi dbus gtk python; then
102 eerror "The following USE flags are required for correct avahi"
103 eerror "support: dbus gtk python"
104 die "Please rebuild avahi with these use flags enabled."
105 fi
106 fi
107
108 if has_version ">=dev-lang/python-2.5" && ! built_with_use dev-lang/python sqlite; then
109 eerror "Please rebuild python with USE=\"sqlite\""
110 die "USE=\"sqlite\" needed for python"
111 fi
112 }
113
114 src_compile() {
115 local myconf
116
117 if ! use gnome; then
118 myconf="${myconf} $(use_enable trayicon)"
119 myconf="${myconf} $(use_enable idle)"
120 fi
121
122 econf $(use_enable nls) \
123 $(use_enable spell gtkspell) \
124 $(use_enable dbus remote) \
125 $(use_with X x) \
126 --docdir="/usr/share/doc/${PF}" \
127 --prefix="/usr" \
128 --libdir="/usr/$(get_libdir)" \
129 ${myconf} || die "econf failed"
130
131 emake || die "emake failed"
132 }
133
134 src_install() {
135 emake DESTDIR="${D}" install || die "emake install failed"
136
137 rm "${D}/usr/share/doc/${PF}/README.html"
138 dohtml README.html
139 }
140
141 pkg_postinst() {
142 python_mod_optimize /usr/share/gajim/
143 }
144
145 pkg_postrm() {
146 python_mod_cleanup /usr/share/gajim/
147 }
148
149
150
151 --
152 gentoo-commits@g.o mailing list