[qemu/epel7: 17/23] Use SDL 1 for RHEL
Lubomir Rintel
lkundrak at fedoraproject.org
Sat Apr 19 07:53:09 UTC 2014
commit cbdf8f44365941a48b5c0c2ada413380118910a3
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Fri Apr 18 22:00:39 2014 +0200
Use SDL 1 for RHEL
qemu.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index 9c01338..33677f7 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -199,7 +199,11 @@ Source13: qemu-kvm.sh
# Patches queued for 2.1
Patch0001: 0001-Change-gtk-quit-accelerator-to-ctrl-shift-q-bz-10623.patch
+%if 0%{?rhel}
+BuildRequires: SDL-devel
+%else
BuildRequires: SDL2-devel
+%endif
BuildRequires: zlib-devel
BuildRequires: which
BuildRequires: chrpath
@@ -795,7 +799,11 @@ sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
%ifarch s390
--enable-tcg-interpreter \
%endif
+%if 0%{?rhel}
+ --with-sdlabi="1.2" \
+%else
--with-sdlabi="2.0" \
+%endif
--enable-quorum \
"$@"
More information about the scm-commits
mailing list