Accepting request 1038371 from home:llyyr:branches:X11:Wayland

Make it actually build this time

OBS-URL: https://build.opensuse.org/request/show/1038371
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wlroots10?expand=0&rev=2
This commit is contained in:
llyyr 2022-11-27 00:30:49 +00:00 committed by Git OBS Bridge
parent 9216b3cfa9
commit 1b42fb3819
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#
# spec file for package wlroots
# spec file for package wlroots10
#
# Copyright (c) 2022 SUSE LLC
#
@ -30,7 +30,7 @@ Summary: Modular Wayland compositor library
License: MIT
Group: System/GUI/Other
URL: https://gitlab.freedesktop.org/wlroots/wlroots
Source0: https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/%{version}/downloads/%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
Patch0: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3456.patch
BuildRequires: glslang-devel
BuildRequires: meson >= 0.58.1
@ -91,7 +91,8 @@ Group: System/Libraries
Pluggable, composable modules for building a Wayland compositor.
%prep
%autosetup -p1
%setup -n wlroots-%{version}
%patch0 -p1
%build
export CFLAGS="%{optflags} -I/usr/include/wayland -Wno-redundant-decls"