]> git.pld-linux.org Git - packages/libinput.git/blobdiff - libinput.spec
up to 1.19.2
[packages/libinput.git] / libinput.spec
index f0a374262026220e731268a84855a3dc55ea091b..e471bd1ac388c4b21bf94baac9d5add0617189c8 100644 (file)
 Summary:       Input device library
 Summary(pl.UTF-8):     Biblioteka urządzeń wejściowych
 Name:          libinput
-Version:       1.19.0
+Version:       1.19.2
 Release:       1
 License:       MIT
 Group:         Libraries
 Source0:       https://www.freedesktop.org/software/libinput/%{name}-%{version}.tar.xz
-# Source0-md5: 8e0600a296584f8d65d4ca1a82cd4a02
+# 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
@@ -38,7 +40,7 @@ BuildRequires:        xz
 BuildRequires: cairo-devel
 BuildRequires: glib2-devel >= 2.0
 %if %{with gtk4}
-BuildRequires: gtk+4-devel >= 4.0
+BuildRequires: gtk4-devel >= 4.0
 %else
 BuildRequires: gtk+3-devel >= 3.20
 %endif
@@ -53,9 +55,6 @@ BuildRequires:        python3-recommonmark
 BuildRequires: python3-sphinx_rtd_theme
 BuildRequires: sphinx-pdg-3
 %endif
-%if %{with gui} && %{without gtk4}
-BuildConflicts:        gtk+4-devel
-%endif
 Requires:      libevdev >= 1.3
 Requires:      libwacom >= 0.20
 Requires:      mtdev >= 1.1.0
@@ -86,7 +85,7 @@ Summary(pl.UTF-8):    Graficzny interfejs diagnostyczny do libinput
 Group:         X11/Applications
 Requires:      %{name} = %{version}-%{release}
 %if %{with gtk4}
-Requires:      gtk+4 >= 4.0
+Requires:      gtk4 >= 4.0
 %else
 Requires:      gtk+3 >= 3.20
 %endif
@@ -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.036242 seconds and 4 git commands to generate.