1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Library to handle input devices in Wayland"
10 HOMEPAGE="http://www.freedesktop.org/wiki/Software/libinput/"
11 SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
13 # License appears to be a variant of libtiff
16 KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh ~sparc x86"
21 >=dev-libs/libevdev-0.4
30 # Doc handling in kinda strange but everything
31 # is available in the tarball already.
32 sed -e 's/^\(SUBDIRS =.*\)doc\(.*\)$/\1\2/' \
33 -i Makefile.am Makefile.in || die
37 # gui can be built but will not be installed
38 # building documentation silently fails with graphviz syntax errors
40 --disable-documentation \
46 emake install DESTDIR="${D}" || die