1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit waf-utils eutils
8 DESCRIPTION
="kupfer, a convenient command and access tool"
9 HOMEPAGE
="http://kaizer.se/wiki/kupfer/"
13 SRC_URI
="http://kaizer.se/publicfiles/${PN}/${MY_P}.tar.gz"
17 KEYWORDS
="~amd64 ~x86"
18 IUSE
="+keybinder doc nautilus"
20 COMMON_DEPEND
=">=dev-lang/python-2.6
23 dev-python/dbus-python
24 dev-python/libwnck-python
26 dev-python/libgnome-python"
27 # dev-python/gnome-keyring-python doesn't work well with Kupfer
28 # dev-python/gnome-keyring-python
29 DEPEND
="${COMMON_DEPEND}
31 doc? ( app-text/gnome-doc-utils )
33 RDEPEND
="${COMMON_DEPEND}
34 keybinder? ( dev-libs/keybinder )
35 nautilus? ( gnome-base/nautilus )"
40 epatch
"${FILESDIR}/${P}-xfce4-terminal.patch"
45 use nautilus || myopts
="--no-install-nautilus-extension"
46 waf-utils_src_configure
--no-update-mime $myopts || \
47 die
"Error: configure failed!"
51 waf-utils_src_install || die
"Error: install failed!"
53 rm -rf "${ED}"usr
/share
/gnome
/help
/kupfer