You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libevdev/libevdev-0.6.ebuild

29 lines
734 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevdev/libevdev-0.6.ebuild,v 1.2 2014/01/03 01:25:24 mattst88 Exp $
EAPI=5
XORG_MULTILIB=yes
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
inherit python-single-r1 xorg-2
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}.git"
DESCRIPTION="Handler library for evdev events"
if [[ ${PV} == 9999* ]] ; then
SRC_URI=""
else
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
fi
RESTRICT="test" # Tests need to run as root.
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~x86"
IUSE=""
src_prepare() {
python_fix_shebang libevdev/make-event-names.py
xorg-2_src_prepare
}