summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/conduit/conduit-0.3.9.ebuild')
-rw-r--r--app-admin/conduit/conduit-0.3.9.ebuild35
1 files changed, 20 insertions, 15 deletions
diff --git a/app-admin/conduit/conduit-0.3.9.ebuild b/app-admin/conduit/conduit-0.3.9.ebuild
index 8a7f2b1..414b85a 100644
--- a/app-admin/conduit/conduit-0.3.9.ebuild
+++ b/app-admin/conduit/conduit-0.3.9.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-inherit gnome2 python multilib
+inherit eutils gnome2 python multilib
DESCRIPTION="A Desktop Synchronization Solution for GNOME"
HOMEPAGE="http://www.conduit-project.org/"
@@ -10,30 +10,35 @@ HOMEPAGE="http://www.conduit-project.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="python"
+IUSE="gnome nautilus"
-RDEPEND=">=virtual/python-2.4
- >=x11-libs/gtk+-2.10
+RDEPEND=">=virtual/python-2.5
>=dev-python/pygtk-2.10
- dev-python/pyxml
+ >=dev-python/pyxml-0.8.4
dev-python/vobject
>=dev-python/dbus-python-0.80
- dev-python/pygoocanvas
- dev-python/gnome-python
+ >=dev-python/pygoocanvas-0.9
dev-python/python-dateutil
- dev-python/elementtree
- python? ( >=dev-python/evolution-python-0.0.3 )"
+ >=dev-python/pysqlite-2.3
+ || ( dev-python/elementtree >=virtual/python-2.5 )
+ || ( >=dev-python/evolution-python-0.0.3 >=dev-python/gnome-python-desktop-2.22 )
+ gnome? ( gnome-base/nautilus
+ media-gfx/eog )"
DEPEND="${RDEPEND}
sys-devel/gettext
>=dev-util/intltool-0.35
>=dev-util/pkgconfig-0.19"
-pkg_postinst() {
- python_version
- python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/conduit
+
+pkg_setup() {
+
+ G2CONF="${G2CONF} $(use_enable gnome nautilus-extension) $(use_enable gnome eog-plugin)"
+
}
-pkg_postrm() {
- python_version
- python_mod_cleanup
+src_unpack() {
+
+ unpack ${A}
+ epatch ${FILESDIR}/${P}_correct_firefox_path.patch
+
}