summaryrefslogtreecommitdiff
blob: 010cc5b5c92e6d9950d15bcc32bd7e24497dc47b (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils

DESCRIPTION="Input event scripting utility that has special support for fancy keyboards, mice, USB dials and more"
HOMEPAGE="http://gizmod.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="libvisual"
RDEPEND="x11-libs/libX11
	dev-lang/python
	media-libs/alsa-lib
	|| ( dev-libs/boost[threads] >=dev-libs/boost-1.34 )
	libvisual? ( >=media-libs/libvisual-0.4.0 )"
DEPEND="${RDEPEND}
	x11-proto/xproto"

src_configure() {
	econf --with-boost $(use_enable libvisual visplugin)
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed."
}