SHA256
1
0
forked from jengelh/SDL2

Accepting request 513708 from home:fcrozat:branches:games

- Do not BuildRequires pkgconfig(fcitx) on SLE (not shipped anymore
  since SLE12 SP2).

OBS-URL: https://build.opensuse.org/request/show/513708
OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=53
This commit is contained in:
Jan Engelhardt 2017-08-01 14:01:48 +00:00 committed by Git OBS Bridge
parent 6f327076a7
commit 6c28f8e3ea
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 1 13:14:45 UTC 2017 - fcrozat@suse.com
- Do not BuildRequires pkgconfig(fcitx) on SLE (not shipped anymore
since SLE12 SP2).
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 29 10:50:38 UTC 2017 - schwab@suse.de Thu Jun 29 10:50:38 UTC 2017 - schwab@suse.de

View File

@ -40,7 +40,9 @@ BuildRequires: nasm
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: pkgconfig(alsa) >= 0.9.0 BuildRequires: pkgconfig(alsa) >= 0.9.0
BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-1)
%if !0%{?sle_version}
BuildRequires: pkgconfig(fcitx) BuildRequires: pkgconfig(fcitx)
%endif
BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(glu)
@ -65,9 +67,9 @@ BuildRequires: pkgconfig(xxf86vm)
BuildRequires: pkgconfig(libpulse-simple) >= 0.9 BuildRequires: pkgconfig(libpulse-simple) >= 0.9
BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(wayland-server)
%description %description
This is the "Simple DirectMedia Layer" library. It provides a generic This is the "Simple DirectMedia Layer" library. It provides a generic
@ -119,6 +121,9 @@ dos2unix COPYING.txt
%build %build
# In this instance, we do want --with-pic because of libSDL2main.a. # In this instance, we do want --with-pic because of libSDL2main.a.
%configure --with-pic \ %configure --with-pic \
%if 0%{?sle_version}
--disable-fcitx \
%endif
--disable-rpath \ --disable-rpath \
--disable-alsa-shared \ --disable-alsa-shared \
--disable-video-directfb --disable-video-directfb