wok view rtaudio/receipt @ rev 25687

updated sc-im (0.8.2 -> 0.8.3)
author Hans-G?nter Theisgen
date Thu Apr 11 14:51:51 2024 +0100 (7 months ago)
parents 453c249b6219
children 661d5b83f2a3
line source
1 # SliTaz package receipt.
3 PACKAGE="rtaudio"
4 VERSION="5.2.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Common API for realtime audio input and output (C++ classes)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.music.mcgill.ca/~gary/rtaudio/"
11 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
12 WGET_URL="${WEB_SITE}release/$TARBALL"
14 DEPENDS="alsa-lib gcc83-lib-base jack-audio-connection-kit"
15 BUILD_DEPENDS="alsa-lib-dev gcc83 jack-audio-connection-kit-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/snapshot/d;/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 --prefix=/usr \
31 --with-alsa \
32 --with-jack \
33 $CONFIGURE_ARGS &&
34 make
36 # Python bindings --> rtaudio-python ??
37 #cd $src/contrib/python/pyrtaudio
38 #CFLAGS="$CFLAGS -I../../../include" \
39 #python setup.py build
40 #python setup.py install --root="$DESTDIR"
41 echo "Continuing, any error will remine in pkg build..."
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
49 cp -a $src/.libs/librtaudio.so* $fs/usr/lib
50 cd $fs/usr/lib
51 ln -s librtaudio.so.$VERSION librtaudio.so.4
52 }