diff options
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/gajim/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/gajim/files/digest-gajim-0.11.0.7951 | 3 | ||||
-rw-r--r-- | net-im/gajim/gajim-0.11.0.7951.ebuild | 103 |
3 files changed, 112 insertions, 1 deletions
diff --git a/net-im/gajim/ChangeLog b/net-im/gajim/ChangeLog index bff2e76cc04a..44f3a6861c0d 100644 --- a/net-im/gajim/ChangeLog +++ b/net-im/gajim/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/gajim # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.42 2007/01/24 14:21:09 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/ChangeLog,v 1.43 2007/02/07 21:48:25 welp Exp $ + +*gajim-0.11.0.7951 (07 Feb 2007) + + 07 Feb 2007; Peter Weller <welp@gentoo.org> +gajim-0.11.0.7951.ebuild: + Bumped - new release 24 Jan 2007; Markus Rothe <corsair@gentoo.org> gajim-0.11-r3.ebuild: Added ~ppc64 diff --git a/net-im/gajim/files/digest-gajim-0.11.0.7951 b/net-im/gajim/files/digest-gajim-0.11.0.7951 new file mode 100644 index 000000000000..ebc22ab363ac --- /dev/null +++ b/net-im/gajim/files/digest-gajim-0.11.0.7951 @@ -0,0 +1,3 @@ +MD5 26675bcd59b834860f3722d337f2e7f7 gajim-0.11.0.7951.tar.gz 3611654 +RMD160 254ac7f10611879973e1d2712bf6e4315abd2668 gajim-0.11.0.7951.tar.gz 3611654 +SHA256 e4d03412866e183c56aec9ca103e4de5a5cb655dbbd9722b7bd991ce41e24be7 gajim-0.11.0.7951.tar.gz 3611654 diff --git a/net-im/gajim/gajim-0.11.0.7951.ebuild b/net-im/gajim/gajim-0.11.0.7951.ebuild new file mode 100644 index 000000000000..84205274a724 --- /dev/null +++ b/net-im/gajim/gajim-0.11.0.7951.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/gajim/gajim-0.11.0.7951.ebuild,v 1.1 2007/02/07 21:48:25 welp Exp $ + +inherit multilib python eutils + +DESCRIPTION="Jabber client written in PyGTK" +HOMEPAGE="http://www.gajim.org/" +SRC_URI="http://www.gajim.org/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="avahi dbus gnome idle libnotify nls spell srv trayicon X xhtml" + +DEPEND="|| ( + ( <dev-lang/python-2.5 dev-python/pysqlite ) + >=dev-lang/python-2.5 + ) + dev-python/pygtk + sys-devel/gettext + dev-util/intltool + dev-util/pkgconfig" + +RDEPEND="gnome? ( dev-python/gnome-python-extras + dev-python/gnome-python-desktop + ) + dbus? ( + || ( + ( >=sys-apps/dbus-0.90 + dev-python/dbus-python + dev-libs/dbus-glib + ) + ( <sys-apps/dbus-0.90 ) + ) + ) + libnotify? ( x11-libs/libnotify ) + xhtml? ( dev-python/docutils ) + srv? ( net-dns/bind-tools ) + idle? ( x11-libs/libXScrnSaver ) + spell? ( app-text/gtkspell ) + avahi? ( net-dns/avahi )" + +pkg_setup() { + if ! use dbus; then + if use libnotify; then + eerror "The dbus USE flag is required for libnotify support" + die "USE=\"dbus\" needed for libnotify support" + fi + if use avahi; then + eerror "The dbus USE flag is required for avahi support" + die "USE=\"dbus\" needed for avahi support" + fi + else + if has_version "<sys-apps/dbus-0.90" && ! built_with_use sys-apps/dbus python; then + eerror "Please rebuild dbus with USE=\"python\"" + die "USE=\"python\" needed for dbus" + fi + fi + + if use avahi; then + if ! built_with_use net-dns/avahi dbus gtk python; then + eerror "The following USE flags are required for correct avahi" + eerror "support: dbus gtk python" + die "Please rebuild avahi with these use flags enabled." + fi + fi +} + +src_compile() { + local myconf + + if ! use gnome; then + myconf="${myconf} $(use_enable trayicon)" + myconf="${myconf} $(use_enable idle)" + fi + + econf $(use_enable nls) \ + $(use_enable spell gtkspell) \ + $(use_enable dbus remote) \ + $(use_with X x) \ + --docdir="/usr/share/doc/${PF}" \ + --prefix="/usr" \ + --libdir="/usr/$(get_libdir)" \ + ${myconf} || die "econf failed" + + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + rm "${D}/usr/share/doc/${PF}/README.html" + dohtml README.html +} + +pkg_postinst() { + python_mod_optimize /usr/share/gajim/ +} + +pkg_postrm() { + python_mod_cleanup /usr/share/gajim/ +} |