/[gentoo-x86]/gnome-extra/zeitgeist/zeitgeist-0.9.0-r1.ebuild
Gentoo

Contents of /gnome-extra/zeitgeist/zeitgeist-0.9.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat May 5 06:25:21 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.1: +2 -2 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/gnome-extra/zeitgeist/zeitgeist-0.9.0-r1.ebuild,v 1.1 2012/04/26 13:34:37 jlec Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2"
8
9 AUTOTOOLS_AUTORECONF=true
10
11 inherit autotools-utils eutils python versionator
12
13 DIR_PV=$(get_version_component_range 1-2)
14 EXT_VER=0.0.13
15
16 DESCRIPTION="Service to log activities and present to other apps"
17 HOMEPAGE="http://launchpad.net/zeitgeist/"
18 SRC_URI="http://launchpad.net/zeitgeist/${DIR_PV}/${PV}/+download/${P}.tar.bz2"
19
20 LICENSE="GPL-2"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86"
23 IUSE="+dbus extensions +fts icu nls passiv plugins"
24
25 RDEPEND="
26 dev-libs/xapian
27 dev-python/dbus-python
28 dev-python/pygobject:2
29 dev-python/pyxdg
30 dev-python/rdflib
31 media-libs/raptor:2
32 dev-libs/glib:2
33 dev-lang/vala:0.14
34 dev-db/sqlite:3
35 extensions? ( gnome-extra/zeitgeist-extensions )
36 icu? ( dev-libs/dee[icu?] )
37 passiv? ( gnome-extra/zeitgeist-datahub )
38 plugins? ( gnome-extra/zeitgeist-datasources )
39 "
40 DEPEND="${RDEPEND}
41 virtual/pkgconfig"
42
43 PATCHES=(
44 "${FILESDIR}"/${P}-gobject.patch
45 "${FILESDIR}"/${P}-doc.patch
46 )
47
48 pkg_setup() {
49 python_set_active_version 2
50 python_pkg_setup
51 export VALAC=$(type -p valac-0.14)
52 }
53
54 src_prepare() {
55 python_clean_py-compile_files
56 autotools-utils_src_prepare
57 }
58
59 src_configure() {
60 local myeconfargs=(
61 --docdir=/usr/share/doc/${PF}
62 $(use_with icu dee-icu)
63 $(use_with dbus session-bus-services-dir /usr/share/dbus-1/services)
64 )
65 use nls || myeconfargs+=(--disable-nls)
66 use fts || myeconfargs+=(--disable-fts)
67 autotools-utils_src_configure
68 }
69
70 src_install() {
71 autotools-utils_src_install
72 }
73
74 pkg_postinst() {
75 python_mod_optimize zeitgeist
76 }
77
78 pkg_postrm() {
79 python_mod_cleanup zeitgeist
80 }

  ViewVC Help
Powered by ViewVC 1.1.20