summaryrefslogtreecommitdiff
path: root/recipes/speex.recipe
blob: 36ed9ef5a32cbfbd3d6240e2a8eefe45315eafc3 (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 = 'speex'
    version = '1.2rc2'
    stype = SourceType.TARBALL
    url = 'xiph://.tar.gz'
    tarball_checksum = 'caa27c7247ff15c8521c2ae0ea21987c9e9710a8f2d3448e8b79da9806bce891'
    licenses = [{License.BSD_like: ['COPYING']}]
    deps = ['libogg']
    allow_parallel_build = False

    files_libs = ['libspeex']
    files_bins = ['speexdec', 'speexenc']
    files_devel = ['include/speex', 'lib/pkgconfig/speex.pc']

    autoreconf = True

    def prepare(self):
        if self.config.target_platform == Platform.ANDROID:
            self.autoreconf = True