summaryrefslogtreecommitdiff
path: root/recipes/taglib.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/taglib.recipe')
-rw-r--r--recipes/taglib.recipe10
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()