wok-next rev 13565
Add rtaudio (Common API for realtime audio input/output - C++ classes)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Nov 03 14:21:07 2012 +0100 (2012-11-03) |
parents | f378aed899f6 |
children | f4af356b3cd4 |
files | rtaudio-dev/receipt rtaudio/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/rtaudio-dev/receipt Sat Nov 03 14:21:07 2012 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="rtaudio-dev" 1.7 +VERSION="4.0.11" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Rtaudio C++ classes devel files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" 1.12 +WANTED="rtaudio" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/bin $fs/usr/include/rtaudio 1.18 + cp -a $src/rtaudio-config $fs/usr/bin 1.19 + cp -a $src/*.h $fs/usr/include/rtaudio 1.20 + cp -a $src/include/*.h $fs/usr/include/rtaudio 1.21 + # GCC fix 1.22 + sed -i "/inline/s/;$//" "$fs/usr/include/rtaudio/RtAudio.h" 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/rtaudio/receipt Sat Nov 03 14:21:07 2012 +0100 2.3 @@ -0,0 +1,40 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="rtaudio" 2.7 +VERSION="4.0.11" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="Common API for realtime audio input/output (C++ classes)." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +TARBALL="${PACKAGE}-${VERSION}.tar.gz" 2.12 +WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/" 2.13 +WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL" 2.14 + 2.15 +DEPENDS="alsa-lib jack-audio-connection-kit" 2.16 +BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + ./configure \ 2.23 + --prefix=/usr \ 2.24 + --with-alsa \ 2.25 + --with-jack \ 2.26 + $CONFIGURE_ARGS && 2.27 + make 2.28 + # Python bindings --> rtaudio-python ?? 2.29 + #cd $src/contrib/python/pyrtaudio 2.30 + #CFLAGS="$CFLAGS -I../../../include" \ 2.31 + #python setup.py build 2.32 + #python setup.py install --root="$DESTDIR" 2.33 + echo "Continuing, any error will remine in pkg build..." 2.34 +} 2.35 + 2.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.37 +genpkg_rules() 2.38 +{ 2.39 + mkdir -p $fs/usr/lib 2.40 + cp -a $src/librtaudio.so* $fs/usr/lib 2.41 + cd $fs/usr/lib 2.42 + ln -s librtaudio.so.$VERSION librtaudio.so.4 2.43 +}