summaryrefslogtreecommitdiff
path: root/recipes/openh264.recipe
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-11-13 19:18:05 +0530
committerSebastian Dröge <sebastian@centricular.com>2014-11-24 12:09:11 +0100
commit17cfa704b4f8589e41c55f3e838d4608ed6db589 (patch)
tree6709a0aa20526dd3e96915590e8f8c0d43c6e31e /recipes/openh264.recipe
parent54fc21e185b43972d4e3e30c66af798951929b71 (diff)
openh264: Install a versioned shared lib, and a libtool file
Also install a .dll.a on Windows https://bugzilla.gnome.org/show_bug.cgi?id=740084
Diffstat (limited to 'recipes/openh264.recipe')
-rw-r--r--recipes/openh264.recipe7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/openh264.recipe b/recipes/openh264.recipe
index a393f633..b2211fd3 100644
--- a/recipes/openh264.recipe
+++ b/recipes/openh264.recipe
@@ -1,5 +1,6 @@
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
+from cerbero.tools.libtool import LibtoolLibrary
from cerbero.utils import shell
class Recipe(recipe.Recipe):
@@ -9,6 +10,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
btype = BuildType.MAKEFILE
licenses = [License.BSD]
+ patches = [name + '/versioned-shared-library.patch']
files_libs = ['libopenh264']
files_devel = ['include/wels']
@@ -64,3 +66,8 @@ class Recipe(recipe.Recipe):
{'-miphoneos-version-min': '-mios-simulator-version-min'})
# No configure script
+
+ def post_install(self):
+ libtool_la = LibtoolLibrary('openh264', 0, None, None, self.config.libdir,
+ self.config.target_platform)
+ libtool_la.save()