SHA256
1
0
forked from jengelh/SDL2

Accepting request 588599 from games

- Build with Wayland support

OBS-URL: https://build.opensuse.org/request/show/588599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL2?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2018-03-26 09:56:22 +00:00 committed by Git OBS Bridge
commit d4b6c10caf
2 changed files with 12 additions and 2 deletions

View File

@ -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 Thu Mar 8 00:58:43 UTC 2018 - jengelh@inai.de

View File

@ -59,12 +59,17 @@ BuildRequires: pkgconfig(tslib)
BuildRequires: pkgconfig(libpulse-simple) >= 0.9 BuildRequires: pkgconfig(libpulse-simple) >= 0.9
BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(udev) 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(x11)
BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xinerama) BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: pkgconfig(xrandr) BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xscrnsaver)
BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(xxf86vm)
@ -116,7 +121,7 @@ dos2unix COPYING.txt
%build %build
# In this instance, we do want --with-pic because of libSDL2main.a. # In this instance, we do want --with-pic because of libSDL2main.a.
%configure --with-pic --disable-alsa-shared --disable-video-directfb \ %configure --with-pic --disable-alsa-shared --disable-video-directfb \
--enable-video-kmsdrm \ --enable-video-kmsdrm --enable-video-wayland \
%if 0%{?sle_version} %if 0%{?sle_version}
--disable-fcitx \ --disable-fcitx \
%endif %endif