SHA256
1
0
forked from jengelh/SDL2

Accepting request 513710 from games

- Do not BuildRequires pkgconfig(fcitx) on SLE (not shipped anymore
  since SLE12 SP2). (forwarded request 513708 from fcrozat)

OBS-URL: https://build.opensuse.org/request/show/513710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL2?expand=0&rev=16
This commit is contained in:
Yuchen Lin 2017-08-10 12:10:18 +00:00 committed by Git OBS Bridge
commit ade9e33a12
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