diff options
author | davidovski <david@davidovski.xyz> | 2022-06-03 13:15:00 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-06-03 13:15:00 +0100 |
commit | 2e4eddedb755f0c0f88450b1fc1d8b0830132a71 (patch) | |
tree | edb0ddeb32913bfbfb0a99c3c43e75f3a2f13d8d /repo/aubio | |
parent | 66c326b6d65388e9f1003715ad9675505f01f9d2 (diff) |
added ardour
Diffstat (limited to 'repo/aubio')
-rw-r--r-- | repo/aubio/aubio.xibuild | 26 | ||||
-rw-r--r-- | repo/aubio/unversioned-python.patch | 24 |
2 files changed, 50 insertions, 0 deletions
diff --git a/repo/aubio/aubio.xibuild b/repo/aubio/aubio.xibuild new file mode 100644 index 0000000..37b298e --- /dev/null +++ b/repo/aubio/aubio.xibuild @@ -0,0 +1,26 @@ +#!/bin/sh + +NAME="aubio" +DESC="tool designed for the extraction of annotations from audio signals" + +MAKEDEPS="ffmpeg4 fftw jack libsamplerate libsndfile python" + +PKG_VER=0.4.9 +SOURCE="https://aubio.org/pub/aubio-$PKG_VER.tar.bz2" + +ADDITIONAL=" +unversioned-python.patch +" + +prepare () { + apply_patches +} + +build() { + python3 waf configure --prefix=/usr +} + +package() { + python3 waf install --destdir="$PKG_DEST" +} + diff --git a/repo/aubio/unversioned-python.patch b/repo/aubio/unversioned-python.patch new file mode 100644 index 0000000..b397926 --- /dev/null +++ b/repo/aubio/unversioned-python.patch @@ -0,0 +1,24 @@ +ff --git a/tests/create_tests_source.py b/tests/create_tests_source.py +index 1feb1443..2c5560f4 100755 +--- a/tests/create_tests_source.py ++++ b/tests/create_tests_source.py +@@ -1,4 +1,4 @@ +-#! /usr/bin/env python ++#!/usr/bin/python3 + + """ Create a simple stereo file containing a sine tone at 441 Hz, using only + python's built-in modules. """ +diff --git a/tests/wscript_build b/tests/wscript_build +index c99a051e..d3fd0633 100644 +--- a/tests/wscript_build ++++ b/tests/wscript_build +@@ -13,7 +13,7 @@ test_sound_abspath = bld.path.get_bld().make_node(test_sound_target) + test_sound_abspath = str(test_sound_abspath).replace('\\', '\\\\') + + b = bld(name='create_tests_source', +- rule='python ${SRC} ${TGT}', ++ rule='python3 ${SRC} ${TGT}', + source='create_tests_source.py', + target=test_sound_target) + # use post() to create the task, keep a reference to it + |