summaryrefslogtreecommitdiff
path: root/recipes/libvorbis.recipe
blob: a6cc7d2de173ae320123225efe7e93525d8090d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.utils import shell


class Recipe(recipe.Recipe):
    name = 'libvorbis'
    version = '1.3.5'
    stype = SourceType.TARBALL
    url = 'http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.xz'
    licenses = [License.BSD_like]
    deps = ['libogg']
    config_sh = 'rm ltmain.sh && sh autogen.sh'
    patches = ['libvorbis/0001-Fix-linking-on-Android.patch',
               'libvorbis/0003-Link-the-other-libs-with-lm-too.patch',
               'libvorbis/0004-configure-check-for-endianness.patch',
               'libvorbis/0005-darwin-do-not-build-for-a-generic-arm-architecture.patch',
               'libvorbis/0006-Use-our-version-of-automake-instead-of-some-random-o.patch',
               'libvorbis/0007-autogen.sh-Make-sure-libtoolize-runs-fully.patch'
              ]

    files_libs = ['libvorbis', 'libvorbisenc', 'libvorbisfile']
    files_devel = [
        'include/vorbis', 'lib/pkgconfig/vorbis.pc',
        'lib/pkgconfig/vorbisenc.pc', 'lib/pkgconfig/vorbisfile.pc']