diff --git a/SDL2.changes b/SDL2.changes index e23d9b4..23d2059 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 2 10:06:41 UTC 2017 - guillaume@opensuse.org + +- Enable KMS/DRM video driver + ------------------------------------------------------------------- Sat Sep 30 16:54:04 UTC 2017 - spartanj@gmail.com diff --git a/SDL2.spec b/SDL2.spec index 1410a6f..8928ae7 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -52,6 +52,9 @@ BuildRequires: pkgconfig(glesv1_cm) BuildRequires: pkgconfig(glesv2) %endif BuildRequires: pkgconfig(ice) +# KMS/DRM driver needs libdrm and libgbm +BuildRequires: libdrm-devel >= 2.4.46 +BuildRequires: libgbm-devel >= 9.0.0 %if 0%{?suse_version} > 1220 BuildRequires: pkgconfig(tslib) %endif @@ -124,7 +127,8 @@ dos2unix COPYING.txt %endif --disable-rpath \ --disable-alsa-shared \ - --disable-video-directfb + --disable-video-directfb \ + --enable-video-kmsdrm make %{?_smp_mflags} V=1 %install