# HG changeset patch # User Christopher Rogers # Date 1340735627 0 # Node ID d64255d3603e65f4ad5e72b00f266bf1720aa05d # Parent 3341401b7597bcc1d5ee2a11e6e84c36f4fb57a9 Add soundtouch. diff -r 3341401b7597 -r d64255d3603e soundtouch-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/soundtouch-dev/receipt Tue Jun 26 18:33:47 2012 +0000 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="soundtouch-dev" +VERSION="1.5.0" +CATEGORY="development" +SHORT_DESC="devel files for soundtouch" +MAINTAINER="slaxemulator@gmail.com" +WEB_SITE="http://www.surina.net/soundtouch/" +DEPENDS="soundtouch" +WANTED="soundtouch" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/share/aclocal $fs/usr/share + # Upstream changed pkgconfig filename + ln -sf soundtouch-1.4.pc $fs/usr/lib/pkgconfig/soundtouch-1.0.pc +} diff -r 3341401b7597 -r d64255d3603e soundtouch/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/soundtouch/receipt Tue Jun 26 18:33:47 2012 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="soundtouch" +VERSION="1.5.0" +CATEGORY="multimedia" +SHORT_DESC="An audio processing library" +MAINTAINER="slaxemulator@gmail.com" +WEB_SITE="http://www.surina.net/soundtouch/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/$TARBALL" +DEPENDS="gcc-lib-base" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + patch -Np1 -i $stuff/$PACKAGE-1.4.0-mmx-sse-compile-fix.patch + ./configure --enable-shared $CONFIGURE_ARGS && make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib +} diff -r 3341401b7597 -r d64255d3603e soundtouch/stuff/soundtouch-1.4.0-mmx-sse-compile-fix.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/soundtouch/stuff/soundtouch-1.4.0-mmx-sse-compile-fix.patch Tue Jun 26 18:33:47 2012 +0000 @@ -0,0 +1,14 @@ +diff -up soundtouch/source/SoundTouch/Makefile.in~ soundtouch/source/SoundTouch/Makefile.in +--- soundtouch/source/SoundTouch/Makefile.in~ 2009-02-15 11:21:36.000000000 +0100 ++++ soundtouch/source/SoundTouch/Makefile.in 2009-02-15 11:23:30.000000000 +0100 +@@ -209,7 +209,9 @@ libSoundTouch_la_SOURCES = AAFilter.cpp + # Note by authore: '-msse2' might not work in non-X86 compilations. If someone can + # fix this script to automatically check for CPU architecture, please submit a patch + # to me. +-AM_CXXFLAGS = -O3 -msse2 -fcheck-new -I../../include ++AM_CXXFLAGS = -fcheck-new -I../../include ++mmx_optimized.lo : AM_CXXFLAGS = -mmmx -fcheck-new -I../../include ++sse_optimized.lo : AM_CXXFLAGS = -msse -fcheck-new -I../../include + all: all-am + + .SUFFIXES: