/[gentoo-x86]/gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.4.0.ebuild
Gentoo

Contents of /gnome-extra/avant-window-navigator-extras/avant-window-navigator-extras-0.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat May 5 06:25:22 2012 UTC (2 years, 4 months ago) by jdhore
Branch: MAIN
Changes since 1.6: +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/avant-window-navigator-extras/avant-window-navigator-extras-0.4.0.ebuild,v 1.6 2012/04/15 10:54:12 ssuominen Exp $
4
5 EAPI=4
6
7 GCONF_DEBUG=no
8 GNOME2_LA_PUNT=yes
9
10 PYTHON_DEPEND="2:2.6"
11
12 inherit eutils gnome2 python
13
14 DESCRIPTION="Applets for the Avant Window Navigator"
15 HOMEPAGE="http://launchpad.net/awn-extras"
16 SRC_URI="http://launchpad.net/awn-extras/0.4/${PV}/+download/awn-extras-${PV}.tar.gz"
17
18 LICENSE="BSD CCPL-Attribution-ShareAlike-3.0 GPL-3 LGPL-2.1"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="+gconf gstreamer webkit"
22
23 RDEPEND="dev-python/dbus-python
24 dev-python/feedparser
25 dev-python/gdata
26 dev-python/librsvg-python
27 dev-python/notify-python
28 dev-python/pycairo
29 dev-python/pygobject:2
30 dev-python/pygtk:2
31 dev-python/python-dateutil
32 dev-python/vobject
33 >=gnome-base/libgtop-2
34 >=gnome-extra/avant-window-navigator-${PV}[gconf?]
35 sys-apps/dbus
36 >=x11-libs/gtk+-2.18:2
37 x11-libs/libdesktop-agnostic
38 >=x11-libs/libnotify-0.7
39 >=x11-libs/libwnck-2.22:1
40 x11-libs/libX11
41 x11-libs/libXcomposite
42 x11-libs/libXrender
43 x11-libs/vte:0
44 gconf? (
45 >=gnome-base/gconf-2
46 dev-python/gconf-python
47 )
48 gstreamer? (
49 media-libs/gstreamer:0.10
50 dev-python/gst-python:0.10
51 )
52 webkit? ( net-libs/webkit-gtk:2 )"
53 DEPEND="${RDEPEND}
54 dev-util/intltool
55 virtual/pkgconfig
56 sys-devel/gettext"
57
58 S=${WORKDIR}/awn-extras-${PV}
59
60 pkg_setup() {
61 python_set_active_version 2
62 python_pkg_setup
63
64 if has_version gnome-extra/avant-window-navigator[vala]; then
65 export VALAC="$(type -P valac-0.10)"
66 export VALA_GEN_INTROSPECT="$(type -P vapigen-0.10)"
67 else
68 export VALAC=dIsAbLeVaLa
69 export VALA_GEN_INTROSPECT=dIsAbLeVaLa
70 fi
71
72 local sound=no
73 use gstreamer && sound=gstreamer
74
75 G2CONF="--disable-static
76 --enable-sound=${sound}
77 --disable-pymod-checks
78 $(use_enable gconf schemas-install)
79 $(use_with gconf)
80 --without-gnome
81 --without-mozilla
82 $(use_with webkit)"
83
84 DOCS="AUTHORS ChangeLog NEWS README"
85 }
86
87 src_prepare() {
88 epatch \
89 "${FILESDIR}"/${P}-libnotify-0.7.patch \
90 "${FILESDIR}"/${P}-glib-2.31.patch \
91 "${FILESDIR}"/${P}-to-do.py.patch
92
93 >py-compile
94
95 gnome2_src_prepare
96 }
97
98 pkg_postinst() {
99 gnome2_pkg_postinst
100 python_mod_optimize awn
101 }
102
103 pkg_postrm() {
104 gnome2_pkg_postrm
105 python_mod_cleanup awn
106 }

  ViewVC Help
Powered by ViewVC 1.1.20