wok-current annotate rubberband/receipt @ rev 25292
updated rubberband (2.0.2 -> 3.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 10:19:50 2022 +0100 (2022-07-19) |
parents | 9af0e03b8ad0 |
children |
rev | line source |
---|---|
Hans-G?nter@24365 | 1 # SliTaz package receipt. |
Hans-G?nter@24365 | 2 |
Hans-G?nter@24365 | 3 PACKAGE="rubberband" |
Hans-G?nter@25292 | 4 VERSION="3.0.0" |
Hans-G?nter@24365 | 5 CATEGORY="development" |
Hans-G?nter@24365 | 6 SHORT_DESC="Library for audio time-stretching and pitch-shifting." |
Hans-G?nter@24365 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24365 | 8 LICENSE="GPL2" |
Hans-G?nter@24365 | 9 WEB_SITE="https://www.breakfastquay.com/rubberband/" |
Hans-G?nter@24365 | 10 |
Hans-G?nter@24365 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@24365 | 12 WGET_URL="https://breakfastquay.com/files/releases/$TARBALL" |
Hans-G?nter@24365 | 13 |
Hans-G?nter@25292 | 14 DEPENDS="fftw gcc83-lib-base ladspa libatomic libsamplerate libsndfile |
Hans-G?nter@25292 | 15 lv2 vamp-sdk" |
Hans-G?nter@24365 | 16 BUILD_DEPENDS="fftw-dev gcc83 ladspa-dev libatomic libsamplerate-dev |
Hans-G?nter@24365 | 17 libsndfile-dev lv2 meson vamp-sdk-dev" |
Hans-G?nter@24365 | 18 |
pascal@24373 | 19 # What is the latest version available today? |
pascal@24373 | 20 current_version() |
pascal@24373 | 21 { |
pascal@24373 | 22 wget -O - $WEB_SITE 2>/dev/null | sed '/Library v/!d;s|.*v||;s| .*||;q' |
pascal@24373 | 23 } |
pascal@24373 | 24 |
Hans-G?nter@24365 | 25 # Rules to configure and make the package. |
Hans-G?nter@24365 | 26 compile_rules() |
Hans-G?nter@24365 | 27 { |
Hans-G?nter@24365 | 28 export CC=gcc-83 |
Hans-G?nter@24365 | 29 export CXX=g++-83 |
Hans-G?nter@24365 | 30 |
Hans-G?nter@24365 | 31 LDFLAGS="$LDFLAGS -latomic" \ |
Hans-G?nter@24365 | 32 meson _build \ |
Hans-G?nter@24365 | 33 --prefix=/usr \ |
Hans-G?nter@24365 | 34 --sysconfdir=/etc \ |
Hans-G?nter@24365 | 35 --mandir=/usr/share/man \ |
Hans-G?nter@24365 | 36 --localstatedir=/var \ |
Hans-G?nter@24365 | 37 --buildtype=plain && |
Hans-G?nter@24365 | 38 ninja -C _build && |
Hans-G?nter@24365 | 39 ninja -C _build install |
Hans-G?nter@24365 | 40 } |
Hans-G?nter@24365 | 41 |
Hans-G?nter@24365 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24365 | 43 genpkg_rules() |
Hans-G?nter@24365 | 44 { |
Hans-G?nter@25292 | 45 cook_copy_folders bin |
Hans-G?nter@25292 | 46 cook_copy_folders lib |
Hans-G?nter@25292 | 47 cook_copy_folders share |
Hans-G?nter@24365 | 48 } |