diff --git a/gnome-shell.changes b/gnome-shell.changes index 8d6f440..ae9b210 100644 --- a/gnome-shell.changes +++ b/gnome-shell.changes @@ -2,7 +2,7 @@ Tue Apr 15 15:29:49 UTC 2014 - dimstar@opensuse.org - Add wayland support (conditional, based on build_wayland_backend - defines): + defines, currently set to 0 - disabled): + Add pkgconfig(libmutter-wayland) BuildRequires. + Create gnome-shell-wayland subpackage. diff --git a/gnome-shell.spec b/gnome-shell.spec index 2e4c2f8..5cb929d 100644 --- a/gnome-shell.spec +++ b/gnome-shell.spec @@ -16,7 +16,7 @@ # -%define build_wayland_backend 1 +%define build_wayland_backend 0 Name: gnome-shell Version: 3.12.0 @@ -114,6 +114,7 @@ The GNOME Shell redefines user interactions with the GNOME desktop. In particular, it offers new paradigms for launching applications, accessing documents, and organizing open windows in GNOME. +%if %{build_wayland_backend} %package wayland Summary: GNOME Shell -- Wayland session Group: System/GUI/GNOME @@ -122,6 +123,7 @@ Requires: gnome-settings-daemon %description wayland This package contains the definition of the default GNOME Shell on Wayland. +%endif %package devel Summary: GNOME Shell -- Development Files @@ -215,10 +217,12 @@ rm -rf %{buildroot} %{_datadir}/gnome-shell/ %doc %{_mandir}/man?/gnome-shell.* +%if %{build_wayland_backend} %files wayland %defattr(-,root,root) %{_bindir}/gnome-shell-wayland %{_datadir}/applications/gnome-shell-wayland.desktop +%endif %files devel %defattr(-,root,root)