summaryrefslogtreecommitdiff
blob: fde3773a8b6a37d2b4734af2785a69feeff3ff65 (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
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit git-2 distutils

DESCRIPTION="Daemon that executes event-triggered actions"
HOMEPAGE="http://github.com/anyc/mplugd"
EGIT_REPO_URI="https://github.com/benklop/mplugd.git"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="pulseaudio X udev midi"

RDEPEND="
	pulseaudio? ( dev-python/dbus-python )
	X? ( >dev-python/python-xlib-0.15 )
	udev? ( dev-python/pyudev )
	midi? ( media-libs/portmidi )
	pulseaudio? ( <dev-python/pygobject-3 )"

pkg_preinst() {
    enewgroup mplugd
	enewuser mplugd -1 /bin/false /dev/null "mplugd,pulse-access,daemon,lirc"
}