/[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.8 - (hide annotations) (download)
Mon May 20 11:14:29 2013 UTC (5 years, 5 months ago) by eva
Branch: MAIN
Changes since 1.7: +1 -2 lines
Fix typos from previous commit.

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

1 eva 1.7 # Copyright 1999-2013 Gentoo Foundation
2 pacho 1.1 # Distributed under the terms of the GNU General Public License v2
3 eva 1.8 # $Header: /var/cvsroot/gentoo-x86/app-office/planner/planner-0.14.6.ebuild,v 1.7 2013/05/20 11:12:14 eva Exp $
4 pacho 1.1
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 armin76 1.6 KEYWORDS="alpha amd64 ppc sparc x86"
18 pacho 1.1 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 jdhore 1.4 virtual/pkgconfig
35 pacho 1.1 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 eva 1.7 sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' \
64     -i configure.in || die
65    
66 pacho 1.1 intltoolize --force --copy --automake || die "intltoolize failed"
67     eautoreconf
68     gnome2_src_prepare
69     }
70    
71     src_install() {
72     gnome2_src_install \
73     sqldocdir="\$(datadir)/doc/${PF}" \
74     sampledir="\$(datadir)/doc/${PF}/examples"
75    
76     if ! use examples; then
77     rm -rf "${D}/usr/share/doc/${PF}/examples"
78     fi
79     }

  ViewVC Help
Powered by ViewVC 1.1.20