SHA256
1
0
forked from pool/SDL2

Remove arts/esound support

OBS-URL: https://build.opensuse.org/package/show/games/SDL2?expand=0&rev=30
This commit is contained in:
Jan Engelhardt 2014-12-19 10:58:51 +00:00 committed by Git OBS Bridge
parent 269f8b11f2
commit b73f2bad32
2 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,8 @@
-------------------------------------------------------------------
Thu Dec 18 10:04:34 UTC 2014 - jengelh@inai.de
Fri Dec 19 10:44:54 UTC 2014 - jengelh@inai.de
- Drop old arts/esound soundserver support.
Remove --with-pic, we build with PIC by default anyway.
-------------------------------------------------------------------
Thu Dec 18 09:46:46 UTC 2014 - jengelh@inai.de

View File

@ -31,14 +31,11 @@ Source2: http://libsdl.org/release/%name-%version.tar.gz.sig
Source3: %name.keyring
Source4: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: alsa-devel >= 0.9.0
BuildRequires: arts-devel
BuildRequires: dos2unix
BuildRequires: esound-devel >= 0.2.8
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: nasm
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa) >= 0.9.0
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glib-2.0)
@ -64,7 +61,7 @@ BuildRequires: pkgconfig(libpulse-simple) >= 0.9
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi)
%ifarch ppc ppc64
%ifarch ppc %power64
BuildRequires: libspe2-devel
%endif
@ -113,7 +110,6 @@ dos2unix COPYING.txt
%build
%configure \
--with-pic \
--disable-rpath \
--disable-alsa-shared \
--disable-video-directfb
@ -122,6 +118,9 @@ make %{?_smp_mflags}
%install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
# We do not want static libs, but using --disable-static leads to make aborting
# halfway through.
find "%buildroot/%_libdir" -type f -name "*.a" ! -name "libSDL2main.a" -delete
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
@ -136,9 +135,7 @@ rm -f "%buildroot/%_libdir"/*.la
%doc TODO.txt WhatsNew.txt
%_bindir/sdl2-config
%_libdir/libSDL2.so
%_libdir/libSDL2.a
%_libdir/libSDL2main.a
%_libdir/libSDL2_test.a
%_includedir/SDL2/
%_datadir/aclocal/sdl2.m4
%_libdir/pkgconfig/sdl2.pc