Use SDL 1 for RHEL
This commit is contained in:
parent
3b535edd7c
commit
cbdf8f4436
@ -199,7 +199,11 @@ Source13: qemu-kvm.sh
|
|||||||
# Patches queued for 2.1
|
# Patches queued for 2.1
|
||||||
Patch0001: 0001-Change-gtk-quit-accelerator-to-ctrl-shift-q-bz-10623.patch
|
Patch0001: 0001-Change-gtk-quit-accelerator-to-ctrl-shift-q-bz-10623.patch
|
||||||
|
|
||||||
|
%if 0%{?rhel}
|
||||||
|
BuildRequires: SDL-devel
|
||||||
|
%else
|
||||||
BuildRequires: SDL2-devel
|
BuildRequires: SDL2-devel
|
||||||
|
%endif
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: which
|
BuildRequires: which
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
@ -795,7 +799,11 @@ sed -i.debug 's/"-g $CFLAGS"/"$CFLAGS"/g' configure
|
|||||||
%ifarch s390
|
%ifarch s390
|
||||||
--enable-tcg-interpreter \
|
--enable-tcg-interpreter \
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?rhel}
|
||||||
|
--with-sdlabi="1.2" \
|
||||||
|
%else
|
||||||
--with-sdlabi="2.0" \
|
--with-sdlabi="2.0" \
|
||||||
|
%endif
|
||||||
--enable-quorum \
|
--enable-quorum \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user