wok diff mupen64plus/receipt @ rev 18637

Up slitaz-boot-scripts(417), tazpkg(875)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 28 13:50:44 2015 +0200 (2015-11-28)
parents bb009a6ef036
children 3705d68ed8f3
line diff
     1.1 --- a/mupen64plus/receipt	Sat Nov 30 15:44:51 2013 +0000
     1.2 +++ b/mupen64plus/receipt	Sat Nov 28 13:50:44 2015 +0200
     1.3 @@ -1,43 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mupen64plus"
     1.7 -VERSION="1.5"
     1.8 +VERSION="2.5"
     1.9  CATEGORY="games"
    1.10  SHORT_DESC="Nintendo64 Emulator"
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  LICENSE="GPL2"
    1.13 -SOURCE="Mupen64Plus"
    1.14 -TARBALL="$SOURCE-${VERSION//./-}-src.tar.gz"
    1.15 -WEB_SITE="http://code.google.com/p/mupen64plus/"
    1.16 -WGET_URL="http://mupen64plus.googlecode.com/files/$TARBALL"
    1.17 +TARBALL="$PACKAGE-bundle-src-$VERSION.tar.gz"
    1.18 +WEB_SITE="http://www.mupen64plus.org/"
    1.19 +WGET_URL="https://github.com/mupen64plus/mupen64plus-core/releases/download/$VERSION/$TARBALL"
    1.20  TAGS="emulator nintendo64"
    1.21  
    1.22 -DEPENDS="gtk+ mesa libglu-mesa libsamplerate libsdl-ttf"
    1.23 -BUILD_DEPENDS="gtk+-dev mesa-dev libglu-mesa libglu-mesa-dev libsamplerate-dev \
    1.24 -libsdl-dev libsdl-ttf-dev yasm pkg-config zlib-dev"
    1.25 +DEPENDS="bzlib freetype libboost-filesystem libglu-mesa libsamplerate libsdl \
    1.26 +speex"
    1.27 +BUILD_DEPENDS="gtk+-dev libboost-filesystem-dev libglu-mesa libglu-mesa-dev \
    1.28 +libsamplerate-dev libsdl-dev libsdl-ttf-dev mesa-dev speex-dev yasm zlib-dev"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34 -
    1.35 -	# patching (provided by Yggdrasil) Thanks! Will remove when new version of mupen64plus comes out.
    1.36 -	patch -Np1 -i $stuff/const.patch
    1.37 -	patch -Np1 -i $stuff/blight-input-linking.patch
    1.38 -	# thanks to debian for having a patch :) http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577329
    1.39 -	patch -Np1 -i $stuff/ftbfs-gvariant-type-conflicts.patch
    1.40 -
    1.41 -	make PREFIX=/usr all
    1.42 -	mkdir -p $DESTDIR/usr/bin
    1.43 -	make PREFIX=$DESTDIR/usr install
    1.44 +	export PREFIX=/usr DESTDIR=$install
    1.45 +	./m64p_build.sh &&
    1.46 +	./m64p_install.sh
    1.47  }
    1.48  
    1.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.50  genpkg_rules()
    1.51  {
    1.52 -	mkdir -p $fs/usr/share
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 -	cp -a $install/usr/share/mupen64plus $fs/usr/share
    1.55 -	cp -a $install/usr/share/applications $fs/usr/share
    1.56 +	cp -a $install/* $fs
    1.57 +	rm -r $fs/usr/include
    1.58 +	find $fs -name '*.so*' -exec chmod a+x \{\} \;
    1.59  }
    1.60 -