wok-next view aubio/receipt @ rev 21327

try to build libquicktime again
author Hans-G?nter Theisgen
date Thu Dec 12 15:30:55 2019 +0100 (2019-12-12)
parents a18af897de8e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="aubio"
4 VERSION="0.4.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="A collection of tools for music analysis"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://aubio.org/"
11 TARBALL="aubio-$VERSION.tar.bz2"
12 WGET_URL="https://aubio.org/pub/$TARBALL"
14 BUILD_DEPENDS="python-dev fftw-dev libsndfile-dev libsamplerate-dev jack-dev \
15 ffmpeg-dev python-numpy python3-dev python3-numpy"
16 SPLIT="$PACKAGE-dev python-aubio:py python3-aubio:py3"
18 COOKOPTS="instant-pack"
20 compile_rules() {
21 case $SET in
22 '')
23 ./waf configure build \
24 --enable-fftw3f \
25 --prefix=/usr \
26 --libdir=/usr/lib \
27 &&
28 ./waf install \
29 --destdir=$install
30 ;;
31 py)
32 # python-aubio require freshly built aubio-dev
33 tazpkg -gi --quiet --local --cookmode aubio-dev
35 python -B setup.py install --root=$install
36 ;;
37 py3)
38 # python3-aubio require freshly built aubio-dev
39 tazpkg -gi --quiet --local --cookmode aubio-dev
41 python3 -B setup.py install --root=$install
42 ;;
43 esac
44 }
46 genpkg_rules() {
47 case $PACKAGE in
48 aubio)
49 copy @std
50 DEPENDS="ffmpeg fftw jack libsamplerate libsndfile"
51 TAGS="audio label multimedia"
52 ;;
53 *-dev)
54 copy @dev
55 DEPENDS="aubio"
56 ;;
57 python-aubio)
58 copy @std
59 CAT="python|Python bindings"
60 DEPENDS="aubio python"
61 ;;
62 python3-aubio)
63 copy @std
64 CAT="python|Python3 bindings"
65 DEPENDS="aubio python3"
66 ;;
67 esac
68 }