wok rev 23620

updated rtaudio and rtaudio-dev (4.0.11 -> 5.1.0)
author Hans-G?nter Theisgen
date Tue Apr 14 14:59:40 2020 +0100 (14 months ago)
parents 290e737cb4f9
children 1029b9269d40
files rtaudio-dev/receipt rtaudio/receipt
line diff
     1.1 --- a/rtaudio-dev/receipt	Tue Apr 14 14:13:02 2020 +0100
     1.2 +++ b/rtaudio-dev/receipt	Tue Apr 14 14:59:40 2020 +0100
     1.3 @@ -1,21 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rtaudio-dev"
     1.7 -VERSION="4.0.11"
     1.8 +VERSION="5.1.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Rtaudio C++ classes devel files."
    1.11 +SHORT_DESC="Rtaudio C++ classes - development files."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 -WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/"
    1.15 +WEB_SITE="https://www.music.mcgill.ca/~gary/rtaudio/"
    1.16 +
    1.17  WANTED="rtaudio"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/bin $fs/usr/include/rtaudio
    1.23 -	cp -a $src/rtaudio-config $fs/usr/bin
    1.24 -	cp -a $src/*.h $fs/usr/include/rtaudio
    1.25 -	cp -a $src/include/*.h $fs/usr/include/rtaudio
    1.26 +	mkdir -p $fs/usr/bin
    1.27 +	mkdir -p $fs/usr/include/rtaudio
    1.28 +
    1.29 +	cp -a $src/rtaudio-config	$fs/usr/bin
    1.30 +	cp -a $src/*.h			$fs/usr/include/rtaudio
    1.31 +	cp -a $src/include/*.h		$fs/usr/include/rtaudio
    1.32  	# GCC fix
    1.33  	sed -i "/inline/s/;$//" "$fs/usr/include/rtaudio/RtAudio.h"
    1.34  }
     2.1 --- a/rtaudio/receipt	Tue Apr 14 14:13:02 2020 +0100
     2.2 +++ b/rtaudio/receipt	Tue Apr 14 14:59:40 2020 +0100
     2.3 @@ -1,14 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="rtaudio"
     2.7 -VERSION="4.0.11"
     2.8 +VERSION="5.1.0"
     2.9  CATEGORY="multimedia"
    2.10 -SHORT_DESC="Common API for realtime audio input/output (C++ classes)."
    2.11 +SHORT_DESC="Common API for realtime audio input and output (C++ classes)."
    2.12  MAINTAINER="pankso@slitaz.org"
    2.13  LICENSE="MIT"
    2.14 +WEB_SITE="https://www.music.mcgill.ca/~gary/rtaudio/"
    2.15 +
    2.16  TARBALL="${PACKAGE}-${VERSION}.tar.gz"
    2.17 -WEB_SITE="http://www.music.mcgill.ca/~gary/rtaudio/"
    2.18 -WGET_URL="http://www.music.mcgill.ca/~gary/rtaudio/release/$TARBALL"
    2.19 +WGET_URL="${WEB_SITE}release/$TARBALL"
    2.20  
    2.21  DEPENDS="alsa-lib jack-audio-connection-kit"
    2.22  BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
    2.23 @@ -16,12 +17,13 @@
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 -	./configure \
    2.28 -		--prefix=/usr \
    2.29 -		--with-alsa \
    2.30 -		--with-jack \
    2.31 +	./configure		\
    2.32 +		--prefix=/usr	\
    2.33 +		--with-alsa	\
    2.34 +		--with-jack	\
    2.35  		$CONFIGURE_ARGS &&
    2.36  	make -j 1
    2.37 +
    2.38  	# Python bindings --> rtaudio-python ??
    2.39  	#cd $src/contrib/python/pyrtaudio
    2.40  	#CFLAGS="$CFLAGS -I../../../include" \
    2.41 @@ -34,7 +36,8 @@
    2.42  genpkg_rules()
    2.43  {
    2.44  	mkdir -p $fs/usr/lib
    2.45 -	cp -a $src/librtaudio.so* $fs/usr/lib
    2.46 -	cd $fs/usr/lib
    2.47 +
    2.48 +	cp -a $src/.libs/librtaudio.so*	$fs/usr/lib
    2.49 +	cd				$fs/usr/lib
    2.50  	ln -s librtaudio.so.$VERSION librtaudio.so.4
    2.51  }