blob: 69f50f69bd6b15601ac9a313eb97414c3d73ca0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'libdca'
version = '0.0.5'
stype = SourceType.TARBALL
url = 'http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2'
licenses = [License.GPL]
patches = ['libdca/0001-Disable-AC_C_ALWAYS_INLINE.patch']
autoreconf = True
files_libs = ['libdca']
files_bins = ['extract_dca', 'extract_dcs', 'dcadec', 'dcsdec']
files_devel = ['include/dca.h', 'include/dts.h',
'lib/pkgconfig/libdca.pc', 'lib/pkgconfig/libdts.pc']
def prepare(self):
if self.config.target_platform == Platform.ANDROID:
self.configure_options += ' --disable-oss'
|