summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kuleshov <svyatogor@gentoo.org>2005-12-25 18:10:12 +0000
committerSergey Kuleshov <svyatogor@gentoo.org>2005-12-25 18:10:12 +0000
commite9b71c3a2cb3d94f79bbe9353267b18139ec3450 (patch)
tree79d249a70db22d6e381606ec3e6ab44e872171ae /net-im/gajim/gajim-0.9.ebuild
parentStable on ppc (diff)
downloadgentoo-2-e9b71c3a2cb3d94f79bbe9353267b18139ec3450.tar.gz
gentoo-2-e9b71c3a2cb3d94f79bbe9353267b18139ec3450.tar.bz2
gentoo-2-e9b71c3a2cb3d94f79bbe9353267b18139ec3450.zip
new version (0.9). removed old unstable versions.
(Portage version: 2.0.53)
Diffstat (limited to 'net-im/gajim/gajim-0.9.ebuild')
-rw-r--r--net-im/gajim/gajim-0.9.ebuild61
1 files changed, 61 insertions, 0 deletions
diff --git a/net-im/gajim/gajim-0.9.ebuild b/net-im/gajim/gajim-0.9.ebuild
new file mode 100644
index 000000000000..faaefb335149
--- /dev/null
+++ b/net-im/gajim/gajim-0.9.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.9.ebuild,v 1.1 2005/12/25 18:10:11 svyatogor Exp $
+
+inherit virtualx multilib eutils
+
+DESCRIPTION="Jabber client written in PyGTK"
+HOMEPAGE="http://www.gajim.org/"
+SRC_URI="http://www.gajim.org/downloads/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~ppc ~x86"
+IUSE="dbus nls spell srv"
+
+#Removed amd64 from keywords until gcc4 is moved to unstable (#1092984)
+#amd64? ( >=sys-devel/gcc-4 )
+DEPEND=">=dev-python/pygtk-2.4.0
+ >=dev-lang/python-2.3.0
+ >=x11-libs/gtk+-2.4
+ >=dev-python/pysqlite-2.0.4
+ dbus? ( >=sys-apps/dbus-0.23 )
+ spell? ( >=app-text/gtkspell-2.0.4 )
+ srv? ( >=dev-python/dnspython )"
+
+src_unpack() {
+ if use dbus && ! built_with_use sys-apps/dbus python; then
+ eerror "Please rebuild dbus with USE=\"python\"."
+ die "Python D-bus support missing."
+ fi
+ #Until #103056 is resolved completely.
+ if ! built_with_use "<dev-python/pygtk-2.8.0-r2" gnome; then
+ eerror "Gajim requires Glade Python modules."
+ eerror "Please rebuild pygtk with USE=\"gnome\","
+ eerror "or emerge \">=pygtk-2.8.0-r2\"."
+ die "Python Glade modules missing."
+ fi
+ unpack ${A}
+ epatch "${FILESDIR}/gajim_0.9_muc_disconnect.patch"
+}
+
+src_compile() {
+ targets="idle trayicon gajim.desktop"
+ use nls && targets="${targets} translation"
+ use spell && targets="${targets} gtkspell"
+ Xemake ${targets} || die "Xemake failed"
+}
+
+src_install() {
+ Xemake PREFIX=/usr DESTDIR=${D} LIBDIR=/$(get_libdir) install || die
+ dodoc README AUTHORS COPYING Changelog
+}
+
+pkg_postinst() {
+ if use x86; then
+ einfo "If you want to make Gajim run faster,"
+ einfo "emerge dev-python/psyco, an extension"
+ einfo "module which can speed up the executuion"
+ einfo "of Python code."
+ fi
+}