blob: 6b71afa36a969262489d531cfed8754699e4637d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.utils import shell
class Recipe(recipe.Recipe):
name = 'soundtouch'
version = '1.7.0'
licenses = [License.LGPLv2_1Plus]
autoreconf_sh = './bootstrap'
autoreconf = True
platform_deps = {
Platform.ANDROID: ['gnustl'],
Platform.WINDOWS: ['libstdc++'],
}
files_libs = ['libSoundTouch']
files_devel = ['include/soundtouch', 'lib/pkgconfig/soundtouch.pc']
def prepare (self):
self.configure_options += ' --enable-static '
if self.config.target_platform == Platform.ANDROID:
self.configure_options += ' --with-gnustl '
elif self.config.target_platform == Platform.IOS:
self.autoreconf = True
|