wok rev 18580

Recompile libsdl, libsdl-mixer with alsa sound support
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 11 16:03:26 2015 +0200 (2015-11-11)
parents fe9e51a734b0
children f1d1e72d5dac
files libsdl-dev/receipt libsdl-mixer-dev/receipt libsdl-mixer/receipt libsdl/receipt visualboyadvance/receipt
line diff
     1.1 --- a/libsdl-dev/receipt	Wed Nov 11 14:50:32 2015 +0100
     1.2 +++ b/libsdl-dev/receipt	Wed Nov 11 16:03:26 2015 +0200
     1.3 @@ -23,3 +23,4 @@
     1.4  	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
     1.5  	cp -a $install/usr/share/aclocal $fs/usr/share
     1.6  }
     1.7 +
     2.1 --- a/libsdl-mixer-dev/receipt	Wed Nov 11 14:50:32 2015 +0100
     2.2 +++ b/libsdl-mixer-dev/receipt	Wed Nov 11 16:03:26 2015 +0200
     2.3 @@ -20,3 +20,4 @@
     2.4  	cp -a $install/usr/lib/*.a $fs/usr/lib
     2.5  	cp -a $install/usr/include $fs/usr
     2.6  }
     2.7 +
     3.1 --- a/libsdl-mixer/receipt	Wed Nov 11 14:50:32 2015 +0100
     3.2 +++ b/libsdl-mixer/receipt	Wed Nov 11 16:03:26 2015 +0200
     3.3 @@ -13,7 +13,8 @@
     3.4  HOST_ARCH="i486 arm"
     3.5  
     3.6  DEPENDS="libsdl libmad libvorbis libogg"
     3.7 -BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev "
     3.8 +BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev \
     3.9 +alsa-lib-dev"
    3.10  
    3.11  # Rules to configure and make the package.
    3.12  compile_rules()
     4.1 --- a/libsdl/receipt	Wed Nov 11 14:50:32 2015 +0100
     4.2 +++ b/libsdl/receipt	Wed Nov 11 16:03:26 2015 +0200
     4.3 @@ -14,7 +14,7 @@
     4.4  
     4.5  DEPENDS="xorg-libXext xorg-libXrender xorg-libX11"
     4.6  BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev \
     4.7 -xorg-libXrender-dev xorg-libX11-dev"
     4.8 +xorg-libXrender-dev xorg-libX11-dev alsa-lib-dev"
     4.9  
    4.10  # Handle cross compilation.
    4.11  case "$ARCH" in
     5.1 --- a/visualboyadvance/receipt	Wed Nov 11 14:50:32 2015 +0100
     5.2 +++ b/visualboyadvance/receipt	Wed Nov 11 16:03:26 2015 +0200
     5.3 @@ -3,34 +3,32 @@
     5.4  PACKAGE="visualboyadvance"
     5.5  VERSION="1.7.2"
     5.6  CATEGORY="games"
     5.7 -SHORT_DESC="An emulator for Gameboy and Gameboy Advance systems."
     5.8 +SHORT_DESC="An emulator for Gameboy and GameboyAdvance systems"
     5.9  MAINTAINER="gokhlayeh@slitaz.org"
    5.10  LICENSE="GPL2"
    5.11 -SOURCE="VisualBoyAdvance"
    5.12 -TARBALL="$SOURCE-src-$VERSION.tar.gz"
    5.13 -CONFIG_FILES="'/etc/VisualBoyAdvance.cfg"
    5.14 +TARBALL="VisualBoyAdvance-src-$VERSION.tar.gz"
    5.15 +CONFIG_FILES="/etc/VisualBoyAdvance.cfg"
    5.16  WEB_SITE="http://vba.ngemu.com/"
    5.17  WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL"
    5.18  TAGS="emulator gameboy"
    5.19  
    5.20  DEPENDS="libsdl"
    5.21 -BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev"
    5.22 +BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev \
    5.23 +cairomm-dev libglade-dev libxml2-dev zlib-dev bison flex"
    5.24  
    5.25  # Rules to configure and make the package.
    5.26  compile_rules()
    5.27  {
    5.28 -	cd $src
    5.29  	sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp
    5.30  	for i in $stuff/$VERSION-*.patch; do
    5.31  		patch -Np0 < $i
    5.32  	done
    5.33  	./configure \
    5.34  		--prefix=/usr \
    5.35 -		--infodir=/usr/share/info \
    5.36 -		--mandir=/usr/share/man \
    5.37  		--sysconfdir=/etc \
    5.38 -		--datadir=/usr/games \
    5.39 +		--disable-profiling \
    5.40  		--enable-gtk=2.4 \
    5.41 +		--disable-dev \
    5.42  		$CONFIGURE_ARGS &&
    5.43  	make $MAKEFLAGS && make DESTDIR=$DESTDIR install
    5.44  }
    5.45 @@ -38,10 +36,5 @@
    5.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.47  genpkg_rules()
    5.48  {
    5.49 -	mkdir -p $fs/usr/bin
    5.50 -	mkdir -p $fs/usr/games
    5.51 -	cp -a $install/etc $fs
    5.52 -	cp -a $install/usr/bin/VisualBoyAdvance $fs/usr/bin
    5.53 -	cp -a $install/usr/games/VisualBoyAdvance $fs/usr/games
    5.54 +	cp -a $install/* $fs
    5.55  }
    5.56 -