summaryrefslogtreecommitdiff
path: root/recipes/opus.recipe
blob: aeb1bd8b48c52c36ab294aa2e2147d2265627a04 (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.1'
    licenses = [License.BSD_like]
    stype = SourceType.TARBALL
    url = 'http://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'