# HG changeset patch # User Christophe Lincoln # Date 1351948867 -3600 # Node ID a95a29f222cc57bc7beae5242dbfe1239c7033fd # Parent f378aed899f6a510b7dce94cd20691c201bbb385 Add rtaudio (Common API for realtime audio input/output - C++ classes) diff -r f378aed899f6 -r a95a29f222cc rtaudio-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rtaudio-dev/receipt Sat Nov 03 14:21:07 2012 +0100 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="rtaudio-dev" +VERSION="4.0.11" +CATEGORY="development" +SHORT_DESC="Rtaudio C++ classes devel files." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" +WANTED="rtaudio" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/include/rtaudio + cp -a $src/rtaudio-config $fs/usr/bin + cp -a $src/*.h $fs/usr/include/rtaudio + cp -a $src/include/*.h $fs/usr/include/rtaudio + # GCC fix + sed -i "/inline/s/;$//" "$fs/usr/include/rtaudio/RtAudio.h" +} diff -r f378aed899f6 -r a95a29f222cc rtaudio/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rtaudio/receipt Sat Nov 03 14:21:07 2012 +0100 @@ -0,0 +1,40 @@ +# SliTaz package receipt. + +PACKAGE="rtaudio" +VERSION="4.0.11" +CATEGORY="multimedia" +SHORT_DESC="Common API for realtime audio input/output (C++ classes)." +MAINTAINER="pankso@slitaz.org" +TARBALL="${PACKAGE}-${VERSION}.tar.gz" +WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" +WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL" + +DEPENDS="alsa-lib jack-audio-connection-kit" +BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --with-alsa \ + --with-jack \ + $CONFIGURE_ARGS && + make + # Python bindings --> rtaudio-python ?? + #cd $src/contrib/python/pyrtaudio + #CFLAGS="$CFLAGS -I../../../include" \ + #python setup.py build + #python setup.py install --root="$DESTDIR" + echo "Continuing, any error will remine in pkg build..." +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $src/librtaudio.so* $fs/usr/lib + cd $fs/usr/lib + ln -s librtaudio.so.$VERSION librtaudio.so.4 +}