File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ VERSION_midistream=${VERSION_midistream:- master}
4+ URL_midistream=https://github.com/b3b/midistream/archive/${VERSION_midistream} .zip
5+ DEPS_midistream=(python pyjnius audiostream)
6+ MD5_midistream=
7+ BUILD_midistream=$BUILD_PATH /midistream/$( get_directory $URL_midistream )
8+ RECIPE_midistream=$RECIPES_PATH /midistream
9+
10+ function prebuild_midistream() {
11+ cd $BUILD_PATH /midistream
12+ }
13+
14+ function shouldbuild_midistream() {
15+ if [ -d " $SITEPACKAGES_PATH /midistream" ]; then
16+ DO_BUILD=0
17+ fi
18+ }
19+
20+ function build_midistream() {
21+ cd $BUILD_midistream
22+
23+ push_arm
24+
25+ # create fake (empty) shared library libsonivox.so
26+ echo | $CC -shared -o " $BUILD_PATH /libsonivox.so" -fPIC -xc - || exit -1
27+
28+ export LDFLAGS=" $LDFLAGS -lsonivox -L$BUILD_PATH "
29+ try find . -iname ' *.pyx' -exec cython {} \;
30+ try $HOSTPYTHON setup.py build_ext -v
31+ try $HOSTPYTHON setup.py install
32+
33+ pop_arm
34+ }
35+
36+ function postbuild_midistream() {
37+ true
38+ }
You can’t perform that action at this time.
0 commit comments