1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit meson udev toolchain-funcs
8 DESCRIPTION="Library for identifying Wacom tablets and their model-specific features"
9 HOMEPAGE="https://github.com/linuxwacom/libwacom"
10 SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.bz2"
14 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 sparc ~x86"
16 RESTRICT="!test? ( test )"
20 doc? ( app-doc/doxygen )
29 "${FILESDIR}/${P}-meson-add-private.patch"
30 "${FILESDIR}/${P}-match-with-autotools.patch"
31 "${FILESDIR}/${P}-configurable_docs.patch"
35 tc-ld-disable-gold # bug https://github.com/linuxwacom/libwacom/issues/170
40 $(meson_feature doc documentation)
41 $(meson_use test tests)
42 -Dudev-dir=$(get_udevdir)