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


class Recipe(recipe.Recipe):
    name = 'libdv'
    version = '1.0.0'
    licenses = [License.LGPLv2_1Plus]

    files_libs = ['libdv']
    files_bins = ['dvconnect', 'encodedv', 'dubdv']
    files_devel = ['include/libdv', 'lib/pkgconfig/libdv.pc']

    def prepare(self):
        if self.config.target_platform == Platform.WINDOWS:
            self.configure_options = ' --disable-xv --without-x'
        if self.config.target_platform == Platform.DARWIN:
            self.configure_options += ' --disable-asm'