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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu May 3 20:00:40 2012 UTC (2 years, 3 months ago) by jdhore
Branch: MAIN
Changes since 1.2: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

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

  ViewVC Help
Powered by ViewVC 1.1.20