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