diff options
author | Matt Turner <mattst88@gentoo.org> | 2019-10-20 12:47:05 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2019-10-20 13:17:30 -0700 |
commit | 11c342da47658d065a6fd3b8fcfc5134bf57c785 (patch) | |
tree | f2815a8d72d468de2f754b3ef246d673300bb4da /dev-libs | |
parent | x11-libs/libxkbcommon: Version bump to 0.9.0 (diff) | |
download | gentoo-11c342da47658d065a6fd3b8fcfc5134bf57c785.tar.gz gentoo-11c342da47658d065a6fd3b8fcfc5134bf57c785.tar.bz2 gentoo-11c342da47658d065a6fd3b8fcfc5134bf57c785.zip |
dev-libs/libinput: Version bump to 1.14.2
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libinput/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libinput/libinput-1.14.2.ebuild | 78 |
2 files changed, 79 insertions, 0 deletions
diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest index cbac55ec15d7..47bf2f9c6f23 100644 --- a/dev-libs/libinput/Manifest +++ b/dev-libs/libinput/Manifest @@ -1 +1,2 @@ DIST libinput-1.14.1.tar.xz 564412 BLAKE2B 185cede0e5d74dc27f544996aa003d50556ef50f432c73a45a1cffeac921ecc0a5c5c82158292bcd18a692d745fed552545e5ab60bcc29fb1451529cbdc7a57e SHA512 8416bab51ba1aab924fa1b41360bc2ad101fb60d3a82c73584bb1e2454554524716673e3eac7f08c18bd6a1ecdfa52ea3cfe09c7a866c59fcd47d75960e82d4c +DIST libinput-1.14.2.tar.xz 566976 BLAKE2B 498b7032122b2d757e691663bde9ca0025af92d33a5e4b03bf9ce87ec8a4d4c47fe07939583d7450626208ca761efde2de14a327e0fcd794699cc9b72b928e79 SHA512 932949a78bf95a7a05f50170cfc7dc109c99e1e3e70e63797566c0c3a3003632cad56e9b9ca2a180880f5e2ec1060613066d068b384096f37785fe70ac30c1eb diff --git a/dev-libs/libinput/libinput-1.14.2.ebuild b/dev-libs/libinput/libinput-1.14.2.ebuild new file mode 100644 index 000000000000..c6c5651aad46 --- /dev/null +++ b/dev-libs/libinput/libinput-1.14.2.ebuild @@ -0,0 +1,78 @@ +# Copyright 2014-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) + +inherit meson python-any-r1 udev + +DESCRIPTION="Library to handle input devices in Wayland" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput" +SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0/10" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="doc input_devices_wacom" +# Tests require write access to udev rules directory which is a no-no for live system. +# Other tests are just about logs, exported symbols and autotest of the test library. +RESTRICT="test" + +BDEPEND=" + virtual/pkgconfig + doc? ( + $(python_gen_any_dep ' + dev-python/commonmark[${PYTHON_USEDEP}] + dev-python/recommonmark[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + >=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}] + ') + >=app-doc/doxygen-1.8.3 + >=media-gfx/graphviz-2.38.0 + ) +" +# test? ( dev-util/valgrind ) +RDEPEND=" + input_devices_wacom? ( >=dev-libs/libwacom-0.20 ) + >=dev-libs/libevdev-1.3 + >=sys-libs/mtdev-1.1 + virtual/libudev:= + virtual/udev +" +DEPEND="${RDEPEND}" +# test? ( >=dev-libs/check-0.9.10 ) + +python_check_deps() { + has_version "dev-python/commonmark[${PYTHON_USEDEP}]" && \ + has_version "dev-python/recommonmark[${PYTHON_USEDEP}]" && \ + has_version "dev-python/sphinx[${PYTHON_USEDEP}]" && \ + has_version ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]" +} + +pkg_setup() { + use doc && python-any-r1_pkg_setup +} + +src_configure() { + # gui can be built but will not be installed + local emesonargs=( + -Ddebug-gui=false + $(meson_use doc documentation) + $(meson_use input_devices_wacom libwacom) + -Dtests=false # tests are restricted + -Dudev-dir="$(get_udevdir)" + ) + meson_src_configure +} + +src_install() { + meson_src_install + if use doc ; then + docinto html + dodoc -r "${BUILD_DIR}"/Documentation/. + fi +} + +pkg_postinst() { + udevadm hwdb --update --root="${ROOT}" +} |