wok-next rev 20475

Tiny edits: libsdl-mixer, scummvm, stella, syasokoban, sz81, tuxpaint, workerfm...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 11 13:37:02 2018 +0200 (2018-03-11)
parents 2d4ad53f3c69
children 9d604775ef23
files libsdl-mixer/receipt scummvm/receipt stella/receipt syasokoban/receipt syasokoban/stuff/gcc44.u syasokoban/stuff/patches/gcc44.u syasokoban/stuff/patches/series sz81/receipt tuxpaint/receipt workerfm/receipt xine-lib/receipt xine-plugin/receipt xine-ui/receipt xrick/receipt xwax/receipt
line diff
     1.1 --- a/libsdl-mixer/receipt	Sat Mar 10 17:39:42 2018 +0200
     1.2 +++ b/libsdl-mixer/receipt	Sun Mar 11 13:37:02 2018 +0200
     1.3 @@ -22,11 +22,11 @@
     1.4  	case $PACKAGE in
     1.5  		libsdl-mixer)
     1.6  			copy @std
     1.7 -			DEPENDS="libsdl"
     1.8 +			DEPENDS="fluidsynth libsdl tslib"
     1.9  			;;
    1.10  		*-dev)
    1.11  			copy @dev
    1.12 -			DEPENDS="libsdl-mixer libsdl-dev"
    1.13 +			DEPENDS="libsdl-mixer libsdl-dev fluidsynth-dev tslib-dev"
    1.14  			;;
    1.15  	esac
    1.16  }
     2.1 --- a/scummvm/receipt	Sat Mar 10 17:39:42 2018 +0200
     2.2 +++ b/scummvm/receipt	Sun Mar 11 13:37:02 2018 +0200
     2.3 @@ -1,42 +1,37 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="scummvm"
     2.8  VERSION="1.6.0"
     2.9  CATEGORY="games"
    2.10 -SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click adventure games."
    2.11 +SHORT_DESC="A 'virtual machine' for several classic graphical point-and-click \
    2.12 +adventure games"
    2.13  MAINTAINER="admin@trixarian.net"
    2.14  LICENSE="GPL2"
    2.15 +WEB_SITE="http://www.scummvm.org/"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.18 -WEB_SITE="http://www.scummvm.org/"
    2.19  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.20 +
    2.21 +BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev \
    2.22 +libvorbis-dev flac-dev zlib-dev"
    2.23  CROSS="bug: Doesn't support --build."
    2.24  
    2.25 -DEPENDS="gcc-lib-base alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib"
    2.26 -BUILD_DEPENDS="alsa-lib-dev libmad-dev libmpeg2-dev libogg-dev libsdl-dev libvorbis-dev flac-dev zlib-dev"
    2.27 -
    2.28 -# Rules to configure and make the package.
    2.29 -compile_rules()
    2.30 -{
    2.31 -	cd $src
    2.32 +compile_rules() {
    2.33  	./configure \
    2.34  		--prefix=/usr \
    2.35  		--datadir=/usr/games/scummvm \
    2.36 -		--backend=sdl --disable-debug \
    2.37 +		--backend=sdl \
    2.38 +		--disable-debug \
    2.39  		--with-flac-prefix=/usr \
    2.40  		--disable-fluidsynth \
    2.41  		--host=$HOST_SYSTEM &&
    2.42 -	make && make install && {
    2.43 -		mkdir -p $DESTDIR/usr/share/applications
    2.44 -		cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications		
    2.45 -	}
    2.46 +	make && make install || return 1
    2.47 +
    2.48 +	mkdir -p $DESTDIR/usr/share/applications
    2.49 +	cp -a dists/scummvm.desktop $DESTDIR/usr/share/applications
    2.50  }
    2.51  
    2.52 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.53 -genpkg_rules()
    2.54 -{
    2.55 -	mkdir -p $fs/usr/share/applications $fs/usr/games
    2.56 -	cp -a $install/usr/bin $fs/usr
    2.57 -	cp -a $install/usr/games/scummvm $fs/usr/games
    2.58 -	cp -a $install/usr/share/applications/scummvm.desktop $fs/usr/share/applications
    2.59 +genpkg_rules() {
    2.60 +	copy @std
    2.61 +	DEPENDS="alsa-lib libmad libmpeg2 libogg libsdl libvorbis flac zlib"
    2.62  }
    2.63 -
     3.1 --- a/stella/receipt	Sat Mar 10 17:39:42 2018 +0200
     3.2 +++ b/stella/receipt	Sun Mar 11 13:37:02 2018 +0200
     3.3 @@ -1,33 +1,28 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="stella"
     3.8  VERSION="3.7.5"
     3.9  CATEGORY="games"
    3.10 -SHORT_DESC="A multi-platform Atari 2600 VCS emulator."
    3.11 +SHORT_DESC="A multi-platform Atari 2600 VCS emulator"
    3.12  MAINTAINER="slaxemulator@gmail.com"
    3.13  LICENSE="GPL2"
    3.14 +WEB_SITE="http://stella.sourceforge.net/"
    3.15 +
    3.16  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    3.17 -WEB_SITE="http://stella.sourceforge.net/"
    3.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.19 -TAGS="emulator atari"
    3.20  
    3.21 -DEPENDS="gcc-lib-base libsdl libpng16"
    3.22  BUILD_DEPENDS="libsdl-dev libpng16-dev zlib-dev"
    3.23  
    3.24 -# Rules to configure and make the package.
    3.25 -compile_rules()
    3.26 -{
    3.27 -	cd $src
    3.28 +compile_rules() {
    3.29  	./configure \
    3.30  		--prefix=/usr &&
    3.31 -	make && make DESTDIR=$DESTDIR install
    3.32 +	make && make DESTDIR=$DESTDIR install || return 1
    3.33 +
    3.34 +	sed -i 's|Icon=stella.png|Icon=stella|' $install/usr/share/applications/stella.desktop
    3.35  }
    3.36  
    3.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.38 -genpkg_rules()
    3.39 -{
    3.40 -	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
    3.41 -	cp -a $install/usr/bin $fs/usr
    3.42 -	cp -a $install/usr/share/icons/hicolor/48x48/apps/stella.png $fs/usr/share/pixmaps
    3.43 -	sed -i 's|Icon=stella.png|Icon=stella|' $install/usr/share/applications/stella.desktop
    3.44 +genpkg_rules() {
    3.45 +	copy @std
    3.46 +	DEPENDS="gcc-lib-base libsdl libpng16"
    3.47 +	TAGS="emulator atari"
    3.48  }
     4.1 --- a/syasokoban/receipt	Sat Mar 10 17:39:42 2018 +0200
     4.2 +++ b/syasokoban/receipt	Sun Mar 11 13:37:02 2018 +0200
     4.3 @@ -1,34 +1,30 @@
     4.4 -# SliTaz package receipt.
     4.5 +# SliTaz package receipt v2.
     4.6  
     4.7  PACKAGE="syasokoban"
     4.8  VERSION="2.0.1"
     4.9  CATEGORY="games"
    4.10 -SHORT_DESC="Sokoban clone."
    4.11 +SHORT_DESC="Sokoban clone"
    4.12  MAINTAINER="pascal.bellard@slitaz.org"
    4.13  LICENSE="GPL2 BSD"
    4.14 +WEB_SITE="http://grayskygames.com/sokoban.html"
    4.15 +
    4.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.17 -WEB_SITE="http://grayskygames.com/sokoban.html"
    4.18  WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
    4.19  
    4.20 -DEPENDS="libsdl gcc-lib-base glibc-base"
    4.21  BUILD_DEPENDS="libsdl-dev"
    4.22  
    4.23 -# Rules to configure and make the package.
    4.24 -compile_rules()
    4.25 -{
    4.26 +compile_rules() {
    4.27  	sed -i 's|<stdlib.h>|&\n#include <unistd.h>|' src/Main.cpp
    4.28 -	if [ ! -f gcc44.u.done ]; then
    4.29 -		patch -p0 < $stuff/gcc44.u
    4.30 -		touch gcc44.u.done
    4.31 -	fi
    4.32 -	make
    4.33 +	make || return 1
    4.34 +
    4.35 +	mkdir -p $install/usr/share/syasokoban/
    4.36 +	cp -r $src/syasokoban $src/data $install/usr/share/syasokoban/
    4.37 +
    4.38 +	install -Dm644 $stuff/sokoban.desktop $install/usr/share/applications/sokoban.desktop
    4.39 +	install -Dm755 $stuff/syasokoban      $install/usr/bin/syasokoban
    4.40  }
    4.41  
    4.42 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.43 -genpkg_rules()
    4.44 -{
    4.45 -	mkdir -p $fs/usr/bin $fs/usr/share/syasokoban $fs/usr/share/applications
    4.46 -	cp -a $src/syasokoban $src/data $fs/usr/share/syasokoban
    4.47 -	cp -a $stuff/sokoban.desktop $fs/usr/share/applications
    4.48 -	cp -a $stuff/syasokoban $fs/usr/bin/syasokoban
    4.49 +genpkg_rules() {
    4.50 +	copy @std
    4.51 +	DEPENDS="libsdl gcc-lib-base glibc-base"
    4.52  }
     5.1 --- a/syasokoban/stuff/gcc44.u	Sat Mar 10 17:39:42 2018 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,11 +0,0 @@
     5.4 ---- src/djSettings.cpp
     5.5 -+++ src/djSettings.cpp
     5.6 -@@ -6,6 +6,8 @@
     5.7 - //---------------------------------------------------------------------------
     5.8 - #include "djSettings.h"
     5.9 - #include "djUtils.h"
    5.10 -+#include <string.h>
    5.11 -+#include <stdlib.h>
    5.12 - #include <stdio.h>
    5.13 - 
    5.14 - char g_szConfigFile[2048] = { 0 };
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/syasokoban/stuff/patches/gcc44.u	Sun Mar 11 13:37:02 2018 +0200
     6.3 @@ -0,0 +1,11 @@
     6.4 +--- src/djSettings.cpp
     6.5 ++++ src/djSettings.cpp
     6.6 +@@ -6,6 +6,8 @@
     6.7 + //---------------------------------------------------------------------------
     6.8 + #include "djSettings.h"
     6.9 + #include "djUtils.h"
    6.10 ++#include <string.h>
    6.11 ++#include <stdlib.h>
    6.12 + #include <stdio.h>
    6.13 + 
    6.14 + char g_szConfigFile[2048] = { 0 };
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/syasokoban/stuff/patches/series	Sun Mar 11 13:37:02 2018 +0200
     7.3 @@ -0,0 +1,1 @@
     7.4 +-p0|gcc44.u
     8.1 --- a/sz81/receipt	Sat Mar 10 17:39:42 2018 +0200
     8.2 +++ b/sz81/receipt	Sun Mar 11 13:37:02 2018 +0200
     8.3 @@ -1,33 +1,31 @@
     8.4 -# SliTaz package receipt.
     8.5 +# SliTaz package receipt v2.
     8.6  
     8.7  PACKAGE="sz81"
     8.8  VERSION="2.1.7"
     8.9  CATEGORY="system-tools"
    8.10 -SHORT_DESC="zx81 emulator/virtual machine.."
    8.11 +SHORT_DESC="zx81 emulator/virtual machine"
    8.12  MAINTAINER="pascal.bellard@slitaz.org"
    8.13  LICENSE="GPL2"
    8.14  WEB_SITE="http://sz81.sourceforge.net/"
    8.15 +
    8.16  TARBALL="$PACKAGE-$VERSION-source.tar.gz"
    8.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    8.18 -TAGS="emulator zx81"
    8.19  
    8.20 -DEPENDS="libsdl"
    8.21  BUILD_DEPENDS="libsdl-dev"
    8.22  
    8.23 -# Rules to configure and make the package.
    8.24 -compile_rules()
    8.25 -{
    8.26 +compile_rules() {
    8.27  	make clean &&
    8.28  	make &&
    8.29 -	make PREFIX=$DESTDIR/usr BINDIR=$DESTDIR/usr/bin \
    8.30 +	make \
    8.31 +		PREFIX=$DESTDIR/usr \
    8.32 +		BINDIR=$DESTDIR/usr/bin \
    8.33  		DOCDIR=$DESTDIR/usr/share/doc \
    8.34 -		PACKAGE_DATA_DIR=$DESTDIR/usr/share/sz81 install
    8.35 +		PACKAGE_DATA_DIR=$DESTDIR/usr/share/sz81 \
    8.36 +		install
    8.37  }
    8.38  
    8.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.40 -genpkg_rules()
    8.41 -{
    8.42 -	mkdir -p $fs/usr
    8.43 -	cp -a $install/usr/bin $fs/usr
    8.44 -	cp -a $install/usr/share $fs/usr
    8.45 +genpkg_rules() {
    8.46 +	copy @std
    8.47 +	DEPENDS="libsdl"
    8.48 +	TAGS="emulator zx81"
    8.49  }
     9.1 --- a/tuxpaint/receipt	Sat Mar 10 17:39:42 2018 +0200
     9.2 +++ b/tuxpaint/receipt	Sun Mar 11 13:37:02 2018 +0200
     9.3 @@ -1,34 +1,27 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="tuxpaint"
     9.8  VERSION="0.9.22"
     9.9  CATEGORY="graphics"
    9.10 -SHORT_DESC="Kid painting programm."
    9.11 +SHORT_DESC="Kid painting program"
    9.12  MAINTAINER="pankso@slitaz.org"
    9.13  LICENSE="GPL2"
    9.14 +WEB_SITE="http://tuxpaint.org/"
    9.15 +
    9.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    9.17 -WEB_SITE="http://tuxpaint.org/"
    9.18 -WGET_URL="http://downloads.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
    9.19 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    9.20  
    9.21 -DEPENDS="libpng16 fribidi librsvg cairo libsdl-mixer libsdl-pango libsdl-image \
    9.22 -libsdl-ttf libpaper python"
    9.23  BUILD_DEPENDS="libpng16-dev fribidi-dev librsvg-dev cairo-dev libsdl-dev \
    9.24  libsdl-mixer-dev libsdl-pango-dev libsdl-image-dev libsdl-ttf-dev \
    9.25  libpaper-dev python-dev gettext gperf"
    9.26  
    9.27 -# Rules to configure and make the package.
    9.28 -compile_rules()
    9.29 -{
    9.30 -	make PREFIX=/usr
    9.31 +compile_rules() {
    9.32 +	make PREFIX=/usr &&
    9.33  	make PREFIX=/usr DESTDIR=$DESTDIR install
    9.34  }
    9.35  
    9.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    9.37 -genpkg_rules()
    9.38 -{
    9.39 -	mkdir -p $fs/usr/share
    9.40 -	cp -a $install/etc $fs
    9.41 -	cp -a $install/usr/bin $fs/usr
    9.42 -	cp -a $install/usr/lib $fs/usr
    9.43 -	cp -a $install/usr/share/tuxpaint $fs/usr/share
    9.44 +genpkg_rules() {
    9.45 +	copy @std
    9.46 +	DEPENDS="libpng16 fribidi librsvg cairo libsdl-mixer libsdl-pango \
    9.47 +	libsdl-image libsdl-ttf libpaper python"
    9.48  }
    10.1 --- a/workerfm/receipt	Sat Mar 10 17:39:42 2018 +0200
    10.2 +++ b/workerfm/receipt	Sun Mar 11 13:37:02 2018 +0200
    10.3 @@ -1,34 +1,28 @@
    10.4 -# SliTaz package receipt.
    10.5 +# SliTaz package receipt v2.
    10.6  
    10.7  PACKAGE="workerfm"
    10.8  VERSION="2.19.6"
    10.9  CATEGORY="system-tools"
   10.10 -SHORT_DESC="A light and easy to use file manager."
   10.11 +SHORT_DESC="A light and easy to use file manager"
   10.12  MAINTAINER="yuripourre@gmail.com"
   10.13 -SOURCE="worker"
   10.14  LICENSE="GPL2"
   10.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
   10.16  WEB_SITE="http://www.boomerangsworld.de/cms/worker/"
   10.17 +
   10.18 +TARBALL="worker-$VERSION.tar.bz2"
   10.19  WGET_URL="$WEB_SITE/downloads/$TARBALL"
   10.20 -DEPENDS="avfs dbus-glib freetype hal libmagic xorg-libX11 xorg-libXft xorg-libXinerama 
   10.21 -xorg-xmessage"
   10.22 -BUILD_DEPENDS="avfs-dev dbus-glib-dev freetype-dev hal-dev libmagic-dev xorg-libX11-dev \
   10.23 -xorg-libXft-dev xorg-libXinerama-dev"
   10.24  
   10.25 -# Rules to configure and make the package.
   10.26 -compile_rules()
   10.27 -{
   10.28 -	cd $src
   10.29 +BUILD_DEPENDS="avfs-dev dbus-glib-dev freetype-dev hal-dev libmagic-dev \
   10.30 +xorg-libX11-dev xorg-libXft-dev xorg-libXinerama-dev"
   10.31 +
   10.32 +compile_rules() {
   10.33  	./configure \
   10.34  		--disable-silent-rules \
   10.35  		$CONFIGURE_ARGS &&
   10.36  	make && make install
   10.37  }
   10.38  
   10.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
   10.40 -genpkg_rules()
   10.41 -{
   10.42 -	mkdir -p $fs/usr
   10.43 -	cp -a $install/usr/bin $fs/usr
   10.44 -	cp -a $install/usr/share $fs/usr
   10.45 +genpkg_rules() {
   10.46 +	copy @std
   10.47 +	DEPENDS="avfs dbus-glib freetype hal libmagic xorg-libX11 xorg-libXft \
   10.48 +	xorg-libXinerama xorg-xmessage"
   10.49  }
    11.1 --- a/xine-lib/receipt	Sat Mar 10 17:39:42 2018 +0200
    11.2 +++ b/xine-lib/receipt	Sun Mar 11 13:37:02 2018 +0200
    11.3 @@ -3,31 +3,28 @@
    11.4  PACKAGE="xine-lib"
    11.5  VERSION="1.2.8"
    11.6  CATEGORY="multimedia"
    11.7 -SHORT_DESC="Xine video library."
    11.8 +SHORT_DESC="Xine video library"
    11.9  MAINTAINER="pankso@slitaz.org"
   11.10  LICENSE="GPL2"
   11.11 +WEB_SITE="http://www.xine-project.org/"
   11.12 +
   11.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
   11.14 -WEB_SITE="http://www.xine-project.org/"
   11.15  WGET_URL="http://downloads.sourceforge.net/project/xine/$PACKAGE/$VERSION/$TARBALL"
   11.16 -SUGGESTED="xine-fonts"
   11.17  
   11.18  BUILD_DEPENDS="xorg-libXvMC-dev xorg-libXv-dev xorg-xextproto xorg-videoproto \
   11.19  alsa-lib-dev libogg-dev libvorbis-dev libtheora-dev freetype-dev perl \
   11.20  pkg-config util-linux-uuid-dev xorg-libxcb-dev libcaca-dev ffmpeg-dev file \
   11.21  libmodplug-dev xorg-libXinerama-dev speex-dev gettext-tools"
   11.22 -SPLIT="xine-lib xine-lib-dev xine-fonts"
   11.23 +SPLIT="xine-fonts xine-lib xine-lib-dev"
   11.24  
   11.25 -# Handle cross compilation
   11.26 -case "$ARCH" in
   11.27 -	arm*)
   11.28 -		export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib" 
   11.29 -		export LIBTOOL=${HOST_SYSTEM}-libtool 
   11.30 -		ARCH_ARGS="--disable-xinerama" ;;
   11.31 -esac
   11.32 +compile_rules() {
   11.33 +	case "$ARCH" in
   11.34 +		arm*)
   11.35 +			export LDFLAGS="$LDFLAGS -L/cross/$ARCH/sysroot/usr/lib"
   11.36 +			export LIBTOOL=${HOST_SYSTEM}-libtool 
   11.37 +			ARCH_ARGS="--disable-xinerama" ;;
   11.38 +	esac
   11.39  
   11.40 -# Rules to configure and make the package.
   11.41 -compile_rules()
   11.42 -{
   11.43  	sed -i 's/grep -x/grep/' configure
   11.44  	CPPFLAGS="$CPPFLAGS -DHAVE_NANO_SLEEP" \
   11.45  	./configure \
   11.46 @@ -51,36 +48,22 @@
   11.47  	make && make install
   11.48  }
   11.49  
   11.50 -# Rules to gen a SliTaz package suitable for Tazpkg.
   11.51 -genpkg_rules()
   11.52 -{
   11.53 +genpkg_rules() {
   11.54  	case "$PACKAGE" in
   11.55 -	xine-lib)
   11.56 -		SUGGESTED="faad2"
   11.57 -		DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib \
   11.58 +		xine-fonts)
   11.59 +			copy *.xinefont.gz
   11.60 +			CAT="x-window|extra fonts for Xine video player"
   11.61 +			DEPENDS="xine-ui"
   11.62 +			;;
   11.63 +		xine-lib)
   11.64 +			copy @std @rm
   11.65 +			DEPENDS="zlib xorg-libX11 xorg-libXv xorg-libXvMC alsa-lib \
   11.66  			libogg libvorbis libtheora xorg-libXvMC xorg-libXv \
   11.67  			xorg-libxcb ffmpeg libmodplug"
   11.68 -		mkdir -p $fs/usr/lib $fs/usr/share
   11.69 -		cp -a $install/usr/lib/*.so* $fs/usr/lib
   11.70 -		cp -a $install/usr/lib/xine $fs/usr/lib
   11.71 -		;;
   11.72 -	xine-fonts)
   11.73 -		CAT="x-window|Extra fonts for Xine video player."
   11.74 -		DEPENDS="xine-ui"
   11.75 -		mkdir -p  $fs/usr/share/xine-lib
   11.76 -		cp -a $install/usr/share/xine-lib/fonts \
   11.77 -			$fs/usr/share/xine-lib
   11.78 -		;;
   11.79 -	xine-lib-dev)
   11.80 -		CAT="development|Xine video library."
   11.81 -		DEPENDS="pkg-config"
   11.82 -		mkdir -p $fs/usr/lib $fs/usr/share
   11.83 -		cp -a $install/usr/bin $fs/usr
   11.84 -		chmod 755 $fs/usr/bin/*
   11.85 -		cp -a $install/usr/include $fs/usr
   11.86 -		cp -a $install/usr/lib/*.*a $fs/usr/lib
   11.87 -		cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   11.88 -		cp -a $install/usr/share/aclocal $fs/usr/share
   11.89 -		;;
   11.90 +			SUGGESTED="xine-fonts faad2"
   11.91 +			;;
   11.92 +		xine-lib-dev)
   11.93 +			copy @dev
   11.94 +			;;
   11.95  	esac
   11.96  }
    12.1 --- a/xine-plugin/receipt	Sat Mar 10 17:39:42 2018 +0200
    12.2 +++ b/xine-plugin/receipt	Sun Mar 11 13:37:02 2018 +0200
    12.3 @@ -1,39 +1,35 @@
    12.4 -# SliTaz package receipt.
    12.5 +# SliTaz package receipt v2.
    12.6  
    12.7  PACKAGE="xine-plugin"
    12.8  VERSION="1.0.2"
    12.9  CATEGORY="multimedia"
   12.10 -SHORT_DESC="Xine media player firefox plugin."
   12.11 +SHORT_DESC="Xine media player Firefox plugin"
   12.12  MAINTAINER="pankso@slitaz.org"
   12.13  LICENSE="GPL2"
   12.14 +WEB_SITE="http://www.xinehq.de/"
   12.15 +
   12.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   12.17 -WEB_SITE="http://www.xinehq.de/"
   12.18 -WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
   12.19 +WGET_URL="$SF_MIRROR/xine/$TARBALL"
   12.20  
   12.21 -DEPENDS="xine-lib firefox"
   12.22 -BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
   12.23 +BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev gfortran"
   12.24  
   12.25 -# Rules to configure and make the package.
   12.26 -compile_rules()
   12.27 -{
   12.28 -	cd $src
   12.29 +compile_rules() {
   12.30  	mkdir -p $DESTDIR/root/.mozilla/plugins
   12.31 -	./configure --prefix=/usr \
   12.32 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
   12.33 +	./configure $CONFIGURE_ARGS &&
   12.34  	make &&
   12.35 -	make DESTDIR=$DESTDIR install
   12.36 +	make DESTDIR=$DESTDIR install || return 1
   12.37 +
   12.38 +	mkdir -p $install/usr/share/xine
   12.39 +	mv $install/root/.mozilla/plugins/* $install/usr/share/xine/
   12.40 +	rm -r $install/root/.mozilla/plugins/
   12.41  }
   12.42  
   12.43 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.44 -genpkg_rules()
   12.45 -{
   12.46 -	mkdir -p $fs/usr/share/xine
   12.47 -	find $install -name xineplugin.so -exec cp -a {} $fs/usr/share/xine \;
   12.48 +genpkg_rules() {
   12.49 +	copy *.so
   12.50 +	DEPENDS="xine-lib firefox"
   12.51  }
   12.52  
   12.53 -# Pre and post install commands for Tazpkg.
   12.54 -post_install()
   12.55 -{
   12.56 +post_install() {
   12.57  	ln -s /usr/share/xine/xineplugin.so "$1"/usr/lib/firefox-*/plugins/
   12.58  	ln -s /usr/share/xine/xineplugin.so "$1/usr/lib/mozilla/plugins/"
   12.59  }
    13.1 --- a/xine-ui/receipt	Sat Mar 10 17:39:42 2018 +0200
    13.2 +++ b/xine-ui/receipt	Sun Mar 11 13:37:02 2018 +0200
    13.3 @@ -1,27 +1,23 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="xine-ui"
    13.8  VERSION="0.99.7"
    13.9  CATEGORY="multimedia"
   13.10 -SHORT_DESC="Xine media player user interface."
   13.11 +SHORT_DESC="Xine media player user interface"
   13.12  MAINTAINER="pankso@slitaz.org"
   13.13  LICENSE="GPL2"
   13.14 +WEB_SITE="http://www.xine-project.org/"
   13.15 +
   13.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
   13.17 -WEB_SITE="http://www.xine-project.org/"
   13.18 -WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
   13.19 +WGET_URL="$SF_MIRROR/xine/$TARBALL"
   13.20  
   13.21 -# Keep Xine small for Live system, we have MPlaye or VLC has big video player.
   13.22 -DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv xorg-libXi libpng16 \
   13.23 -xorg-libXft xorg-libXxf86vm xorg-libXScrnSaver"
   13.24 +# Keep Xine small for Live system, we have MPlayer or VLC has big video player.
   13.25  BUILD_DEPENDS="xine-lib-dev xorg-dev xorg-libXv-dev xorg-libXxf86vm-dev \
   13.26 -libpng16-dev jpeg-dev xorg-libXScrnSaver-dev"
   13.27 +libpng16-dev libjpeg-turbo-dev xorg-libXScrnSaver-dev"
   13.28  
   13.29 -# Use a custom .desktop file
   13.30 -GENERIC_MENUS="no"
   13.31 +COOKOPTS="!menus" # Use a custom .desktop file
   13.32  
   13.33 -# Rules to configure and make the package.
   13.34 -compile_rules()
   13.35 -{
   13.36 +compile_rules() {
   13.37  	./configure \
   13.38  		--without-curl \
   13.39  		--disable-lirc \
   13.40 @@ -29,13 +25,9 @@
   13.41  	make && make install
   13.42  }
   13.43  
   13.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
   13.45 -genpkg_rules()
   13.46 -{
   13.47 -	mkdir -p $fs/usr/share
   13.48 -	cp -a $install/usr/bin $fs/usr
   13.49 -	cp -a $install/usr/share/xine $fs/usr/share
   13.50 -
   13.51 -	# Remove the sample default.avi
   13.52 -	rm $fs/usr/share/xine/visuals/*.mpv
   13.53 +genpkg_rules() {
   13.54 +	copy @std
   13.55 +	rm $fs/usr/share/xine/visuals/*.mpv # remove the sample
   13.56 +	DEPENDS="xine-lib libvorbis xorg-libXtst xorg-libXv xorg-libXi libpng16 \
   13.57 +	xorg-libXft xorg-libXxf86vm xorg-libXScrnSaver"
   13.58  }
    14.1 --- a/xrick/receipt	Sat Mar 10 17:39:42 2018 +0200
    14.2 +++ b/xrick/receipt	Sun Mar 11 13:37:02 2018 +0200
    14.3 @@ -1,4 +1,4 @@
    14.4 -# SliTaz package receipt.
    14.5 +# SliTaz package receipt v2.
    14.6  
    14.7  PACKAGE="xrick"
    14.8  VERSION="021212"
    14.9 @@ -6,28 +6,21 @@
   14.10  SHORT_DESC="Rick Dangerous"
   14.11  MAINTAINER="erjo@slitaz.org"
   14.12  LICENSE="GPL"
   14.13 +WEB_SITE="http://www.bigorno.net/xrick/"
   14.14 +
   14.15  TARBALL="$PACKAGE-$VERSION.tgz"
   14.16 -WEB_SITE="http://www.bigorno.net/xrick/"
   14.17  WGET_URL="http://www.bigorno.net/xrick/$TARBALL"
   14.18  
   14.19 -DEPENDS="libsdl zlib"
   14.20  BUILD_DEPENDS="libsdl-dev zlib-dev"
   14.21  
   14.22 -# Rules to configure and make the package.
   14.23 -compile_rules()
   14.24 -{
   14.25 -	cd $src
   14.26 -	make
   14.27 +compile_rules() {
   14.28 +	make || return 1
   14.29 +	install -Dm755 $src/xrick    $install/usr/bin/xrick
   14.30 +	install -Dm644 $src/data.zip $install/usr/share/xrick/data.zip
   14.31 +	install -Dm644 $src/KeyCodes $install/usr/share/xrick/KeyCodes
   14.32  }
   14.33  
   14.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.35 -genpkg_rules()
   14.36 -{
   14.37 -	mkdir -p $fs/usr/bin \
   14.38 -		$fs/usr/share/xrick
   14.39 -	 
   14.40 -	cp -a $src/$PACKAGE $fs/usr/bin
   14.41 -	cp -a $src/data.zip $fs/usr/share/xrick
   14.42 -	cp -a $src/KeyCodes $fs/usr/share/xrick
   14.43 +genpkg_rules() {
   14.44 +	copy @std
   14.45 +	DEPENDS="libsdl zlib"
   14.46  }
   14.47 -
    15.1 --- a/xwax/receipt	Sat Mar 10 17:39:42 2018 +0200
    15.2 +++ b/xwax/receipt	Sun Mar 11 13:37:02 2018 +0200
    15.3 @@ -1,27 +1,28 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="xwax"
    15.8 -VERSION="1.5"
    15.9 +VERSION="1.7"
   15.10  CATEGORY="multimedia"
   15.11  SHORT_DESC="An open-source Digital Vinyl System (DVS) for Linux"
   15.12  MAINTAINER="Lucas Levrel <llev@slitaz.org>"
   15.13  LICENSE="GPL2"
   15.14 -WEB_SITE="http://xwax.org"
   15.15 +WEB_SITE="http://xwax.org/"
   15.16 +
   15.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
   15.18 -WGET_URL="$WEB_SITE/releases/$TARBALL"
   15.19 +WGET_URL="http://xwax.org/releases/$TARBALL"
   15.20  
   15.21 -DEPENDS="libsdl libsdl-ttf alsa-lib"
   15.22  BUILD_DEPENDS="libsdl-dev libsdl-ttf-dev alsa-lib-dev"
   15.23  
   15.24 -# Rules to configure and make the package.
   15.25 -compile_rules()
   15.26 -{
   15.27 -	./configure $CONFIGURE_ARGS --enable-alsa --prefix /usr && \
   15.28 -	LDFLAGS=-Os make && make install
   15.29 +compile_rules() {
   15.30 +	./configure \
   15.31 +		--enable-alsa \
   15.32 +		--prefix=/usr \
   15.33 +		$CONFIGURE_ARGS &&
   15.34 +	LDFLAGS=-Os make &&
   15.35 +	make install
   15.36  }
   15.37  
   15.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
   15.39 -genpkg_rules()
   15.40 -{
   15.41 -	cp -a $install/* $fs
   15.42 +genpkg_rules() {
   15.43 +	copy @std
   15.44 +	DEPENDS="libsdl libsdl-ttf alsa-lib"
   15.45  }