/[gentoo-x86]/gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0-r2.ebuild
Gentoo

Contents of /gnome-extra/gnome-activity-journal/gnome-activity-journal-0.8.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Apr 26 17:09:09 2012 UTC (2 years, 3 months ago) by jlec
Branch: MAIN
gnome-extra/gnome-activity-journal: Add compatibility patch for libzg-0.9, https://code.launchpad.net/~manishsinha/gnome-activity-journal/fixes-924988

(Portage version: 2.2.0_alpha101/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/gnome-activity-journal/gnome-activity-journal-0.8.0-r1.ebuild,v 1.4 2012/02/10 23:45:23 tetromino Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2"
8
9 inherit eutils gnome2 distutils gnome2-utils versionator
10
11 DIR_PV=$(get_version_component_range 1-2)
12
13 DESCRIPTION="Tool for easily browsing and finding files on your computer"
14 HOMEPAGE="https://launchpad.net/gnome-activity-journal/"
15 SRC_URI="http://launchpad.net/gnome-activity-journal/${DIR_PV}/${PV}/+download/${P}.tar.gz"
16
17 SLOT="0"
18 LICENSE="GPL-3 LGPL-3"
19 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
20 IUSE=""
21
22 RDEPEND="
23 dev-python/dbus-python
24 dev-python/libgnome-python
25 dev-python/gconf-python
26 dev-python/gst-python
27 dev-python/pycairo
28 dev-python/pygobject:2
29 dev-python/pygtk:2
30 dev-python/pyxdg
31 gnome-extra/zeitgeist
32 sys-apps/dbus"
33 DEPEND="${RDEPEND}
34 dev-util/intltool
35 dev-python/python-distutils-extra"
36
37 pkg_setup() {
38 python_set_active_version 2
39 python_pkg_setup
40 }
41
42 src_configure() { :; }
43
44 pkg_preinst() {
45 gnome2_pkg_preinst
46 }
47
48 src_prepare() {
49 epatch "${FILESDIR}"/${P}-zg-0.9.patch
50 distutils_src_prepare
51 }
52
53 src_install() {
54 distutils_src_install
55 python_convert_shebangs -r 2 "${D}"
56 }
57
58 pkg_postinst() {
59 distutils_pkg_postinst
60 python_mod_optimize /usr/share/gnome-activity-journal
61 gnome2_pkg_postinst
62 }
63
64 pkg_postrm() {
65 distutils_pkg_postrm
66 python_mod_cleanup /usr/share/gnome-activity-journal
67 gnome2_pkg_postrm
68 }

  ViewVC Help
Powered by ViewVC 1.1.20