1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 RESTRICT_PYTHON_ABIS="3.*"
10 inherit distutils toolchain-funcs
12 DESCRIPTION="Little Nautilus extension that binds any shortcut to gloobus-preview"
13 HOMEPAGE="http://github.com/DaKTaLeS/nautilus-gloobus-preview/"
14 SRC_URI="http://www.encomiabile.it/files/ngp/${P}.tar.gz"
18 KEYWORDS="~amd64 ~x86"
21 RDEPEND="dev-python/nautilus-python
22 gnome-extra/gloobus-preview"
25 # Getting nautilus extension dir
26 local extensiondir="$($(tc-getPKG_CONFIG) --variable=extensiondir libnautilus-extension)"
27 python_mod_optimize "${extensiondir}"/python/${PN}.py gp_hotkey
28 elog "You have to restart Nautilus to use ${PN}."
30 elog " nautilus --no-desktop"