1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7,8} )
8 inherit meson multilib-minimal python-any-r1
10 DESCRIPTION="Handler library for evdev events"
11 HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev"
13 if [[ ${PV} == 9999* ]] ; then
14 EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git"
17 SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz"
18 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
25 DEPEND="test? ( dev-libs/check[${MULTILIB_USEDEP}] )"
28 doc? ( app-doc/doxygen )
29 virtual/pkgconfig[${MULTILIB_USEDEP}]
31 RESTRICT="!test? ( test )"
33 multilib_src_configure() {
35 $(meson_feature doc documentation)
36 $(meson_feature test tests)
41 multilib_src_compile() {
49 multilib_src_install() {
53 multilib_src_install_all() {
55 local HTML_DOCS=( doc/html/. )