summaryrefslogtreecommitdiff
path: root/recipes/speex.recipe
blob: f01d347a8454d61bee3d89add1ed9d986e5876dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'speex'
    version = '1.2.1'
    stype = SourceType.TARBALL
    url = 'xiph://.tar.gz'
    tarball_checksum = '4b44d4f2b38a370a2d98a78329fefc56a0cf93d1c1be70029217baae6628feea'
    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']

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