# HG changeset patch # User Aleksej Bobylev # Date 1447250606 -7200 # Node ID 6037f37a1c856f37c56d7026dd1bd7f3a6a5b91f # Parent fe9e51a734b04cb0f9fde0474c4a95d49c06564c Recompile libsdl, libsdl-mixer with alsa sound support diff -r fe9e51a734b0 -r 6037f37a1c85 libsdl-dev/receipt --- a/libsdl-dev/receipt Wed Nov 11 14:50:32 2015 +0100 +++ b/libsdl-dev/receipt Wed Nov 11 16:03:26 2015 +0200 @@ -23,3 +23,4 @@ cp -a $install/usr/lib/pkgconfig $fs/usr/lib cp -a $install/usr/share/aclocal $fs/usr/share } + diff -r fe9e51a734b0 -r 6037f37a1c85 libsdl-mixer-dev/receipt --- a/libsdl-mixer-dev/receipt Wed Nov 11 14:50:32 2015 +0100 +++ b/libsdl-mixer-dev/receipt Wed Nov 11 16:03:26 2015 +0200 @@ -20,3 +20,4 @@ cp -a $install/usr/lib/*.a $fs/usr/lib cp -a $install/usr/include $fs/usr } + diff -r fe9e51a734b0 -r 6037f37a1c85 libsdl-mixer/receipt --- a/libsdl-mixer/receipt Wed Nov 11 14:50:32 2015 +0100 +++ b/libsdl-mixer/receipt Wed Nov 11 16:03:26 2015 +0200 @@ -13,7 +13,8 @@ HOST_ARCH="i486 arm" DEPENDS="libsdl libmad libvorbis libogg" -BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev " +BUILD_DEPENDS="libsdl libsdl-dev libmad-dev libvorbis-dev libogg-dev \ +alsa-lib-dev" # Rules to configure and make the package. compile_rules() diff -r fe9e51a734b0 -r 6037f37a1c85 libsdl/receipt --- a/libsdl/receipt Wed Nov 11 14:50:32 2015 +0100 +++ b/libsdl/receipt Wed Nov 11 16:03:26 2015 +0200 @@ -14,7 +14,7 @@ DEPENDS="xorg-libXext xorg-libXrender xorg-libX11" BUILD_DEPENDS="libglu-mesa mesa-dev xorg-libXt-dev xorg-libXext-dev \ -xorg-libXrender-dev xorg-libX11-dev" +xorg-libXrender-dev xorg-libX11-dev alsa-lib-dev" # Handle cross compilation. case "$ARCH" in diff -r fe9e51a734b0 -r 6037f37a1c85 visualboyadvance/receipt --- a/visualboyadvance/receipt Wed Nov 11 14:50:32 2015 +0100 +++ b/visualboyadvance/receipt Wed Nov 11 16:03:26 2015 +0200 @@ -3,34 +3,32 @@ PACKAGE="visualboyadvance" VERSION="1.7.2" CATEGORY="games" -SHORT_DESC="An emulator for Gameboy and Gameboy Advance systems." +SHORT_DESC="An emulator for Gameboy and GameboyAdvance systems" MAINTAINER="gokhlayeh@slitaz.org" LICENSE="GPL2" -SOURCE="VisualBoyAdvance" -TARBALL="$SOURCE-src-$VERSION.tar.gz" -CONFIG_FILES="'/etc/VisualBoyAdvance.cfg" +TARBALL="VisualBoyAdvance-src-$VERSION.tar.gz" +CONFIG_FILES="/etc/VisualBoyAdvance.cfg" WEB_SITE="http://vba.ngemu.com/" WGET_URL="http://downloads.sourceforge.net/sourceforge/vba/$TARBALL" TAGS="emulator gameboy" DEPENDS="libsdl" -BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev cairomm-dev libglade-dev libxml2-dev zlib-dev" +BUILD_DEPENDS="libglademm-dev libglademm libsdl-dev patch nasm gtk+-dev gtkmm-dev \ +cairomm-dev libglade-dev libxml2-dev zlib-dev bison flex" # Rules to configure and make the package. compile_rules() { - cd $src sed -i 's/void \*,void \*/gzFile, void */' src/Util.cpp for i in $stuff/$VERSION-*.patch; do patch -Np0 < $i done ./configure \ --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ --sysconfdir=/etc \ - --datadir=/usr/games \ + --disable-profiling \ --enable-gtk=2.4 \ + --disable-dev \ $CONFIGURE_ARGS && make $MAKEFLAGS && make DESTDIR=$DESTDIR install } @@ -38,10 +36,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - mkdir -p $fs/usr/games - cp -a $install/etc $fs - cp -a $install/usr/bin/VisualBoyAdvance $fs/usr/bin - cp -a $install/usr/games/VisualBoyAdvance $fs/usr/games + cp -a $install/* $fs } -