summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2014-07-01 14:17:12 +0200
committerThibault Saunier <tsaunier@gnome.org>2014-10-26 15:56:24 +0100
commitd367f18ac67d878718a52027c8c2df07c0eb8433 (patch)
treeae40a4d5fcf8c1e89e917197879abee6c7096ac4
parent65101bc4acc1b46262c76119d368848a34a4eb82 (diff)
gst-plugins-bad: Disable DVB for debian Wheezy and squeeze
The API version is not recent enough on those platforms
-rw-r--r--recipes/gst-plugins-bad-1.0-static.recipe3
-rw-r--r--recipes/gst-plugins-bad-1.0.recipe2
2 files changed, 4 insertions, 1 deletions
diff --git a/recipes/gst-plugins-bad-1.0-static.recipe b/recipes/gst-plugins-bad-1.0-static.recipe
index 8906bb91..2820710d 100644
--- a/recipes/gst-plugins-bad-1.0-static.recipe
+++ b/recipes/gst-plugins-bad-1.0-static.recipe
@@ -169,8 +169,9 @@ class Recipe(custom.GStreamerStatic):
self.platform_files_plugins_sys_devel[Platform.DARWIN].remove('libgstapplemedia')
self.platform_files_plugins_sys_devel[Platform.DARWIN].remove('libgstapplemedia_nonpublic')
+ if self.config.target_distro_version in [DistroVersion.DEBIAN_SQUEEZE, DistroVersion.DEBIAN_WHEEZY]:
+ self.platform_files_plugins_capture_devel[Platform.LINUX].remove("libgstdvb")
super(Recipe, self).prepare()
self.remotes['origin'] = ('%s/%s' % ('git://anongit.freedesktop.org/gstreamer', 'gst-plugins-bad'))
self.remotes['upstream'] = self.remotes['origin']
-
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe
index 720a8c3e..2f613e1a 100644
--- a/recipes/gst-plugins-bad-1.0.recipe
+++ b/recipes/gst-plugins-bad-1.0.recipe
@@ -183,3 +183,5 @@ class Recipe(recipe.Recipe):
self.platform_files_plugins_sys[Platform.DARWIN].remove('lib/gstreamer-1.0/libgstapplemedia%(mext)s')
self.platform_files_plugins_sys[Platform.DARWIN].remove('lib/gstreamer-1.0/libgstapplemedia_nonpublic%(mext)s')
+ if self.config.target_distro_version in [DistroVersion.DEBIAN_SQUEEZE, DistroVersion.DEBIAN_WHEEZY]:
+ self.platform_files_plugins_capture[Platform.LINUX].remove('lib/gstreamer-1.0/libgstdvb%(mext)s')