From 809436263450056d1704ee3b022d0bde1bda2a98 Mon Sep 17 00:00:00 2001 From: Andoni Morales Alastruey Date: Wed, 3 Oct 2012 13:32:23 +0200 Subject: taglib: enable static libraries and create libtool file --- recipes/taglib.recipe | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'recipes/taglib.recipe') 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() -- cgit v1.2.3