summaryrefslogtreecommitdiff
path: root/recipes/gst-validate.recipe
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2019-03-20 17:47:13 +1100
committerMatthew Waters <matthew@centricular.com>2019-03-20 17:47:13 +1100
commitae1308dfcaa52b8ceaa73361cf3dd57e25c9ffae (patch)
tree94973d28d04f23b8ca42b62ee8717db91a87b234 /recipes/gst-validate.recipe
parent89b8cf28dde05733e68f6bb059b8601029bb5560 (diff)
gst-validate: ship .la file for the default overrides
Diffstat (limited to 'recipes/gst-validate.recipe')
-rw-r--r--recipes/gst-validate.recipe9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes/gst-validate.recipe b/recipes/gst-validate.recipe
index 6832d203..55156ae0 100644
--- a/recipes/gst-validate.recipe
+++ b/recipes/gst-validate.recipe
@@ -1,5 +1,6 @@
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
from cerbero.utils import shell
+from cerbero.tools.libtool import LibtoolLibrary
class Recipe(custom.GStreamer):
name = 'gst-validate'
@@ -33,3 +34,11 @@ class Recipe(custom.GStreamer):
if self.config.platform != Platform.WINDOWS:
# validatedefaultinjection plugin isn't built on Windows
self.files_gst_validate_plugins = ['lib/gstreamer-1.0/validate/libgstvalidatefaultinjection%(mext)s']
+
+ def post_install(self):
+ super().post_install()
+
+ if self.config.target_platform == Platform.LINUX:
+ LibtoolLibrary('gstvalidate-default-overrides-1.0',
+ None, None, None, self.config.libdir,
+ self.config.target_platform, deps=['gstvalidate-1.0']).save()