wok rev 24365

created recipe for rubberband-2.0.2
author Hans-G?nter Theisgen
date Fri Feb 04 17:35:01 2022 +0100 (2022-02-04)
parents e6c797b10002
children ff296e901d11
files rubberband/description.txt rubberband/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rubberband/description.txt	Fri Feb 04 17:35:01 2022 +0100
     1.3 @@ -0,0 +1,10 @@
     1.4 +Rubber Band Library is a high quality software library for
     1.5 +audio time-stretching and pitch-shifting.
     1.6 +It permits you to change the tempo and pitch of an audio stream
     1.7 +or recording dynamically and independently of one another.
     1.8 +
     1.9 +Rubber Band Library is a C++ library intended for use by
    1.10 +developers creating their own application programs, but it does
    1.11 +also include a simple, free command-line utility program that
    1.12 +you can use for fixed adjustments to the speed and pitch of
    1.13 +existing audio files.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/rubberband/receipt	Fri Feb 04 17:35:01 2022 +0100
     2.3 @@ -0,0 +1,44 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="rubberband"
     2.7 +VERSION="2.0.2"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Library for audio time-stretching and pitch-shifting."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://www.breakfastquay.com/rubberband/"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.15 +WGET_URL="https://breakfastquay.com/files/releases/$TARBALL"
    2.16 +
    2.17 +DEPENDS="fftw gcc83-lib-base ladspa libsamplerate libsndfile lv2 vamp-sdk"
    2.18 +BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev
    2.19 +	libsndfile-dev lv2 meson vamp-sdk-dev"
    2.20 +
    2.21 +# Rules to configure and make the package.
    2.22 +compile_rules()
    2.23 +{
    2.24 +	export	CC=gcc-83
    2.25 +	export	CXX=g++-83
    2.26 +
    2.27 +	# mit meson und ninja
    2.28 +	LDFLAGS="$LDFLAGS -latomic"	\
    2.29 +	meson	_build			\
    2.30 +		--prefix=/usr		\
    2.31 +		--sysconfdir=/etc	\
    2.32 +		--mandir=/usr/share/man	\
    2.33 +		--localstatedir=/var	\
    2.34 +		--buildtype=plain &&
    2.35 +	ninja	-C _build &&
    2.36 +	ninja	-C _build install
    2.37 +}
    2.38 +
    2.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.40 +genpkg_rules()
    2.41 +{
    2.42 +	mkdir -p $fs/usr
    2.43 +
    2.44 +	cp -a $install/usr/bin		$fs/usr
    2.45 +	cp -a $install/usr/lib		$fs/usr
    2.46 +	cp -a $install/usr/share	$fs/usr
    2.47 +}