Accepting request 526292 from home:zhangxiaofei:branches:GNOME:Factory

- Drop SLE12 / Leap42 conditionals and build with wayland
  unconditionally.

OBS-URL: https://build.opensuse.org/request/show/526292
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/mutter?expand=0&rev=254
This commit is contained in:
Dominique Leuenberger 2017-09-15 09:31:16 +00:00 committed by Git OBS Bridge
parent c19cadadda
commit 0c5aa02508
2 changed files with 6 additions and 12 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Sep 14 14:39:13 UTC 2017 - fezhang@suse.com
- Drop SLE12 / Leap42 conditionals and build with wayland
unconditionally.
-------------------------------------------------------------------
Tue Sep 12 19:33:28 UTC 2017 - luc14n0@linuxmail.org

View File

@ -16,11 +16,6 @@
#
%if 0%{?suse_version} == 1315
%bcond_with wayland
%else
%bcond_without wayland
%endif
Name: mutter
Version: 3.26.0
Release: 0
@ -87,14 +82,12 @@ Obsoletes: typelib-1_0-Meta-3_0
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
%if %{with wayland}
BuildRequires: pkgconfig(gbm) >= 10.3
BuildRequires: pkgconfig(gudev-1.0) >= 232
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(wayland-protocols) >= 1.9
BuildRequires: pkgconfig(wayland-server) >= 1.13.0
%endif
%description
Mutter is a window and compositing manager based on Clutter, forked
@ -152,13 +145,8 @@ translation-update-upstream
%build
%configure \
%if %{with wayland}
--enable-wayland \
--enable-native-backend \
%else
--disable-wayland \
--disable-native-backend \
%endif
--disable-static \
--enable-egl-device \
--enable-compile-warnings=maximum