Skip to content

Commit 7721052

Browse files
authored
Update __init__.py
cleaned up - removed unwanted comments
1 parent 916af9f commit 7721052

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

pythonforandroid/recipes/aubio/__init__.py

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,45 +5,9 @@
55

66
class AubioRecipe(CythonRecipe):
77
version = '0.4.7'
8-
#source_dir = '/home/jk/Downloads/aubio-0.4.7/'
98
url = 'https://aubio.org/pub/aubio-{version}.tar.bz2'
10-
#url = source_dir
119
depends = ['numpy'] # Make sure 'samplerate' is included as a dependency
1210
patches =[join('patches', 'build_ext.patch')]
13-
#install_in_hostpython = True
14-
#call_hostpython_via_targetpython = False
15-
16-
17-
# def get_recipe_env(self, arch=None, with_flags_in_cc=True):
18-
# env = super().get_recipe_env(arch, with_flags_in_cc=True)
19-
# # Add the WAFOPTS variable to disable specific features
20-
# env['WAFOPTS'] = '--disable-avcodec --disable-samplerate --disable-jack --disable-sndfile'
21-
# env['PKG_CONFIG_PATH'] = '/home/jk/Downloads/aubio-0.4.7/build/' + env.get('PKG_CONFIG_PATH', '')
22-
# env['LD_LIBRARY_PATH'] = '/home/jk/Downloads/aubio-0.4.7/build/src/'
23-
#
24-
## env['CFLAGS'] += ' -I/usr/lib/x86_64-linux-gnu/'
25-
# #env['CFLAGS'] += ' -DHAVE_SAMPLERATE=0'
26-
## env['CC'] += '/home/jk/Downloads/aubio-0.4.7/contrib/toolchain-android-19-arm/bin/arm-linux-androideabi-gcc-4.9'
27-
# return env
28-
##
29-
## def build_arch(self, arch):
30-
## super().build_arch(arch)
31-
## # You may need to perform additional build steps specific to aubio
32-
## # For example:
33-
## # self.run_python('-m pip install --no-deps --force-reinstall --target={} .'.format(self.get_build_dir(arch.arch)))
34-
##
35-
## def install(self):
36-
## super().install()
37-
## # You may need to perform additional installation steps specific to aubio
38-
## # For example:
39-
## # self.run_python('-m pip install --no-deps --force-reinstall --target={} .'.format(self.get_install_dir()))
40-
##
41-
## def get_recipe_depends(self, arch):
42-
## depends = super().get_recipe_depends(arch)
43-
## # You may need to include additional dependencies specific to aubio
44-
## # For example:
45-
## # depends['python3'] = self.ctx.python_recipe
46-
## return depends
4711

4812

4913
recipe = AubioRecipe()

0 commit comments

Comments
 (0)