/[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.7 - (show annotations) (download)
Mon May 20 11:12:14 2013 UTC (5 years, 3 months ago) by eva
Branch: MAIN
Changes since 1.6: +6 -2 lines
Add a snapshot compatible with evolution-3.6, bug #448902. Fix compatibility with automake-1.13, bug #467596.

(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key C6085806)

1 # Copyright 1999-2013 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.6 2012/07/15 16:26:56 armin76 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
64 sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' \
65 -i configure.in || die
66
67 intltoolize --force --copy --automake || die "intltoolize failed"
68 eautoreconf
69 gnome2_src_prepare
70 }
71
72 src_install() {
73 gnome2_src_install \
74 sqldocdir="\$(datadir)/doc/${PF}" \
75 sampledir="\$(datadir)/doc/${PF}/examples"
76
77 if ! use examples; then
78 rm -rf "${D}/usr/share/doc/${PF}/examples"
79 fi
80 }

  ViewVC Help
Powered by ViewVC 1.1.20