summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-17 14:09:37 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-22 08:35:44 +0200
commit9ff996fe3d3bc82d9c7ec8a5a42df5e104530831 (patch)
treebb3707a1091d62027fed873066542e87c277667b
parentba8f74b40cf4d16585ae9a43443b12bfac90a879 (diff)
gstreamer-1.0: Only ship check on non-Windows
-rw-r--r--recipes/gstreamer-1.0.recipe18
1 files changed, 14 insertions, 4 deletions
diff --git a/recipes/gstreamer-1.0.recipe b/recipes/gstreamer-1.0.recipe
index d8eb114..52cf44c 100644
--- a/recipes/gstreamer-1.0.recipe
+++ b/recipes/gstreamer-1.0.recipe
@@ -15,9 +15,15 @@ class Recipe(recipe.Recipe):
'gst-typefind-1.0',
'gst-launch-1.0']
- files_libs = ['libgstbase-1.0', 'libgstcheck-1.0', 'libgstcontroller-1.0',
+ files_libs = ['libgstbase-1.0', 'libgstcontroller-1.0',
'libgstnet-1.0', 'libgstreamer-1.0']
+ platform_files_libs = {
+ Platform.LINUX: ['libgstcheck-1.0'],
+ Platform.ANDROID: ['libgstcheck-1.0'],
+ Platform.DARWIN: ['libgstcheck-1.0'],
+ }
+
files_plugins_core = ['lib/gstreamer-1.0/libgstcoreelements%(mext)s']
files_misc = ['libexec/gstreamer-1.0/gst-plugin-scanner%(bext)s']
@@ -25,16 +31,20 @@ class Recipe(recipe.Recipe):
files_devel = [
'include/gstreamer-1.0/gst/*.h',
'include/gstreamer-1.0/gst/base',
- 'include/gstreamer-1.0/gst/check',
'include/gstreamer-1.0/gst/controller',
'include/gstreamer-1.0/gst/net',
'lib/pkgconfig/gstreamer-1.0.pc',
'lib/pkgconfig/gstreamer-base-1.0.pc',
- 'lib/pkgconfig/gstreamer-check-1.0.pc',
'lib/pkgconfig/gstreamer-controller-1.0.pc',
'lib/pkgconfig/gstreamer-net-1.0.pc',
- 'share/aclocal/gst-element-check-1.0.m4'
]
+
+ platform_files_devel = {
+ Platform.LINUX: ['include/gstreamer-1.0/gst/check', 'lib/pkgconfig/gstreamer-check-1.0.pc', 'share/aclocal/gst-element-check-1.0.m4'],
+ Platform.ANDROID: ['include/gstreamer-1.0/gst/check', 'lib/pkgconfig/gstreamer-check-1.0.pc', 'share/aclocal/gst-element-check-1.0.m4'],
+ Platform.DARWIN: ['include/gstreamer-1.0/gst/check', 'lib/pkgconfig/gstreamer-check-1.0.pc', 'share/aclocal/gst-element-check-1.0.m4'],
+ }
+
files_lang = ['gstreamer-1.0']
def prepare(self):