commit:     9a79416c762270d215c1c7f6821f9a0475dc8532
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 26 03:36:48 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Mar 26 03:38:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a79416c

dev-libs/libinput: Version bump to 1.23.0

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/libinput/Manifest               |  1 +
 dev-libs/libinput/libinput-1.23.0.ebuild | 91 ++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-libs/libinput/Manifest b/dev-libs/libinput/Manifest
index 2a62e90cfe93..2d249e945791 100644
--- a/dev-libs/libinput/Manifest
+++ b/dev-libs/libinput/Manifest
@@ -1 +1,2 @@
 DIST libinput-1.22.1.tar.bz2 794829 BLAKE2B 
253f840e45ab2293503a0da09ea914b982e643c35928af6762955325a002b5bf20bf8571e705e3a050663cd0e1e26ee0cf4952a6193659f9b27ad1080008e900
 SHA512 
9d1985bc03ae304643fcd3acb762afc53305942e39071a062e7f8950be4929c72bdfeff06039c77f70e53233885df1e2e1a1dc538caeefd2b46f35826d290e9e
+DIST libinput-1.23.0.tar.bz2 803316 BLAKE2B 
ec251c11d11d557be395bb2be2d2937aa36b41df7d047f7700baa43cf4869d287fd03c260229dc4cb18a587b5fb1957884299f9b0837d456459a049b7b1206a7
 SHA512 
cb752d8611d70d9ea26d875aba9db8d0e319e60697aedef1b16295e8180761ce4c8c9635b1aaeb3cfc32d8c5fbe4abfd9a5a4fd29c4b964b25c853c90e816a43

diff --git a/dev-libs/libinput/libinput-1.23.0.ebuild 
b/dev-libs/libinput/libinput-1.23.0.ebuild
new file mode 100644
index 000000000000..d41c25b08fca
--- /dev/null
+++ b/dev-libs/libinput/libinput-1.23.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 2014-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+inherit meson optfeature 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://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.bz2";
+
+LICENSE="MIT"
+SLOT="0/10"
+if [[ $(ver_cut 3) -lt 900 ]] ; then
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+IUSE="doc input_devices_wacom test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       input_devices_wacom? ( >=dev-libs/libwacom-0.27:= )
+       >=dev-libs/libevdev-1.9.902
+       >=sys-libs/mtdev-1.1
+       virtual/libudev:=
+       virtual/udev
+"
+DEPEND="
+       ${RDEPEND}
+       test? ( >=dev-libs/check-0.9.10 )
+"
+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 )
+
+python_check_deps() {
+       python_has_version \
+               "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}]"
+}
+
+pkg_setup() {
+       use doc && python-any-r1_pkg_setup
+}
+
+src_prepare() {
+       default
+       sed "s@, '-Werror'@@" -i meson.build || die #744250
+}
+
+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)
+               $(meson_use test tests)
+               -Dudev-dir="${EPREFIX}$(get_udevdir)"
+       )
+       meson_src_configure
+}
+
+src_install() {
+       meson_src_install
+       if use doc ; then
+               docinto html
+               dodoc -r "${BUILD_DIR}"/Documentation/.
+       fi
+}
+
+pkg_postinst() {
+       optfeature "measure and replay tools" dev-python/python-libevdev
+       udev_reload
+}
+
+pkg_postrm() {
+       udev_reload
+}

Reply via email to