wok-next rev 13102

Add soundtouch.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 26 18:33:47 2012 +0000 (2012-06-26)
parents 3341401b7597
children 3b81e35aa0a9
files soundtouch-dev/receipt soundtouch/receipt soundtouch/stuff/soundtouch-1.4.0-mmx-sse-compile-fix.patch
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/soundtouch-dev/receipt	Tue Jun 26 18:33:47 2012 +0000
     1.3 @@ -0,0 +1,22 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="soundtouch-dev"
     1.7 +VERSION="1.5.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="devel files for soundtouch"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WEB_SITE="http://www.surina.net/soundtouch/"
    1.12 +DEPENDS="soundtouch"
    1.13 +WANTED="soundtouch"
    1.14 +
    1.15 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 +genpkg_rules()
    1.17 +{
    1.18 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.19 +	cp -a $install/usr/include $fs/usr
    1.20 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $install/usr/share/aclocal $fs/usr/share
    1.23 +	# Upstream changed pkgconfig filename
    1.24 +	ln -sf soundtouch-1.4.pc $fs/usr/lib/pkgconfig/soundtouch-1.0.pc
    1.25 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/soundtouch/receipt	Tue Jun 26 18:33:47 2012 +0000
     2.3 @@ -0,0 +1,27 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="soundtouch"
     2.7 +VERSION="1.5.0"
     2.8 +CATEGORY="multimedia"
     2.9 +SHORT_DESC="An audio processing library"
    2.10 +MAINTAINER="slaxemulator@gmail.com"
    2.11 +WEB_SITE="http://www.surina.net/soundtouch/"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WGET_URL="$WEB_SITE/$TARBALL"
    2.14 +DEPENDS="gcc-lib-base"
    2.15 +
    2.16 +# Rules to configure and make the package.
    2.17 +compile_rules()
    2.18 +{
    2.19 +	cd $src
    2.20 +	patch -Np1 -i $stuff/$PACKAGE-1.4.0-mmx-sse-compile-fix.patch
    2.21 +	./configure --enable-shared $CONFIGURE_ARGS && make && make install
    2.22 +}
    2.23 +
    2.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.25 +genpkg_rules()
    2.26 +{
    2.27 +	mkdir -p $fs/usr/lib
    2.28 +	cp -a $install/usr/bin $fs/usr
    2.29 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.30 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/soundtouch/stuff/soundtouch-1.4.0-mmx-sse-compile-fix.patch	Tue Jun 26 18:33:47 2012 +0000
     3.3 @@ -0,0 +1,14 @@
     3.4 +diff -up soundtouch/source/SoundTouch/Makefile.in~ soundtouch/source/SoundTouch/Makefile.in
     3.5 +--- soundtouch/source/SoundTouch/Makefile.in~	2009-02-15 11:21:36.000000000 +0100
     3.6 ++++ soundtouch/source/SoundTouch/Makefile.in	2009-02-15 11:23:30.000000000 +0100
     3.7 +@@ -209,7 +209,9 @@ libSoundTouch_la_SOURCES = AAFilter.cpp 
     3.8 + # Note by authore: '-msse2' might not work in non-X86 compilations. If someone can
     3.9 + # fix this script to automatically check for CPU architecture, please submit a patch 
    3.10 + # to me.
    3.11 +-AM_CXXFLAGS = -O3 -msse2 -fcheck-new -I../../include
    3.12 ++AM_CXXFLAGS = -fcheck-new -I../../include
    3.13 ++mmx_optimized.lo : AM_CXXFLAGS = -mmmx -fcheck-new -I../../include
    3.14 ++sse_optimized.lo : AM_CXXFLAGS = -msse -fcheck-new -I../../include
    3.15 + all: all-am
    3.16 + 
    3.17 + .SUFFIXES: