summaryrefslogtreecommitdiff
path: root/recipes/taglib.recipe
blob: f6572b526269c8f7cbe7db58c4b337b0eb25abd9 (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 = 'taglib'
    version = '1.7'
    # either LGPLv2.1 or MPLv1.1
    licenses = [License.LGPLv2_1]
    configure_options = '-DWITH_MP4=ON -DWITH_ASF=ON'
    btype = BuildType.CMAKE

    files_libs = ['libtag', 'libtag_c']
    files_devel = ['include/taglib', 'lib/pkgconfig/taglib.pc', 'lib/pkgconfig/taglib_c.pc']

    def prepare(self):
        if self.config.target_platform == Platform.WINDOWS:
            self.configure_options += ' -DWIN32=1'