diff --git a/SDL2.changes b/SDL2.changes index d38e102..ecab899 100644 --- a/SDL2.changes +++ b/SDL2.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Mon May 26 07:48:54 UTC 2014 - mailaender@opensuse.org + +- Added missing build dependencies + * arts + * dbus + * udev + * tslib +- Removed unrecognized options: --disable-video-svga, --disable-video-ps3 + +------------------------------------------------------------------- +Mon May 26 07:00:15 UTC 2014 - mailaender@opensuse.org + +- Use pkgconfig everywhere +- Fix the build on SLE using prjconf + ------------------------------------------------------------------- Thu Mar 13 18:50:31 UTC 2014 - mailaender@opensuse.org diff --git a/SDL2.spec b/SDL2.spec index b085607..058a213 100644 --- a/SDL2.spec +++ b/SDL2.spec @@ -30,27 +30,38 @@ Source2: http://libsdl.org/release/%name-%version.tar.gz.sig Source3: %name.keyring Source4: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: Mesa-libEGL-devel -BuildRequires: Mesa-libGL-devel -BuildRequires: Mesa-libGLESv1_CM-devel -BuildRequires: Mesa-libGLESv2-devel +BuildRequires: arts-devel BuildRequires: alsa-devel >= 0.9.0 BuildRequires: dos2unix BuildRequires: esound-devel >= 0.2.8 -BuildRequires: libICE-devel -BuildRequires: libX11-devel -BuildRequires: libXScrnSaver-devel -BuildRequires: libXcursor-devel -BuildRequires: libXext-devel -BuildRequires: libXi-devel -BuildRequires: libXinerama-devel -BuildRequires: libXrandr-devel -BuildRequires: libXxf86vm-devel +BuildRequires: gcc gcc-c++ BuildRequires: nasm BuildRequires: pkgconfig +BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) +BuildRequires: pkgconfig(gl) +%if 0%{?suse_version} > 1120 +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(glesv1_cm) +BuildRequires: pkgconfig(glesv2) +%endif +BuildRequires: pkgconfig(ice) +%if 0%{?suse_version} > 1220 +BuildRequires: pkgconfig(tslib) +%endif +BuildRequires: pkgconfig(x11) +%if 0%{?suse_version} > 1120 +BuildRequires: pkgconfig(xscrnsaver) +BuildRequires: pkgconfig(xcursor) +BuildRequires: pkgconfig(xinerama) +BuildRequires: pkgconfig(xrandr) +BuildRequires: pkgconfig(xxf86vm) +%endif +BuildRequires: pkgconfig(xext) +BuildRequires: pkgconfig(xi) BuildRequires: pkgconfig(libpulse-simple) >= 0.9 +BuildRequires: pkgconfig(udev) %ifarch ppc ppc64 BuildRequires: libspe2-devel %endif @@ -104,8 +115,6 @@ dos2unix COPYING.txt --with-pic \ --disable-rpath \ --disable-alsa-shared \ - --disable-video-svga \ - --disable-video-ps3 \ --disable-video-directfb make %{?_smp_mflags}