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

class Recipe(recipe.Recipe):
    name = 'a52dec'
    version = '0.7.4'
    licenses = [License.GPLv2Plus]
    configure_options = '--with-pic --enable-shared'

    files_libs = ['liba52']
    files_bins = ['a52dec']
    files_devel = ['include/a52dec']

    def prepare(self):
        if self.config.target_platform == Platform.WINDOWS:
            self.autoreconf = True
        if self.config.target_platform == Platform.ANDROID:
            self.configure_options += ' --disable-oss'
        if self.config.target_platform == Platform.IOS:
            self.autoreconf = True