From 13b77f8114918d7a48b6e1f7c1947dd1a1ce7f6745bf36662edeeae38b412b9b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 17 Mar 2018 10:14:44 +0000 Subject: [PATCH 1/2] Accepting request 587709 from home:Sam0523:branches:openSUSE:Factory enable wayland support OBS-URL: https://build.opensuse.org/request/show/587709 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=77 --- SDL2.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/SDL2.spec b/SDL2.spec index c42ebe6..5573769 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -59,12 +59,17 @@ BuildRequires: pkgconfig(tslib) BuildRequires: pkgconfig(libpulse-simple) >= 0.9 BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(udev) -BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-egl) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xinerama) +BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xxf86vm) @@ -116,7 +121,7 @@ dos2unix COPYING.txt %build # In this instance, we do want --with-pic because of libSDL2main.a. %configure --with-pic --disable-alsa-shared --disable-video-directfb \ - --enable-video-kmsdrm \ + --enable-video-kmsdrm --enable-video-wayland \ %if 0%{?sle_version} --disable-fcitx \ %endif From bf5ba53a959be38f140a273ee7eab957e490cb13dc965a2b9879106ed2dbf294 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 19 Mar 2018 13:32:01 +0000 Subject: [PATCH 2/2] - Build with Wayland support OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=78 --- SDL2.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SDL2.changes b/SDL2.changes index 4bb9c74..65da073 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 17 10:14:15 UTC 2018 - ytz1995@hotmail.com + +- Build with Wayland support + ------------------------------------------------------------------- Thu Mar 8 00:58:43 UTC 2018 - jengelh@inai.de