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


class Recipe(recipe.Recipe):
    name = 'opus'
    version = '1.2.1'
    licenses = [License.BSD_like]
    stype = SourceType.TARBALL
    url = 'https://downloads.xiph.org/releases/{0}/{0}-{1}.tar.gz'.format(name, version)

    files_libs = ['libopus']
    files_devel = ['include/opus', 'lib/pkgconfig/opus.pc']
    # Starting with v1.1, Opus has special ARM assembly optimizations when
    # built without floating point support. Since all our builds assume floating
    # point is available (NEON or VFP), we're not enabling that. However, the
    # option is there. Note that there is separate NEON/intrinsics support for
    # ARM and x86.
    # configure_options = '--disable-fixed-point --enable-asm'