/[gentoo-x86]/app-office/planner/planner-0.14.6.ebuild
Gentoo

Contents of /app-office/planner/planner-0.14.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Jul 15 16:26:56 2012 UTC (4 years, 1 month ago) by armin76
Branch: MAIN
Changes since 1.5: +2 -2 lines
alpha/sparc stable wrt #410611

(Portage version: 2.1.11.5/cvs/Linux ia64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/planner/planner-0.14.6.ebuild,v 1.5 2012/05/24 13:32:14 ssuominen Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 PYTHON_DEPEND="python? 2"
9
10 inherit python gnome2 eutils autotools
11
12 DESCRIPTION="Project manager for Gnome"
13 HOMEPAGE="http://live.gnome.org/Planner/"
14
15 SLOT="0"
16 LICENSE="GPL-2"
17 KEYWORDS="alpha amd64 ppc sparc x86"
18 IUSE="doc eds python examples"
19
20 RDEPEND=">=dev-libs/glib-2.6:2
21 >=x11-libs/gtk+-2.14:2
22 >=gnome-base/libgnomecanvas-2.10
23 >=gnome-base/libgnomeui-2.10
24 >=gnome-base/libglade-2.4:2.0
25 >=gnome-base/gconf-2.6:2
26 >=dev-libs/libxml2-2.6.27:2
27 >=dev-libs/libxslt-1.1.23
28 python? ( >=dev-python/pygtk-2.6:2 )
29 eds? (
30 >=gnome-extra/evolution-data-server-1.1
31 >=mail-client/evolution-2.1.3 )"
32
33 DEPEND="${RDEPEND}
34 virtual/pkgconfig
35 app-text/scrollkeeper
36 >=dev-util/intltool-0.35.5
37 doc? ( >=dev-util/gtk-doc-1.0 )
38 dev-util/gtk-doc-am
39 gnome-base/gnome-common"
40
41 # FIXME: disable eds backend for now, it fails, upstream bug #654005
42 pkg_setup() {
43 DOCS="AUTHORS COPYING ChangeLog NEWS README"
44 G2CONF="${G2CONF}
45 $(use_enable python)
46 $(use_enable python python-plugin)
47 $(use_enable eds)
48 --disable-eds-backend
49 --with-database=no
50 --disable-update-mimedb"
51 #$(use_enable eds eds-backend)
52
53 if use python; then
54 python_set_active_version 2
55 python_pkg_setup
56 fi
57 }
58
59 src_prepare() {
60 # Find python in a faster way, bug #344231, upstream bug #654044
61 epatch "${FILESDIR}/${PN}-0.14.6-find-python.patch"
62
63 intltoolize --force --copy --automake || die "intltoolize failed"
64 eautoreconf
65 gnome2_src_prepare
66 }
67
68 src_install() {
69 gnome2_src_install \
70 sqldocdir="\$(datadir)/doc/${PF}" \
71 sampledir="\$(datadir)/doc/${PF}/examples"
72
73 if ! use examples; then
74 rm -rf "${D}/usr/share/doc/${PF}/examples"
75 fi
76 }

  ViewVC Help
Powered by ViewVC 1.1.20