wok-next rev 20235

Up fluidsynth, libsdl2-mixer, libsdl2-net, libsdl2-ttf, add libsmpeg2
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 06 11:12:40 2017 +0200 (2017-11-06)
parents 02bc382afeaf
children dc5d2db24887
files fluidsynth-dev/receipt fluidsynth/receipt libsdl2-mixer/receipt libsdl2-net-dev/receipt libsdl2-net/receipt libsdl2-ttf-dev/receipt libsdl2-ttf/receipt libsmpeg2/receipt
line diff
     1.1 --- a/fluidsynth-dev/receipt	Mon Nov 06 10:03:11 2017 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,21 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="fluidsynth-dev"
     1.7 -VERSION="1.1.3"
     1.8 -CATEGORY="development"
     1.9 -MAINTAINER="jozee@slitaz.org"
    1.10 -LICENSE="LGPL2"
    1.11 -SHORT_DESC="fluidsynth devel files"
    1.12 -WEB_SITE="http://www.fluidsynth.org/"
    1.13 -WANTED="fluidsynth"
    1.14 -
    1.15 -DEPENDS="fluidsynth pkg-config"
    1.16 -
    1.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 -genpkg_rules()
    1.19 -{
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 -	cp -a $install/usr/include $fs/usr
    1.24 -}
     2.1 --- a/fluidsynth/receipt	Mon Nov 06 10:03:11 2017 +0100
     2.2 +++ b/fluidsynth/receipt	Mon Nov 06 11:12:40 2017 +0200
     2.3 @@ -1,32 +1,41 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="fluidsynth"
     2.8 -VERSION="1.1.3"
     2.9 +VERSION="1.1.8"
    2.10  CATEGORY="multimedia"
    2.11 +SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications"
    2.12  MAINTAINER="jozee@slitaz.org"
    2.13  LICENSE="LGPL2"
    2.14 -SHORT_DESC="A real-time software synthesizer based on the SoundFont 2 specifications."
    2.15  WEB_SITE="http://www.fluidsynth.org/"
    2.16 -DEPENDS="glib jack ladspa"
    2.17 -BUILD_DEPENDS="glib-dev jack-dev ladspa-dev pkg-config"
    2.18 +
    2.19  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.20 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.21 -TAGS="synthesizer audio multimedia"
    2.22 +WGET_URL="https://github.com/FluidSynth/fluidsynth/archive/v$VERSION.tar.gz"
    2.23  
    2.24 -# Rules to configure and make the package.
    2.25 +BUILD_DEPENDS="cmake ladspa-dev glib-dev libsndfile-dev pulseaudio-dev \
    2.26 +alsa-lib-dev jack-dev dbus-dev readline-dev"
    2.27 +SPLIT="fluidsynth-dev"
    2.28  
    2.29  compile_rules() {
    2.30 -  cd $src
    2.31 -  ./configure --prefix=/usr --enable-ladspa $CONFIGURE_ARGS &&
    2.32 -  make &&
    2.33 -  make DESTDIR=$DESTDIR install
    2.34 +	mkdir build
    2.35 +	cd    build
    2.36 +	cmake \
    2.37 +		-DCMAKE_INSTALL_PREFIX=/usr \
    2.38 +		-Denable-ladspa=1 \
    2.39 +		.. &&
    2.40 +	make &&
    2.41 +	make install
    2.42  }
    2.43 -	
    2.44 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.45 -genpkg_rules()
    2.46 -{
    2.47 -	mkdir -p $fs/usr/lib 
    2.48 -	cp -a $install/usr/bin $fs/usr
    2.49 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
    2.50 -	
    2.51 +
    2.52 +genpkg_rules() {
    2.53 +	case $PACKAGE in
    2.54 +		fluidsynth)
    2.55 +			copy @std
    2.56 +			DEPENDS="alsa-lib pulseaudio dbus glib jack libsndfile ncurses \
    2.57 +			readline   ladspa"
    2.58 +			TAGS="synthesizer audio multimedia"
    2.59 +			;;
    2.60 +		*-dev)
    2.61 +			copy @dev
    2.62 +			;;
    2.63 +	esac
    2.64  }
     3.1 --- a/libsdl2-mixer/receipt	Mon Nov 06 10:03:11 2017 +0100
     3.2 +++ b/libsdl2-mixer/receipt	Mon Nov 06 11:12:40 2017 +0200
     3.3 @@ -12,23 +12,20 @@
     3.4  TARBALL="SDL2_mixer-$VERSION.tar.gz"
     3.5  WGET_URL="http://www.libsdl.org/projects/SDL_mixer/release/$TARBALL"
     3.6  
     3.7 -BUILD_DEPENDS="libsdl2-dev libmodplug-dev libvorbis-dev flac-dev \
     3.8 -libmad-dev" # fluidsynth-dev old
     3.9 +BUILD_DEPENDS="libsdl2-dev libmodplug-dev fluidsynth-dev libvorbis-dev \
    3.10 +flac-dev libsmpeg2-dev"
    3.11  SPLIT="libsdl2-mixer-dev"
    3.12  
    3.13  compile_rules() {
    3.14 -	./configure \
    3.15 -		--enable-music-mp3-mad-gpl \
    3.16 -		$CONFIGURE_ARGS &&
    3.17 -	make && make install
    3.18 +	./configure $CONFIGURE_ARGS && make && make install
    3.19  }
    3.20  
    3.21  genpkg_rules() {
    3.22  	case $PACKAGE in
    3.23  		libsdl2-mixer)
    3.24  			copy @std
    3.25 -			DEPENDS="libsdl2 libmad tslib"
    3.26 -			SUGGESTED="libmodplug libvorbis libogg flac"
    3.27 +			DEPENDS="libsdl2 tslib"
    3.28 +			SUGGESTED="libmodplug fluidsynth libvorbis libogg flac libsmpeg2"
    3.29  			;;
    3.30  		*-dev)
    3.31  			copy @dev
     4.1 --- a/libsdl2-net-dev/receipt	Mon Nov 06 10:03:11 2017 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,22 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="libsdl2-net-dev"
     4.7 -VERSION="2.0.0"
     4.8 -CATEGORY="development"
     4.9 -SHORT_DESC="SDL2 net lib devel files."
    4.10 -MAINTAINER="tcg.thegamer@gmail.com"
    4.11 -LICENSE="LGPL2.1"
    4.12 -WANTED="libsdl2-net"
    4.13 -SOURCE="SDL_net"
    4.14 -WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
    4.15 -HOST_ARCH="i486 arm"
    4.16 -
    4.17 -DEPENDS="libsdl2-net"
    4.18 -
    4.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.20 -genpkg_rules()
    4.21 -{
    4.22 -	mkdir -p $fs/usr/lib
    4.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    4.24 -	cp -a $install/usr/include $fs/usr
    4.25 -}
     5.1 --- a/libsdl2-net/receipt	Mon Nov 06 10:03:11 2017 +0100
     5.2 +++ b/libsdl2-net/receipt	Mon Nov 06 11:12:40 2017 +0200
     5.3 @@ -1,29 +1,33 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="libsdl2-net"
     5.8 -SOURCE="SDL2_net"
     5.9 -VERSION="2.0.0"
    5.10 -CATEGORY="x-window"
    5.11 -SHORT_DESC="SDL2 net support."
    5.12 +VERSION="2.0.1"
    5.13 +CATEGORY="network"
    5.14 +SHORT_DESC="SDL2 net support"
    5.15  MAINTAINER="tcg.thegamer@gmail.com"
    5.16  LICENSE="LGPL2.1"
    5.17 -TARBALL="$SOURCE-$VERSION.tar.gz"
    5.18  WEB_SITE="http://www.libsdl.org/projects/SDL_net/"
    5.19 -WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
    5.20  HOST_ARCH="i486 arm"
    5.21  
    5.22 -DEPENDS="libsdl2"
    5.23 +TARBALL="SDL2_net-$VERSION.tar.gz"
    5.24 +WGET_URL="http://www.libsdl.org/projects/SDL_net/release/$TARBALL"
    5.25 +
    5.26  BUILD_DEPENDS="libsdl2-dev"
    5.27 +SPLIT="libsdl2-net-dev"
    5.28  
    5.29 -# Rules to configure and make the package.
    5.30 -compile_rules()
    5.31 -{
    5.32 +compile_rules() {
    5.33  	./configure $CONFIGURE_ARGS && make && make install
    5.34  }
    5.35  
    5.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.37 -genpkg_rules()
    5.38 -{
    5.39 -	mkdir -p $fs/usr/lib
    5.40 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.41 +genpkg_rules() {
    5.42 +	case $PACKAGE in
    5.43 +		libsdl2-net)
    5.44 +			copy @std
    5.45 +			DEPENDS="libsdl2 tslib"
    5.46 +			;;
    5.47 +		*-dev)
    5.48 +			copy @dev
    5.49 +			DEPENDS="libsdl2-net libsdl2-dev tslib-dev"
    5.50 +			;;
    5.51 +	esac
    5.52  }
     6.1 --- a/libsdl2-ttf-dev/receipt	Mon Nov 06 10:03:11 2017 +0100
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,22 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="libsdl2-ttf-dev"
     6.7 -VERSION="2.0.12"
     6.8 -CATEGORY="development"
     6.9 -SHORT_DESC="SDL2 ttf lib devel files."
    6.10 -MAINTAINER="tcg.thegamer@gmail.com"
    6.11 -LICENSE="LGPL2.1"
    6.12 -WANTED="libsdl2-ttf"
    6.13 -SOURCE="SDL2_ttf"
    6.14 -WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
    6.15 -HOST_ARCH="i486 arm"
    6.16 -
    6.17 -DEPENDS="libsdl2-ttf"
    6.18 -
    6.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.20 -genpkg_rules()
    6.21 -{
    6.22 -	mkdir -p $fs/usr/lib
    6.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    6.24 -	cp -a $install/usr/include $fs/usr
    6.25 -}
     7.1 --- a/libsdl2-ttf/receipt	Mon Nov 06 10:03:11 2017 +0100
     7.2 +++ b/libsdl2-ttf/receipt	Mon Nov 06 11:12:40 2017 +0200
     7.3 @@ -1,30 +1,37 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="libsdl2-ttf"
     7.8 -SOURCE="SDL2_ttf"
     7.9 -VERSION="2.0.12"
    7.10 +VERSION="2.0.14"
    7.11  CATEGORY="x-window"
    7.12 -SHORT_DESC="SDL2 ttf support."
    7.13 +SHORT_DESC="SDL2 ttf support"
    7.14  MAINTAINER="tcg.thegamer@gmail.com"
    7.15  LICENSE="LGPL2.1"
    7.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    7.17  WEB_SITE="http://www.libsdl.org/projects/SDL_ttf/"
    7.18 -WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
    7.19  HOST_ARCH="i486 arm"
    7.20  
    7.21 -DEPENDS="libsdl2 freetype zlib"
    7.22 -BUILD_DEPENDS="libsdl2-dev freetype-dev mesa"
    7.23 +TARBALL="SDL2_ttf-$VERSION.tar.gz"
    7.24 +WGET_URL="http://www.libsdl.org/projects/SDL_ttf/release/$TARBALL"
    7.25  
    7.26 -# Rules to configure and make the package.
    7.27 -compile_rules()
    7.28 -{
    7.29 -	./configure $CONFIGURE_ARGS &&
    7.30 -	make && make install
    7.31 +BUILD_DEPENDS="freetype-dev libsdl2-dev xorg-libX11-dev xorg-libICE-dev \
    7.32 +mesa17-dev"
    7.33 +SPLIT="libsdl2-ttf-dev"
    7.34 +
    7.35 +compile_rules() {
    7.36 +	./configure $CONFIGURE_ARGS && make && make install
    7.37  }
    7.38  
    7.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.40 -genpkg_rules()
    7.41 -{
    7.42 -	mkdir -p $fs/usr/lib
    7.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.44 +genpkg_rules() {
    7.45 +	case $PACKAGE in
    7.46 +		libsdl2-ttf)
    7.47 +			copy @std
    7.48 +			DEPENDS="bzlib freetype glib libharfbuzz libpng16 libsdl2 pcre \
    7.49 +			tslib zlib"
    7.50 +			SUGGESTED="mesa17"
    7.51 +			;;
    7.52 +		*-dev)
    7.53 +			copy @dev
    7.54 +			DEPENDS="libsdl2-ttf bzip2-dev freetype-dev glib-dev harfbuzz-dev \
    7.55 +			libpng16-dev libsdl2-dev pcre-dev tslib-dev zlib-dev"
    7.56 +			;;
    7.57 +	esac
    7.58  }
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/libsmpeg2/receipt	Mon Nov 06 11:12:40 2017 +0200
     8.3 @@ -0,0 +1,45 @@
     8.4 +# SliTaz package receipt v2.
     8.5 +
     8.6 +PACKAGE="libsmpeg2"
     8.7 +VERSION="2.0.0"
     8.8 +CATEGORY="multimedia"
     8.9 +SHORT_DESC="SDL2 MPEG Player Library"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="LGPL2"
    8.12 +WEB_SITE="http://icculus.org/smpeg/"
    8.13 +
    8.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    8.15 +WGET_URL="subversion|svn://svn.icculus.org/smpeg/tags/release_${VERSION//./_}"
    8.16 +
    8.17 +BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
    8.18 +BUILD_DEPENDS="subversion automake libsdl2-dev"
    8.19 +SPLIT="libsmpeg2-player libsmpeg2 libsmpeg2-dev"
    8.20 +
    8.21 +compile_rules() {
    8.22 +	CFLAGS="$CFLAGS -Wno-error=narrowing"
    8.23 +	./autogen.sh &&
    8.24 +	./configure \
    8.25 +		--disable-static \
    8.26 +		--disable-debug \
    8.27 +		$CONFIGURE_ARGS &&
    8.28 +	make &&
    8.29 +	make install
    8.30 +}
    8.31 +
    8.32 +genpkg_rules() {
    8.33 +	case $PACKAGE in
    8.34 +		*-player)
    8.35 +			copy plaympeg
    8.36 +			CAT="multimedia|player"
    8.37 +			DEPENDS="libsmpeg2"
    8.38 +			;;
    8.39 +		libsmpeg2)
    8.40 +			copy @std @rm
    8.41 +			DEPENDS="libsdl2 tslib"
    8.42 +			;;
    8.43 +		*-dev)
    8.44 +			copy @dev
    8.45 +			DEPENDS="libsmpeg2 tslib-dev"
    8.46 +			;;
    8.47 +	esac
    8.48 +}