summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-07-19 04:05:02 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-07-19 04:05:02 +0000
commit0792d5aee4aa2b413d2166d53177b181007ecafa (patch)
treef050377827b7e25c21ee7295c156929f57b0a5e3
parentadding new use flags for nautilus-sendto-0.7 (diff)
downloadhistorical-0792d5aee4aa2b413d2166d53177b181007ecafa.tar.gz
historical-0792d5aee4aa2b413d2166d53177b181007ecafa.tar.bz2
historical-0792d5aee4aa2b413d2166d53177b181007ecafa.zip
version bump from upstream
Package-Manager: portage-2.1.1_pre3-r1
-rw-r--r--gnome-extra/nautilus-sendto/ChangeLog10
-rw-r--r--gnome-extra/nautilus-sendto/Manifest42
-rw-r--r--gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.73
-rw-r--r--gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-configure-options.patch211
-rw-r--r--gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-gaim-2.0-plugin.patch25
-rw-r--r--gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild69
6 files changed, 341 insertions, 19 deletions
diff --git a/gnome-extra/nautilus-sendto/ChangeLog b/gnome-extra/nautilus-sendto/ChangeLog
index eb615f3f6676..d4895b8743c2 100644
--- a/gnome-extra/nautilus-sendto/ChangeLog
+++ b/gnome-extra/nautilus-sendto/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for gnome-extra/nautilus-sendto
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-sendto/ChangeLog,v 1.2 2006/04/27 20:21:31 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-sendto/ChangeLog,v 1.3 2006/07/19 04:05:02 compnerd Exp $
+
+*nautilus-sendto-0.7 (19 Jul 2006)
+
+ 19 Jul 2006; Saleem Abdulrasool <compnerd@gentoo.org>
+ +files/nautilus-sendto-0.7-configure-options.patch,
+ +files/nautilus-sendto-0.7-gaim-2.0-plugin.patch,
+ +nautilus-sendto-0.7.ebuild:
+ version bump from upstream
27 Apr 2006; Marien Zwart <marienz@gentoo.org> Manifest:
Fixing SHA256 digest, pass four
diff --git a/gnome-extra/nautilus-sendto/Manifest b/gnome-extra/nautilus-sendto/Manifest
index a1c4f9bfda2b..da52e47b3352 100644
--- a/gnome-extra/nautilus-sendto/Manifest
+++ b/gnome-extra/nautilus-sendto/Manifest
@@ -1,30 +1,36 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX nautilus-sendto-0.5-configure-options.patch 2624 RMD160 75b221db835608848d48e959b806aacc421b11ba SHA1 69098217d71997d61de09e2d902b4df3debc7f79 SHA256 2e60773e10c830bcb81c0f98f4c4c083893324c0dc84466974e0b04d44654fa5 size 2624
+AUX nautilus-sendto-0.5-configure-options.patch 2624 RMD160 75b221db835608848d48e959b806aacc421b11ba SHA1 69098217d71997d61de09e2d902b4df3debc7f79 SHA256 2e60773e10c830bcb81c0f98f4c4c083893324c0dc84466974e0b04d44654fa5
MD5 4f3ec780308ff2da4f83339d8168ad0b files/nautilus-sendto-0.5-configure-options.patch 2624
RMD160 75b221db835608848d48e959b806aacc421b11ba files/nautilus-sendto-0.5-configure-options.patch 2624
SHA256 2e60773e10c830bcb81c0f98f4c4c083893324c0dc84466974e0b04d44654fa5 files/nautilus-sendto-0.5-configure-options.patch 2624
-DIST nautilus-sendto-0.5.tar.bz2 268518 RMD160 588d889fde1dcdac436694f0730e1720d7e10e84 SHA256 63709f0b8dc4c8006c9aa792b2898c3e956cb457b1c49e9e552d2fd1c4df7d38 size 268518
-EBUILD nautilus-sendto-0.5.ebuild 1449 RMD160 35e7f1d1ccdf939f7041a0fa3fb4b029d1a4a8b3 SHA1 581c66de40507bb9bddad5f85f9f2e0ef3e70c2a SHA256 1d1e6e6de19883e60076c3f97f5859316570ca552c8e0e96f819075e45730db5 size 1449
+AUX nautilus-sendto-0.7-configure-options.patch 6139 RMD160 e870d3d45e3424fa32ca4f4a6795136cb38c0f40 SHA1 b726b4b591875d135b32867e4f18203c9ea48842 SHA256 cb66185c5734450dc087fb9789bdd4987b932ea980b11f1ed1ae8aab8feeeaac
+MD5 578ce7a03e6e914320128069c5996871 files/nautilus-sendto-0.7-configure-options.patch 6139
+RMD160 e870d3d45e3424fa32ca4f4a6795136cb38c0f40 files/nautilus-sendto-0.7-configure-options.patch 6139
+SHA256 cb66185c5734450dc087fb9789bdd4987b932ea980b11f1ed1ae8aab8feeeaac files/nautilus-sendto-0.7-configure-options.patch 6139
+AUX nautilus-sendto-0.7-gaim-2.0-plugin.patch 931 RMD160 541f678638cd35dfe7a1750f700a1c4203f6b4e0 SHA1 c6c714d459b9681fe028177c380ad04092e189c6 SHA256 4e5387e205c6c4de262b2fad6140ff416f508d343c8c8b1d61af8b205827f78f
+MD5 353bac34b9035433a925be58bf2273cc files/nautilus-sendto-0.7-gaim-2.0-plugin.patch 931
+RMD160 541f678638cd35dfe7a1750f700a1c4203f6b4e0 files/nautilus-sendto-0.7-gaim-2.0-plugin.patch 931
+SHA256 4e5387e205c6c4de262b2fad6140ff416f508d343c8c8b1d61af8b205827f78f files/nautilus-sendto-0.7-gaim-2.0-plugin.patch 931
+DIST nautilus-sendto-0.5.tar.bz2 268518 RMD160 588d889fde1dcdac436694f0730e1720d7e10e84 SHA1 d6917e0ff920b6307e023738aa0814c6906134a6 SHA256 63709f0b8dc4c8006c9aa792b2898c3e956cb457b1c49e9e552d2fd1c4df7d38
+DIST nautilus-sendto-0.7.tar.bz2 300584 RMD160 5cc01b9ecb2d4ff38aee1fdeeb589695b1398128 SHA1 a75834d6fd8a134eb430905285c66ea3a737e0b2 SHA256 b182003855b2cf4e1f07b6291bfa1aec0639b3808dec32ae27a1301be0d80a1c
+EBUILD nautilus-sendto-0.5.ebuild 1449 RMD160 35e7f1d1ccdf939f7041a0fa3fb4b029d1a4a8b3 SHA1 581c66de40507bb9bddad5f85f9f2e0ef3e70c2a SHA256 1d1e6e6de19883e60076c3f97f5859316570ca552c8e0e96f819075e45730db5
MD5 2b4f725f56e53b2412f96d39a0c93dd5 nautilus-sendto-0.5.ebuild 1449
RMD160 35e7f1d1ccdf939f7041a0fa3fb4b029d1a4a8b3 nautilus-sendto-0.5.ebuild 1449
SHA256 1d1e6e6de19883e60076c3f97f5859316570ca552c8e0e96f819075e45730db5 nautilus-sendto-0.5.ebuild 1449
-MISC ChangeLog 550 RMD160 0b74f29d12155dcc10b6204e7191ca82441806df SHA1 f20da5116748c575e94cb8d8a602940fe506754a SHA256 c734914596884387352e07c7ee5572aaea5fc87fe026e0197bc2289ae3069d58 size 550
-MD5 eeeb1d23c563f233c5f950c199825e6d ChangeLog 550
-RMD160 0b74f29d12155dcc10b6204e7191ca82441806df ChangeLog 550
-SHA256 c734914596884387352e07c7ee5572aaea5fc87fe026e0197bc2289ae3069d58 ChangeLog 550
-MISC metadata.xml 311 RMD160 868d0eab62db916aa47b7f440a3f4efecc6163b1 SHA1 0e56da7be32af7c553c07179c574cd7837298702 SHA256 774cc71e08a317563fb2700d5aac76af10e3e31ae7c1c58325730bfa0fbb110a size 311
+EBUILD nautilus-sendto-0.7.ebuild 1813 RMD160 e5764a0c7f09eac69614385efe1474d49dd6f6ae SHA1 a9ff3c18f698bc5765c8bc22978d321471a72e95 SHA256 1f27f207ef856f93e78c524c17a13cc5b0d098129cb339e28adcf5d78697f6d3
+MD5 204a545f2e98c12e78148fb240f8f955 nautilus-sendto-0.7.ebuild 1813
+RMD160 e5764a0c7f09eac69614385efe1474d49dd6f6ae nautilus-sendto-0.7.ebuild 1813
+SHA256 1f27f207ef856f93e78c524c17a13cc5b0d098129cb339e28adcf5d78697f6d3 nautilus-sendto-0.7.ebuild 1813
+MISC ChangeLog 810 RMD160 94efe99d344afa278612996b7950f89f07dc3936 SHA1 43084390a4d59a03af59a8769c93194944176f7e SHA256 d4a075821c305f19dbb47c366b24ae84207bbb22f550dc4d755e8902afd15904
+MD5 a902b2f2270825f900bc45b2c88c40da ChangeLog 810
+RMD160 94efe99d344afa278612996b7950f89f07dc3936 ChangeLog 810
+SHA256 d4a075821c305f19dbb47c366b24ae84207bbb22f550dc4d755e8902afd15904 ChangeLog 810
+MISC metadata.xml 311 RMD160 868d0eab62db916aa47b7f440a3f4efecc6163b1 SHA1 0e56da7be32af7c553c07179c574cd7837298702 SHA256 774cc71e08a317563fb2700d5aac76af10e3e31ae7c1c58325730bfa0fbb110a
MD5 def57195a8a8fbc9ff84bded4f4c6772 metadata.xml 311
RMD160 868d0eab62db916aa47b7f440a3f4efecc6163b1 metadata.xml 311
SHA256 774cc71e08a317563fb2700d5aac76af10e3e31ae7c1c58325730bfa0fbb110a metadata.xml 311
MD5 bac3e4b9e4e8655cd3744bc5d9048ad7 files/digest-nautilus-sendto-0.5 262
RMD160 19e4b5243cb544cf4f4b64f7b806b6ebfd16df8c files/digest-nautilus-sendto-0.5 262
SHA256 4b9d8aa3fcf35ae3c6ee2f7515d9eb1f964261cca0d278bdd433af3092de5989 files/digest-nautilus-sendto-0.5 262
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.3 (GNU/Linux)
-
-iD8DBQFEUSfSW78445TWHXcRAkGXAKCUJqlXdrvBKyGwjeOy7q8G7+UZVwCeKoGF
-9CTwi0IUJ3dvy5xm7F2itu4=
-=5qnf
------END PGP SIGNATURE-----
+MD5 f95e00f200c439f0f0d3e882e217f1bd files/digest-nautilus-sendto-0.7 262
+RMD160 ca45fe35e7f88d4035c33cf2f606ef17f3e72613 files/digest-nautilus-sendto-0.7 262
+SHA256 2c18247c115e26cde29e455b526cd494c7ea2170c5367f9e01c64aa9460e6311 files/digest-nautilus-sendto-0.7 262
diff --git a/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.7 b/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.7
new file mode 100644
index 000000000000..ea14bbe34abb
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/files/digest-nautilus-sendto-0.7
@@ -0,0 +1,3 @@
+MD5 c6988b7b10cf2350ed4db03c57136928 nautilus-sendto-0.7.tar.bz2 300584
+RMD160 5cc01b9ecb2d4ff38aee1fdeeb589695b1398128 nautilus-sendto-0.7.tar.bz2 300584
+SHA256 b182003855b2cf4e1f07b6291bfa1aec0639b3808dec32ae27a1301be0d80a1c nautilus-sendto-0.7.tar.bz2 300584
diff --git a/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-configure-options.patch b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-configure-options.patch
new file mode 100644
index 000000000000..405baaaf0e12
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-configure-options.patch
@@ -0,0 +1,211 @@
+--- configure.in.orig 2006-07-04 14:08:48.000000000 -0500
++++ configure.in 2006-07-04 14:46:41.000000000 -0500
+@@ -6,7 +6,7 @@
+ AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
+
+ AM_MAINTAINER_MODE
+-
++
+ AM_DISABLE_STATIC
+ AC_PROG_CC
+ AM_PROG_LIBTOOL
+@@ -54,120 +54,116 @@
+ AC_SUBST(NAUTILUS_SENDTO_CFLAGS)
+ AC_SUBST(NAUTILUS_SENDTO_LIBS)
+
+-dnl Libebook support
++dnl Evolution (libebook) support
+ dnl ---------------------------------
++AC_ARG_ENABLE([evolution],
++ AC_HELP_STRING([--enable-evolution], [enable support for evolution]),,
++ [enable_evolution=no])
++
++if test x$enable_evolution = xyes ; then
++ PKG_CHECK_MODULES(NST_EBOOK, [libebook-1.2 >= $EBOOK_REQUIRED])
+
+-PKG_CHECK_MODULES(NST_EBOOK, libebook-1.2 >= $EBOOK_REQUIRED,
+- [
+- AC_SUBST(NST_EBOOK_CFLAGS)
+- AC_SUBST(NST_EBOOK_LIBS)
+- echo "Using libebook-1.2 !"
+- enable_evolution=yes
+- ],
+- [
+- echo "Building without evolution"
+- enable_evolution=no
+- ]
+-)
++ AC_SUBST(NST_EBOOK_CFLAGS)
++ AC_SUBST(NST_EBOOK_LIBS)
++fi
+
+ AM_CONDITIONAL(HAVE_EVOLUTION, test "x$enable_evolution" = "xyes")
+
+-dnl Gaim support if it's installed
++dnl Gaim support
+ dnl ---------------------------------
+
++AC_ARG_ENABLE([gaim],
++ AC_HELP_STRING([--enable-gaim], [enable support for gaim]),,
++ [enable_gaim=no])
++
++if test x$enable_gaim = xyes ; then
++ PKG_CHECK_MODULES(GAIM, [gaim >= $GAIM_REQUIRED])
++
++ AC_SUBST(GAIM_CFLAGS)
++ AC_SUBST(GAIM_LIBS)
++
++ GAIM_LIBDIR=`pkg-config --variable=libdir gaim`
++ GAIM_DATADIR=`pkg-config --variable=datadir gaim`
+
+-PKG_CHECK_MODULES(GAIM, gaim >= $GAIM_REQUIRED,
+- [
+- AC_SUBST(GAIM_CFLAGS)
+- AC_SUBST(GAIM_LIBS)
+- GAIM_LIBDIR=`pkg-config --variable=libdir gaim`
+- GAIM_DATADIR=`pkg-config --variable=datadir gaim`
+- AC_SUBST(GAIM_LIBDIR)
+- AC_SUBST(GAIM_DATADIR)
+- enable_gaim=yes
+- ],
+- [
+- echo "Building without gaim"
+- enable_gaim=no
+- ]
+-)
++ AC_SUBST(GAIM_LIBDIR)
++ AC_SUBST(GAIM_DATADIR)
++fi
+
+ AM_CONDITIONAL(HAVE_GAIM, test "x$enable_gaim" = "xyes")
+
+-dnl Bluetooth support if it's installed
++dnl Bluetooth support
+ dnl -----------------------------------
+
+-PKG_CHECK_MODULES(BLUETOOTH, gnome-bluetooth >= $BLUETOOTH_REQUIRED,
+- [
+- AC_SUBST(BLUETOOTH_CFLAGS)
+- AC_SUBST(BLUETOOTH_LIBS)
+- enable_bluetooth=yes
+- ],
+- [
+- echo "Building without Bluetooth"
+- enable_bluetooth=no
+- ]
+-)
++AC_ARG_ENABLE([bluetooth],
++ AC_HELP_STRING([--enable-bluetooth],[enable support for bluetooth]),,
++ [enable_bluetooth=no])
+
+-AM_CONDITIONAL(HAVE_BLUETOOTH, test "x$enable_bluetooth" = "xyes")
++if test x$enable_bluetooth = xyes ; then
++ PKG_CHECK_MODULES(BLUETOOTH, [gnome-bluetooth >= $BLUETOOTH_REQUIRED])
+
+-dnl --------------------------------------------------
++ AC_SUBST(BLUETOOTH_CFLAGS)
++ AC_SUBST(BLUETOOTH_LIBS)
++fi
++
++AM_CONDITIONAL(HAVE_BLUETOOTH, test "x$enable_bluetooth" = "xyes")
+
+ dnl Balsa support
+ dnl -------------------------------------------------
+
+-enable_balsa=no
+-AM_CONDITIONAL(HAVE_BALSA, test "x$enable_balsa" = "xyes")
+-dnl -------------------------------------------------
++AC_ARG_ENABLE([balsa],
++ AC_HELP_STRING([--enable-balsa],[enable support for balsa]),,
++ [enable_balsa=no])
+
++AM_CONDITIONAL(HAVE_BALSA, test "x$enable_balsa" = "xyes")
+
+ dnl Sylpheed support
+ dnl -------------------------------------------------
+
+-enable_sylpheed=yes
+-AM_CONDITIONAL(HAVE_SYLPHEED, test "x$enable_sylpheed" = "xyes")
+-dnl -------------------------------------------------
++AC_ARG_ENABLE([sylpheed],
++ AC_HELP_STRING([--enable-sylpheed],[enable support for sylpheed]),,
++ [enable_sylpheed=no])
+
++AM_CONDITIONAL(HAVE_SYLPHEED, test "x$enable_sylpheed" = "xyes")
+
+ dnl Thunderbird support
+ dnl -------------------------------------------------
+
+-enable_thunderbird=no
++AC_ARG_ENABLE([thunderbird],
++ AC_HELP_STRING([--enable-thunderbird],[enable support for thunderbird]),,
++ [enable_thunderbird=no])
++
+ AM_CONDITIONAL(HAVE_THUNDERBIRD, test "x$enable_thunderbird" = "xyes")
+-dnl -------------------------------------------------
+
+ dnl Gajim support
+ dnl -------------------------------------------------
+
+-AC_ARG_WITH(gajim,
+- [AS_HELP_STRING(--with-gajim,[Path to Gajim install prefix])],
+- [GAJIM_PATH="$withval"],[GAJIM_PATH="$prefix"])
++AC_ARG_WITH([gajim],
++ AS_HELP_STRING(--with-gajim,[Path to Gajim install prefix]),
++ [GAJIM_PATH="$withval"],
++ [GAJIM_PATH="$prefix"])
+
+ GAJIM_SHARE_DIR="$GAJIM_PATH"/share/gajim
+
+-PKG_CHECK_MODULES(DBUS, dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED,
+- [
+- AC_SUBST(DBUS_CFLAGS)
+- AC_SUBST(DBUS_LIBS)
+- if test -f "$GAJIM_SHARE_DIR"/data/pixmaps/gajim.png ;
+- then
+- enable_gajim=yes
+- AC_DEFINE_UNQUOTED(GAJIM_SHARE_DIR, "$GAJIM_SHARE_DIR", [path to gajim share dir])
+- else
+- echo "Building without Gajim support"
+- enable_gajim=no
+- fi
+- ],
+- [
+- echo "Building without Gajim support"
+- enable_gajim=no
+- ]
+-)
++AC_ARG_ENABLE([gajim],
++ AC_HELP_STRING([--enable-gajim],[enable support for gajim]),,
++ [enable_gajim=no])
++
++if test x$enable_gajim = xyes ; then
++ if test -f "$GAJIM_SHARE_DIR"/data/pixmaps/gajim.png ; then
++ enable_gajim=yes
++ AC_DEFINE_UNQUOTED(GAJIM_SHARE_DIR, "$GAJIM_SHARE_DIR", [path to gajim share dir])
++
++ PKG_CHECK_MODULES(DBUS, [dbus-1 >= $DBUS_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED])
++
++ AC_SUBST(DBUS_CFLAGS)
++ AC_SUBST(DBUS_LIBS)
++ else
++ enable_gajim=no
++ fi
++fi
+
+ AM_CONDITIONAL(HAVE_GAJIM, test "x$enable_gajim" = "xyes")
+
+-dnl -------------------------------------------------
+-
+
+ GNOME_COMPILE_WARNINGS
+
+@@ -178,7 +174,7 @@
+ GETTEXT_PACKAGE=nautilus-sendto
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [GetText Package])
+-
++
+ AM_GLIB_GNU_GETTEXT
+ AC_PROG_INTLTOOL
+
diff --git a/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-gaim-2.0-plugin.patch b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-gaim-2.0-plugin.patch
new file mode 100644
index 000000000000..17a4efc41574
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/files/nautilus-sendto-0.7-gaim-2.0-plugin.patch
@@ -0,0 +1,25 @@
+--- gaim_plugin/nautilus-sendto-plugin.c.orig 2006-07-04 14:37:15.000000000 -0500
++++ gaim_plugin/nautilus-sendto-plugin.c 2006-07-04 14:37:51.000000000 -0500
+@@ -37,7 +37,7 @@
+ #include <unistd.h>
+ #include <dirent.h>
+
+-#include "internal.h"
++#include "plugin.h"
+ #include "conversation.h"
+ #include "core.h"
+ #include "debug.h"
+@@ -300,10 +300,10 @@
+ GAIM_PRIORITY_DEFAULT, /* priority */
+
+ "gtk-nautilus", /* id */
+- N_("Nautilus Integration"), /* name */
++ "Nautilus Integration", /* name */
+ "0.2", /* version */
+- N_("Provides integration with Nautilus"), /* summary */
+- N_("Provides integration with Nautilus"), /* description */
++ "Provides integration with Nautilus", /* summary */
++ "Provides integration with Nautilus", /* description */
+
+ "Roberto Majadas <roberto@hispalinux.es>", /* author */
+ "www.gnome.org", /* homepage */
diff --git a/gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild b/gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild
new file mode 100644
index 000000000000..4e84f18c012c
--- /dev/null
+++ b/gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-sendto/nautilus-sendto-0.7.ebuild,v 1.1 2006/07/19 04:05:02 compnerd Exp $
+
+inherit gnome2 eutils autotools
+
+DESCRIPTION="A nautilus extension for sending files to locations"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="bluetooth eds gaim gajim sylpheed thunderbird"
+
+RDEPEND=">=dev-libs/glib-2.4
+ >=x11-libs/gtk+-2.4
+ >=gnome-base/libglade-2.5.1
+ >=gnome-base/libbonobo-2.13.0
+ >=gnome-base/libbonoboui-2.13.0
+ >=gnome-base/libgnome-2.13.0
+ >=gnome-base/libgnomeui-2.13.0
+ >=gnome-base/nautilus-2.13.3
+ bluetooth? ( >=net-wireless/gnome-bluetooth-0.6 )
+ eds? ( >=gnome-extra/evolution-data-server-1.5.3 )
+ gaim? ( net-im/gaim )
+ gajim? ( net-im/gajim )
+ sylpheed? ( mail-client/sylpheed )
+ thunderbird? ( mail-client/mozilla-thunderbird )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ >=dev-util/pkgconfig-0.19
+ >=dev-util/intltool-0.35"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+pkg_setup() {
+ G2CONF="${G2CONF} \
+ $(use_enable bluetooth) \
+ $(use_enable eds evolution) \
+ $(use_enable gaim) \
+ $(use_enable gajim) \
+ $(use_enable sylpheed) \
+ $(use_enable thunderbird)"
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Convert autodetection into hard options
+ epatch ${FILESDIR}/${PN}-0.7-configure-options.patch
+
+ # Add support for gaim 2.0
+ if has_version '=net-im/gaim-2*' ; then
+ epatch ${FILESDIR}/${PN}-0.7-gaim-2.0-plugin.patch
+ fi
+
+ # Oh the joys of autotools
+ eautoreconf
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ if use gaim ; then
+ einfo "To enable SendTo support in GAIM, you must enable the plugin in GAIM"
+ einfo "Check Tools -> Preferences -> Plugins in the GAIM menu."
+ fi
+}