summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalev Lember <kalevlember@gmail.com>2014-09-22 13:18:25 +0200
committerKalev Lember <kalevlember@gmail.com>2014-09-22 13:18:25 +0200
commitaeebb48d2feb38201fb834155aeb25268e9a433f (patch)
tree6d8277217ded964e4da931494b5083d083389154
parentTighten deps with the _isa macro (diff)
downloadgtk3-classic-build-gtk3-aeebb48d2feb38201fb834155aeb25268e9a433f.tar.gz
gtk3-classic-build-gtk3-aeebb48d2feb38201fb834155aeb25268e9a433f.tar.bz2
gtk3-classic-build-gtk3-aeebb48d2feb38201fb834155aeb25268e9a433f.zip
Set minimum required wayland version
-rw-r--r--gtk3.spec10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk3.spec b/gtk3.spec
index 513b3cb..a82561a 100644
--- a/gtk3.spec
+++ b/gtk3.spec
@@ -8,6 +8,7 @@
%global gdk_pixbuf_version 2.30.0
%global atk_version 2.12.0
%global cairo_version 1.13.1
+%global wayland_version 1.5.91
%global xrandr_version 1.2.99.4-2
%global bin_version 3.0.0
@@ -53,8 +54,8 @@ BuildRequires: colord-devel
BuildRequires: avahi-gobject-devel
BuildRequires: desktop-file-utils
%if 0%{?with_wayland}
-BuildRequires: libwayland-client-devel
-BuildRequires: libwayland-cursor-devel
+BuildRequires: libwayland-client-devel >= %{wayland_version}
+BuildRequires: libwayland-cursor-devel >= %{wayland_version}
BuildRequires: libxkbcommon-devel
%endif
@@ -71,6 +72,10 @@ Requires(post): pango%{?_isa} >= %{pango_version}
Requires: cairo%{?_isa} >= %{cairo_version}
Requires: cairo-gobject%{?_isa} >= %{cairo_version}
Requires: libXrandr%{?_isa} >= %{xrandr_version}
+%if 0%{?with_wayland}
+Requires: libwayland-client%{?_isa} >= %{wayland_version}
+Requires: libwayland-cursor%{?_isa} >= %{wayland_version}
+%endif
# gtk3 itself includes the Adwaita theme now
Obsoletes: adwaita-gtk3-theme < 3.13.3
@@ -318,6 +323,7 @@ gtk-query-immodules-3.0-%{__isa_bits} --update-cache
* Mon Sep 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
- Update to 3.14.0
- Tighten deps with the _isa macro
+- Set minimum required wayland version
* Tue Sep 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.9-1
- Update to 3.13.9
bgstack15