diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-10-03 13:32:23 +0200 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2012-10-03 13:32:23 +0200 |
commit | 809436263450056d1704ee3b022d0bde1bda2a98 (patch) | |
tree | 7fcb115ffdccee84faa020380739b2ac71444fd8 /recipes/taglib.recipe | |
parent | 83c5cd7135165456b933063bfd5a059225a25832 (diff) |
taglib: enable static libraries and create libtool file
Diffstat (limited to 'recipes/taglib.recipe')
-rw-r--r-- | recipes/taglib.recipe | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/recipes/taglib.recipe b/recipes/taglib.recipe index 4a00abd4..6abb0bc3 100644 --- a/recipes/taglib.recipe +++ b/recipes/taglib.recipe @@ -1,12 +1,13 @@ # -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python +from cerbero.tools.libtool import LibtoolLibrary class Recipe(recipe.Recipe): name = 'taglib' version = '1.7.2' # either LGPLv2.1 or MPLv1.1 licenses = [License.LGPLv2_1] - configure_options = '-DWITH_MP4=ON -DWITH_ASF=ON' + configure_options = '-DWITH_MP4=ON -DWITH_ASF=ON -DENABLE_STATIC=1' btype = BuildType.CMAKE platform_deps = {Platform.ANDROID: ['stlport']} @@ -19,3 +20,10 @@ class Recipe(recipe.Recipe): if self.config.target_platform == Platform.ANDROID: # configure for android self.configure_options += ' -DANDROID_NDK=1 ' + + def post_install(self): + deps = ['z'] + if self.config.target_platform == Platform.ANDROID: + deps.append('stlport') + libtool_la = LibtoolLibrary('tag', 1, 7, None, self.config.libdir, deps) + libtool_la.save() |