blob: 46623865668125cc0d92e62b7f88b99da51a3f4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/avant-window-navigator/avant-window-navigator-0.4.0.ebuild,v 1.3 2012/01/15 14:04:10 ssuominen Exp $
EAPI=4
GCONF_DEBUG=no
GNOME2_LA_PUNT=yes
PYTHON_DEPEND="2:2.6"
inherit gnome2 python
DESCRIPTION="A dock-like bar which sits at the bottom of the screen"
HOMEPAGE="http://launchpad.net/awn"
SRC_URI="http://launchpad.net/awn/0.4/${PV}/+download/${P}.tar.gz"
LICENSE="GPL-2 LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc +gconf vala"
RDEPEND=">=dev-libs/dbus-glib-0.80
>=dev-libs/glib-2.16
dev-python/librsvg-python
dev-python/pycairo
dev-python/pygobject:2
>=dev-python/pygtk-2.12:2
dev-python/pyxdg
dev-vcs/bzr
>=gnome-base/libgtop-2
>=x11-libs/gtk+-2.12:2
>=x11-libs/libdesktop-agnostic-0.3.9[gconf?]
>=x11-libs/libwnck-2.22:1
x11-libs/libX11
x11-libs/libXcomposite
x11-libs/libXext
x11-libs/libXrender
gconf? ( >=gnome-base/gconf-2 )"
DEPEND="${RDEPEND}
dev-util/intltool
dev-util/pkgconfig
sys-devel/gettext
x11-proto/xproto
!<gnome-extra/avant-window-navigator-extras-${PV}
doc? ( dev-util/gtk-doc )
vala? ( dev-lang/vala:0.10 )"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
if use vala; then
export VALAC="$(type -P valac-0.10)"
export VALA_GEN_INTROSPECT="$(type -P vapigen-0.10)"
fi
G2CONF="--disable-static
--disable-pymod-checks
$(use_enable doc gtk-doc)
$(use_enable gconf schemas-install)
$(use_with vala)
--with-html-dir=/usr/share/doc/${PF}/html"
DOCS="AUTHORS ChangeLog NEWS README TODO"
}
src_prepare() {
>py-compile
gnome2_src_prepare
}
pkg_postinst() {
gnome2_pkg_postinst
python_mod_optimize awn
}
pkg_postrm() {
gnome2_pkg_postrm
python_mod_cleanup awn
}
|