wok-6.x annotate rtaudio/receipt @ rev 24307
slitaz-boot-scripts: update
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Mon Jan 17 12:42:24 2022 -0500 (2022-01-17) |
parents | 1e43d63c4aa7 |
children | 453c249b6219 |
rev | line source |
---|---|
pankso@13565 | 1 # SliTaz package receipt. |
pankso@13565 | 2 |
pankso@13565 | 3 PACKAGE="rtaudio" |
Hans-G?nter@23620 | 4 VERSION="5.1.0" |
pankso@13565 | 5 CATEGORY="multimedia" |
Hans-G?nter@23620 | 6 SHORT_DESC="Common API for realtime audio input and output (C++ classes)." |
pankso@13565 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15593 | 8 LICENSE="MIT" |
Hans-G?nter@23620 | 9 WEB_SITE="https://www.music.mcgill.ca/~gary/rtaudio/" |
Hans-G?nter@23620 | 10 |
pankso@13565 | 11 TARBALL="${PACKAGE}-${VERSION}.tar.gz" |
Hans-G?nter@23620 | 12 WGET_URL="${WEB_SITE}release/$TARBALL" |
pankso@13565 | 13 |
pankso@13565 | 14 DEPENDS="alsa-lib jack-audio-connection-kit" |
pankso@13565 | 15 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev" |
pankso@13565 | 16 |
pankso@13565 | 17 # Rules to configure and make the package. |
pankso@13565 | 18 compile_rules() |
pankso@13565 | 19 { |
Hans-G?nter@23620 | 20 ./configure \ |
Hans-G?nter@23620 | 21 --prefix=/usr \ |
Hans-G?nter@23620 | 22 --with-alsa \ |
Hans-G?nter@23620 | 23 --with-jack \ |
pankso@13565 | 24 $CONFIGURE_ARGS && |
pascal@18424 | 25 make -j 1 |
Hans-G?nter@23620 | 26 |
pankso@13565 | 27 # Python bindings --> rtaudio-python ?? |
pankso@13565 | 28 #cd $src/contrib/python/pyrtaudio |
pankso@13565 | 29 #CFLAGS="$CFLAGS -I../../../include" \ |
pankso@13565 | 30 #python setup.py build |
pankso@13565 | 31 #python setup.py install --root="$DESTDIR" |
pankso@13565 | 32 echo "Continuing, any error will remine in pkg build..." |
pankso@13565 | 33 } |
pankso@13565 | 34 |
pankso@13565 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@13565 | 36 genpkg_rules() |
pankso@13565 | 37 { |
pankso@13565 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@23620 | 39 |
Hans-G?nter@23620 | 40 cp -a $src/.libs/librtaudio.so* $fs/usr/lib |
Hans-G?nter@23620 | 41 cd $fs/usr/lib |
pankso@13565 | 42 ln -s librtaudio.so.$VERSION librtaudio.so.4 |
pankso@13565 | 43 } |