From 82149c4c97d50485c003941403a42e82b1d88810 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Thu, 1 Jun 2006 22:42:26 +0200 Subject: add gajim 0.10 --- net-im/gajim/Manifest | 8 +++++ net-im/gajim/files/digest-gajim-0.10 | 3 ++ net-im/gajim/gajim-0.10.ebuild | 70 ++++++++++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 net-im/gajim/Manifest create mode 100644 net-im/gajim/files/digest-gajim-0.10 create mode 100644 net-im/gajim/gajim-0.10.ebuild (limited to 'net-im') diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest new file mode 100644 index 00000000..ec19aaf2 --- /dev/null +++ b/net-im/gajim/Manifest @@ -0,0 +1,8 @@ +DIST gajim-0.10.tar.bz2 2073760 RMD160 0fae7e2f769cd41246cea1d8a5159268ef1070d1 SHA1 85eb3132e81b7bcc592fa86b4dea852525540cf3 SHA256 77b0069e4283d1905ba640a7fa87d2f8acac4248c9b58de7f3d1fdffc86d4c2a +EBUILD gajim-0.10.ebuild 1896 RMD160 e12e6a692a7ee2ad0d46e953fae2f979e8037e05 SHA1 52173c9d75625b30b1b1eee8d37791067fce7d3a SHA256 5e53a783f0828cdf9d55136306c522605ae5c7585006f0ac59c2feb362af1e27 +MD5 da7ed316685a86e6f6c60f5ca2d949c6 gajim-0.10.ebuild 1896 +RMD160 e12e6a692a7ee2ad0d46e953fae2f979e8037e05 gajim-0.10.ebuild 1896 +SHA256 5e53a783f0828cdf9d55136306c522605ae5c7585006f0ac59c2feb362af1e27 gajim-0.10.ebuild 1896 +MD5 317ef3b2e8c5ad3c5ab625a7b6fbe2a3 files/digest-gajim-0.10 238 +RMD160 9bc48ce922be0b54d4b5aa6a845c9464ba56e05f files/digest-gajim-0.10 238 +SHA256 a0cfb89511b6b31ca0e9f3a186aab12b043396280580de9f4b3ed4cdef90b085 files/digest-gajim-0.10 238 diff --git a/net-im/gajim/files/digest-gajim-0.10 b/net-im/gajim/files/digest-gajim-0.10 new file mode 100644 index 00000000..0e2a19d8 --- /dev/null +++ b/net-im/gajim/files/digest-gajim-0.10 @@ -0,0 +1,3 @@ +MD5 0d568857ea25acf8366cff43d2317757 gajim-0.10.tar.bz2 2073760 +RMD160 0fae7e2f769cd41246cea1d8a5159268ef1070d1 gajim-0.10.tar.bz2 2073760 +SHA256 77b0069e4283d1905ba640a7fa87d2f8acac4248c9b58de7f3d1fdffc86d4c2a gajim-0.10.tar.bz2 2073760 diff --git a/net-im/gajim/gajim-0.10.ebuild b/net-im/gajim/gajim-0.10.ebuild new file mode 100644 index 00000000..4bfc7695 --- /dev/null +++ b/net-im/gajim/gajim-0.10.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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 ~amd64 ~ppc ~x86" +IUSE="dbus gnome libnotify nls spell srv" + +DEPEND=">=dev-python/pygtk-2.8.2 + >=dev-python/pysqlite-2.0.5 + dbus? ( >=sys-apps/dbus-0.60 ) + !gnome? ( spell? ( >=app-text/gtkspell-2.0.11 ) ) + gnome? ( >=dev-python/gnome-python-extras-2.10) + libnotify? (x11-misc/notification-daemon) + srv? ( net-dns/bind-tools )" + +pkg_setup() { + 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 + + if use libnotify && ! use dbus; then + eerror "With libnotify useflag, you must also enable dbus useflag." + die "Please enable dbus useflag." + fi +} + +src_compile() { + targets="idle gajim.desktop" + ! use gnome && targets="${targets} trayicon" + use nls && targets="${targets} translation" + ! use gnome && 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 execution" + einfo "of Python code." + fi + + if use amd64; then + ewarn + ewarn "Because of an unresolved segmentation fault," + ewarn "amd64 users must probably upgrade to gcc >= 4.0.2," + ewarn "and rebuild the following packages :" + ewarn " - x11-libs/gtk+" + ewarn " - dev-python/pygtk" + ewarn " - dev-lang/python" + ewarn + ewarn "Please see bug #109298." + ewarn + fi + +} -- cgit v1.2.3