summaryrefslogtreecommitdiff
blob: 6d32dce96ae0af993b66a3fb7b8ad9472896e2e6 (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-2008 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.2.7.ebuild,v 1.2 2008/09/18 00:00:26 mr_bones_ Exp $

DESCRIPTION="GTK+ based utilty to configure LIRC remotes"
HOMEPAGE="https://code.fluendo.com/remotecontrol/trac/
		http://live.gnome.org/gnome-lirc-properties"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE="policykit"

RDEPEND=">=app-misc/lirc-0.8.0
		>=dev-lang/python-2.4
		>=sys-auth/policykit-0.7
		>=gnome-extra/policykit-gnome-0.7"
DEPEND=">=dev-util/intltool-0.35.0
		app-text/gnome-doc-utils"

# uses AC_PATH_PROG([lircd]), which is in /usr/sbin which is only in the path
# for root
RESTRICT="userpriv"

src_compile() {
	econf --with-lirc-confdir=/etc $(use_enable policykit policy-kit) || \
		die "econf failed"

	emake || die "emake failed"
}