wok view rtaudio/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (2 months ago)
parents 0ce20f30ad33
children
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://github.com/thestk/rtaudio/"
11 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
12 WGET_URL="https://github.com/thestk/rtaudio/archive/refs/tags/$VERSION.tar.gz"
14 DEPENDS="alsa-lib gcc83-lib-base jack-audio-connection-kit"
15 BUILD_DEPENDS="alsa-lib-dev gcc83 jack-audio-connection-kit-dev automake"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh
28 ./configure \
29 CC=gcc-83 \
30 CXX=g++-83 \
31 --prefix=/usr \
32 --with-alsa \
33 --with-jack \
34 $CONFIGURE_ARGS &&
35 make
37 # Python bindings --> rtaudio-python ??
38 #cd $src/contrib/python/pyrtaudio
39 #CFLAGS="$CFLAGS -I../../../include" \
40 #python setup.py build
41 #python setup.py install --root="$DESTDIR"
42 echo "Continuing, any error will remine in pkg build..."
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
50 cp -a $src/.libs/librtaudio.so* $fs/usr/lib
51 cd $fs/usr/lib
52 ln -s librtaudio.so.$VERSION librtaudio.so.4
53 }