From 138b1e728a02c531b4e1c6fed37be318afc98ba26812602b8d5dee8872ced806 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 2 Oct 2017 10:29:44 +0000 Subject: [PATCH] Accepting request 530384 from home:Guillaume_G:branches:games - Enable KMS/DRM video driver OBS-URL: https://build.opensuse.org/request/show/530384 OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=59 --- SDL2.changes | 5 +++++ SDL2.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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