Summary: Input device library
Summary(pl.UTF-8): Biblioteka urządzeń wejściowych
Name: libinput
-Version: 1.19.1
+Version: 1.19.2
Release: 1
License: MIT
Group: Libraries
Source0: https://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
-# Source0-md5: 5176f5b2806807df23c5e315bcbf6567
+# Source0-md5: 2c7f2aa4032bacb562a535b74829c56d
URL: https://www.freedesktop.org/wiki/Software/libinput/
BuildRequires: check-devel >= 0.9.10
BuildRequires: libevdev-devel >= 1.3
BuildRequires: mtdev-devel >= 1.1.0
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
+BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.752
+BuildRequires: sed >= 4.0
BuildRequires: tar >= 1:1.22
BuildRequires: udev-devel
BuildRequires: valgrind
BuildRequires: python3-sphinx_rtd_theme
BuildRequires: sphinx-pdg-3
%endif
-%if %{with gui} && %{without gtk4}
-BuildConflicts: gtk4-devel
-%endif
Requires: libevdev >= 1.3
Requires: libwacom >= 0.20
Requires: mtdev >= 1.1.0
tools/libinput-measure-{fuzz,touchpad-pressure,touch-size,touchpad-tap}.py \
tools/libinput-{replay,measure-touchpad-size}.py
+%if %{without gtk4}
+%{__sed} -i -e "/dependency('gtk4'/ s/'gtk4'/'gtk4-disabled'/" meson.build
+%endif
+
%build
%meson build \
-Ddebug-gui=%{__true_false gui} \