Diff libinput-1.12.1 with a libinput-1.12.5

/usr/portage/dev-libs/libinput/libinput-1.12.5.ebuild 2019-01-08 18:09:00.000000000 +0000
1
# Copyright 1999-2018 Gentoo Authors
1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
5
inherit meson udev
4
EAPI=7
5
PYTHON_COMPAT=( python{2_7,3_{4,5,6,7}} )
6

  
7
inherit meson python-any-r1 udev
6 8

  
7 9
DESCRIPTION="Library to handle input devices in Wayland"
8 10
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/"
......
10 12

  
11 13
LICENSE="MIT"
12 14
SLOT="0/10"
13
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
14 16
IUSE="doc input_devices_wacom"
15 17
# Tests require write access to udev rules directory which is a no-no for live system.
16 18
# Other tests are just about logs, exported symbols and autotest of the test library.
......
24 26
	virtual/udev
25 27
"
26 28
DEPEND="${RDEPEND}
27
	virtual/pkgconfig
28 29
	doc? (
29
		dev-python/sphinx
30
		$(python_gen_any_dep '
31
			dev-python/commonmark[${PYTHON_USEDEP}]
32
			dev-python/recommonmark[${PYTHON_USEDEP}]
33
			dev-python/sphinx[${PYTHON_USEDEP}]
34
			>=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]
35
		')
30 36
		>=app-doc/doxygen-1.8.3
31 37
		>=media-gfx/graphviz-2.38.0
32 38
	)
......
35 41
#		>=dev-libs/check-0.9.10
36 42
#		dev-util/valgrind
37 43
#		sys-libs/libunwind )
44
BDEPEND="
45
	virtual/pkgconfig
46
"
47

  
48
python_check_deps() {
49
	has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \
50
	has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \
51
	has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \
52
	has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]"
53
}
54

  
55
pkg_setup() {
56
	use doc && python-any-r1_pkg_setup
57
}
38 58

  
39 59
src_configure() {
40 60
	# gui can be built but will not be installed
......
52 72
	meson_src_install
53 73
	if use doc ; then
54 74
		docinto html
55
		dodoc -r "${BUILD_DIR}"/html/.
75
		dodoc -r "${BUILD_DIR}"/Documentation/.
56 76
	fi
57 77
}
58 78

  
Thank you!