suggestion for gst-LOCAL.sh

Rob Walker rwalker at codeaurora.org
Mon Jun 4 12:33:21 PDT 2012


I like gstreamer's ability to support local development trees.  I find 
the need to edit gst-LOCAL a bit tedious, though.  With a small upstream 
change to gst-LOCAL, though, I can get pretty much what I want.

Instead of using a hand-edited MYGST directory, I use the location of 
the script itself:

--- gst-.       2012-06-04 11:11:16.023615677 -0700
+++ gst-LOCAL.sh        2012-05-31 10:45:41.930640474 -0700
@@ -28,7 +28,7 @@
  # This script is run -i so that PS1 doesn't get cleared

  # The search base is where this script was executed from
-MYGST=${MYGST:-$(cd ${0%/*} && pwd)}
  # Change this variable to the location of your gstreamer git checkouts
+MYGST=$HOME

  #
  # Everything below this line shouldn't be edited!

Note, the above also supports overriding MYGST, if something like the 
old behavior is what you prefer.

-Rob



More information about the gstreamer-devel mailing list