blob: 5dd4b21beb8daf921d5969b48707cdfa1eea7eb6 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="3"
PYTHON_DEPEND="2"
RESTRICT_PYTHON_ABIS="3.*"
inherit distutils toolchain-funcs
DESCRIPTION="Little Nautilus extension that binds any shortcut to gloobus-preview"
HOMEPAGE="http://github.com/DaKTaLeS/nautilus-gloobus-preview/"
SRC_URI="http://www.encomiabile.it/files/ngp/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-python/nautilus-python
gnome-extra/gloobus-preview"
pkg_postinst() {
# Getting nautilus extension dir
local extensiondir="$($(tc-getPKG_CONFIG) --variable=extensiondir libnautilus-extension)"
python_mod_optimize "${extensiondir}"/python/${PN}.py gp_hotkey
elog "You have to restart Nautilus to use ${PN}."
elog " nautilus -q"
elog " nautilus --no-desktop"
}
|