summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@gnome.org>2015-06-22 13:37:48 +0200
committerThibault Saunier <tsaunier@gnome.org>2015-06-22 13:38:17 +0200
commit714cad1db7bf26b69574a5e3f140772b7a64f2d1 (patch)
treee96b8302b6a2416016cc55963e9f7feb82d96e56 /recipes
parent6b2670c81af9017ff9efff85e2eba33ee860e21f (diff)
recipes: Enable gtksink for plugins-bad static build
Diffstat (limited to 'recipes')
-rw-r--r--recipes/gst-plugins-bad-1.0-static.recipe5
-rw-r--r--recipes/gst-plugins-bad-1.0.recipe2
2 files changed, 7 insertions, 0 deletions
diff --git a/recipes/gst-plugins-bad-1.0-static.recipe b/recipes/gst-plugins-bad-1.0-static.recipe
index 8d134d9d..acbfab65 100644
--- a/recipes/gst-plugins-bad-1.0-static.recipe
+++ b/recipes/gst-plugins-bad-1.0-static.recipe
@@ -167,6 +167,8 @@ class Recipe(custom.GStreamerStatic):
]
}
+ files_plugins_sys = []
+
def prepare(self):
self.append_env['CFLAGS'] = " -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 "
self.append_env['OBJCFLAGS'] = " -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 "
@@ -178,6 +180,9 @@ class Recipe(custom.GStreamerStatic):
self.configure_options += \
' --disable-cog --disable-sdl '\
'--disable-cdaudio'
+ if self.config.variants.gtk3:
+ self.deps.append("gtk+3")
+ self.files_plugins_sys = ["libgstgtksink"]
if self.config.target_platform in [ Platform.ANDROID, Platform.IOS ]:
for d in ['libdvdnav']:
self.deps.remove(d)
diff --git a/recipes/gst-plugins-bad-1.0.recipe b/recipes/gst-plugins-bad-1.0.recipe
index 74d7189d..2f95849f 100644
--- a/recipes/gst-plugins-bad-1.0.recipe
+++ b/recipes/gst-plugins-bad-1.0.recipe
@@ -192,6 +192,8 @@ class Recipe(recipe.Recipe):
'GstMpegts-1.0'
]
+ files_plugins_sys = []
+
def prepare(self):
self.append_env['CFLAGS'] = " -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 "
self.append_env['OBJCFLAGS'] = " -Wno-error -DGSTREAMER_GLIB_COCOA_NSAPPLICATION=1 "