blob: 604e45d2fd508e3a97e68170c93765f7a40c3256 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-lirc-properties/gnome-lirc-properties-0.5.1.ebuild,v 1.5 2012/05/05 06:25:23 jdhore Exp $
EAPI=3
GCONF_DEBUG=no
PYTHON_DEPEND="2:2.5"
inherit gnome2 python
DESCRIPTION="GTK+ based utilty to configure LIRC remotes"
HOMEPAGE="http://live.gnome.org/gnome-lirc-properties"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="policykit"
RDEPEND=">=app-misc/lirc-0.8.4
>=dev-python/pygtk-2
policykit? ( sys-auth/polkit )"
DEPEND="${RDEPEND}
app-text/gnome-doc-utils
>=dev-util/intltool-0.35.0
virtual/pkgconfig
sys-devel/gettext"
# uses AC_PATH_PROG([lircd]), which is in /usr/sbin which is only in the path
# for root
RESTRICT="userpriv"
pkg_setup() {
G2CONF="$(use_enable policykit policy-kit)"
DOCS="AUTHORS NEWS README TODO"
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
>py-compile
gnome2_src_prepare
}
pkg_postinst() {
gnome2_pkg_postinst
python_mod_optimize gnome_lirc_properties
}
pkg_postrm() {
gnome2_pkg_postrm
python_mod_cleanup gnome_lirc_properties
}
|