blob: 6ad3d7decb1948db76d3a9c9fe40628ef6cbecdd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'flac'
version = '1.2.1'
license = 'BSD' # only libraries, tools are GPL
platform_deps = { Platform.WINDOWS: ['libiconv'] }
files_libs = ['libFLAC', 'libFLAC++']
files_bins = ['flac', 'metaflac']
files_devel = [
'lib/pkgconfig/flac.pc',
'lib/pkgconfig/flac++.pc',
'include/FLAC',
'include/FLAC++',
]
def prepare(self):
if self.config.target_platform == Platform.DARWIN:
if self.config.target_arch == Architecture.X86:
self.configure_options += ' --disable-asm-optimizations'
|