]> git.pld-linux.org Git - packages/libinput.git/blobdiff - libinput.spec
up to 1.19.2
[packages/libinput.git] / libinput.spec
index 18e2367c39c48383d9b37c641d77ad16a71b6c24..e471bd1ac388c4b21bf94baac9d5add0617189c8 100644 (file)
 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
@@ -29,7 +29,9 @@ BuildRequires:        meson >= 0.49.0
 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
@@ -53,9 +55,6 @@ BuildRequires:        python3-recommonmark
 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
@@ -145,6 +144,10 @@ Dopełnianie parametrów w zsh dla polecenia libinput.
        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} \
This page took 0.057027 seconds and 4 git commands to generate.