[frogr] Include gstreamer plugins and scanner in the bundle for Mac



commit ef8170a40f52256737d5dc4b5110104dac432bf0
Author: Mario Sanchez Prada <msanchez gnome org>
Date:   Sat Dec 15 18:12:06 2012 +0100

    Include gstreamer plugins and scanner in the bundle for Mac

 frogr.bundle       |    8 ++++++++
 macosx/launcher.sh |    3 +++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/frogr.bundle b/frogr.bundle
index a9a780c..3755e92 100644
--- a/frogr.bundle
+++ b/frogr.bundle
@@ -22,6 +22,14 @@
     ${prefix}/lib/gdk-pixbuf-2.0/${pkg:gdk-pixbuf-2.0:gdk_pixbuf_binary_version}/loaders/*.so
   </binary>
 
+  <!-- Gstreamer plugins and scanner -->
+  <binary>
+    ${prefix}/lib/gstreamer-0.10/*.so
+  </binary>
+  <binary>
+    ${prefix}/libexec/gstreamer-0.10/gst-plugin-scanner
+  </binary>
+
   <!-- Translation filenames, one for each program or library -->
   <translations name="gtk30">
     ${prefix}/share/locale
diff --git a/macosx/launcher.sh b/macosx/launcher.sh
index a3fe473..e2120df 100755
--- a/macosx/launcher.sh
+++ b/macosx/launcher.sh
@@ -35,6 +35,9 @@ export GDK_PIXBUF_MODULE_FILE="$bundle_etc/gtk-3.0/gdk-pixbuf.loaders"
 
 export PANGO_RC_FILE="$bundle_etc/pango/pangorc"
 
+export GST_PLUGIN_SYSTEM_PATH="$bundle_res"
+export GST_PLUGIN_SCANNER="$bundle_res/libexec/gstreamer-0.10/gst-plugin-scanner"
+
 # Localization settings. It's better to do this inside your program
 # using NSLocale if possible.
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]