1 # Copyright 1999-2009 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/avant-window-navigator-0.3.2.ebuild,v 1.1 2009/02/25 21:39:11 eva Exp $
7 inherit eutils gnome2 python
9 DESCRIPTION
="Fully customisable dock-like window navigator."
10 HOMEPAGE
="http://launchpad.net/awn"
11 SRC_URI
="http://launchpad.net/awn/0.4/${PV}/+download/${P}.tar.gz"
12 LICENSE
="GPL-2 LGPL-2.1"
15 KEYWORDS
="~amd64 ~x86"
16 IUSE
="doc gnome vala xfce"
19 !!<gnome-extra/avant-window-navigator-extras-0.4.0
22 dev-python/elementtree )
28 >=gnome-base/gnome-desktop-2
30 >=gnome-base/libgnome-2
32 >=gnome-base/libglade-2
33 >=dev-libs/glib-2.16.0
35 xfce? ( xfce-base/thunar )
37 >=x11-libs/libwnck-2.20
38 vala? ( dev-lang/vala )"
42 >=dev-util/intltool-0.35.5
43 doc? ( >=dev-util/gtk-doc-1.4 )"
45 DOCS
="AUTHORS ChangeLog NEWS README TODO"
50 #https://bugs.launchpad.net/awn/+bug/562499
51 epatch
"${FILESDIR}/${P}-fix-uninitialized-pointer.patch"
57 if use gnome
; then myconf
="--with-desktop=gnome"
58 elif use xfce
; then myconf
="--with-desktop=xfce4"
59 else myconf
="--with-desktop=agnostic"
62 econf $
(use_with gnome gconf
) \
63 $
(use_enable doc gtk-doc
) \
69 emake || die
"emake failed"
76 ewarn
"AWN will be of no use if you do not have a compositing manager."
78 python_mod_optimize
/usr
/$
(get_libdir
)/python$
(python_get_version
)/site-packages
/awn
83 python_mod_cleanup
/usr
/$
(get_libdir
)/python
*/site-packages
/awn