summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/planner/planner-0.14.2.ebuild')
-rw-r--r--app-office/planner/planner-0.14.2.ebuild28
1 files changed, 16 insertions, 12 deletions
diff --git a/app-office/planner/planner-0.14.2.ebuild b/app-office/planner/planner-0.14.2.ebuild
index 61b3064d69a9..8dddad67b051 100644
--- a/app-office/planner/planner-0.14.2.ebuild
+++ b/app-office/planner/planner-0.14.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/planner/planner-0.14.2.ebuild,v 1.4 2007/08/13 20:09:46 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/planner/planner-0.14.2.ebuild,v 1.5 2007/08/25 09:50:10 eva Exp $
inherit gnome2 fdo-mime
@@ -10,20 +10,20 @@ HOMEPAGE="http://live.gnome.org/Planner/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ppc sparc x86"
-IUSE="doc libgda python"
+IUSE="doc libgda python examples"
-RDEPEND=">=dev-libs/glib-2.4
- >=x11-libs/gtk+-2.4
- >=gnome-base/libgnomecanvas-2.6
- >=gnome-base/libgnomeui-2.6
+RDEPEND=">=dev-libs/glib-2.6
+ >=x11-libs/gtk+-2.6
+ >=gnome-base/libgnomecanvas-2.10
+ >=gnome-base/libgnomeui-2.10
>=gnome-base/libglade-2.4
- >=gnome-base/gnome-vfs-2.6
- >=gnome-base/libgnomeprintui-2.6
+ >=gnome-base/gnome-vfs-2.10
+ >=gnome-base/libgnomeprintui-2.10
>=gnome-base/gconf-2.6
>=dev-libs/libxml2-2.6
>=dev-libs/libxslt-1.1
libgda? ( =gnome-extra/libgda-1* )
- python? ( >=dev-python/pygtk-2.0.0-r1 )"
+ python? ( >=dev-python/pygtk-2.6 )"
# disable eds backend for now, its experimental
# eds? ( >=gnome-extra/evolution-data-server-1.1 )"
# >=mail-client/evolution-2.1.3 )"
@@ -48,7 +48,11 @@ G2CONF="${G2CONF} \
# $(use_enable eds eds-backend) \
src_install() {
- gnome2_src_install \
- sampledir="\$(datadir)/doc/${PF}/examples" \
- sqldocdir="\$(datadir)/doc/${PF}"
+ local myinstall="sqldocdir=\"\$(datadir)/doc/${PF}\""
+
+ if use examples; then
+ myinstall="${myinstall} sampledir=\"\$(datadir)/doc/${PF}/examples\""
+ fi
+
+ gnome2_src_install ${myinstall}
}