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

Contents of /gnome-extra/zeitgeist/zeitgeist-0.9.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Aug 29 10:45:08 2012 UTC (2 years ago) by jlec
Branch: MAIN
gnome-extra/zeitgeist: Version Bump, #432984

(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)

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.2 2012/05/05 06:25:21 jdhore 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 sql-debug"
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.16
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}"/${PN}-0.9.0-doc.patch
45 )
46
47 pkg_setup() {
48 python_set_active_version 2
49 python_pkg_setup
50 }
51
52 src_prepare() {
53 export VALAC=$(type -p valac-0.16)
54 python_clean_py-compile_files
55 autotools-utils_src_prepare
56 }
57
58 src_configure() {
59 local myeconfargs=(
60 --docdir="${EPREFIX}/usr/share/doc/${PF}"
61 $(use_enable sql-debug explain-queries)
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