summaryrefslogtreecommitdiff
path: root/recipes/custom.py
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-15 14:48:07 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-22 08:35:29 +0200
commit7a0b20f74adb69693f9f2812516061d1a3a7dff3 (patch)
treee11849e84663e5f8d603c0b3986e08874cbc1bcc /recipes/custom.py
parent43a08f8a6ec1d018057ff77d6d68926d975e8bc4 (diff)
gstreamer-1.0: Update recipes for 1.0
Diffstat (limited to 'recipes/custom.py')
-rw-r--r--recipes/custom.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/recipes/custom.py b/recipes/custom.py
index bbb5486..514c876 100644
--- a/recipes/custom.py
+++ b/recipes/custom.py
@@ -41,17 +41,18 @@ class GStreamerStatic(recipe.Recipe):
self.platform_plugins_categories = [x for x in dir(self) if
x.startswith('platform_files_plugins')]
self._files_list = []
+ plugin_path = 'lib/gstreamer-%s/static' % self.gstreamer_version
for name in self.plugins_categories:
- files =getattr(self, name)
- f = ['lib/gstreamer-0.10/static/%s.a' % x for x in files]
- f.extend(['lib/gstreamer-0.10/static/%s.la' % x for x in files])
+ files = getattr(self, name)
+ f = ['%s/%s.a' % (plugin_path, x) for x in files]
+ f.extend(['%s/%s.la' % (plugin_path, x) for x in files])
setattr(self, name, f)
self._files_list.extend(f)
for name in self.platform_plugins_categories:
platform_files = getattr(self, name)
files = platform_files.get(self.config.target_platform, [])
- f = ['lib/gstreamer-0.10/static/%s.a' % x for x in files]
- f.extend(['lib/gstreamer-0.10/static/%s.la' % x for x in files])
+ f = ['%s/%s.a' % (plugin_path, x) for x in files]
+ f.extend(['%s/%s.la' % (plugin_path, x) for x in files])
platform_files[self.config.target_platform] = f
self._files_list.extend(f)