-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new recipe for aubio. init and patch
- Loading branch information
jk
committed
Aug 20, 2024
1 parent
3094c04
commit 3e982e5
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from pythonforandroid.recipe import CythonRecipe | ||
from os.path import join | ||
|
||
|
||
class AubioRecipe(CythonRecipe): | ||
version = "0.4.7" | ||
url = "https://aubio.org/pub/aubio-{version}.tar.bz2" | ||
depends = ["numpy"] # Make sure 'samplerate' is included as a dependency | ||
patches = [join("patches", "build_ext.patch")] | ||
|
||
|
||
recipe = AubioRecipe() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff -Naur a/python/lib/moresetuptools.py b/python/lib/moresetuptools.py | ||
|
||
--- a/python/lib/moresetuptools.py 2024-02-01 22:35:52.713443658 -0500 | ||
+++ b/python/lib/moresetuptools.py.bkup 2024-02-02 00:54:22.274822119 -0500 | ||
@@ -179,7 +179,7 @@ | ||
add_local_aubio_lib(extension) | ||
else: | ||
# check for external dependencies | ||
- add_external_deps(extension, usedouble=enable_double) | ||
+ #add_external_deps(extension, usedouble=enable_double) | ||
# force adding libav on windows | ||
if os.name == 'nt' and ('WITH_LIBAV' in os.environ \ | ||
or 'CONDA_PREFIX' in os.environ): |