+# insanity
+export PYTHONPATH=$GST/insanity:$PYTHONPATH
+export PATH=$GST/insanity/bin:$PATH
+export PKG_CONFIG_PATH=$GST/insanity/lib:$GST/insanity-gst/lib:$PKG_CONFIG_PATH
+export GI_TYPELIB_PATH=$GST/insanity/lib/insanity:$GST/insanity-gst/lib/insanity-gst:$GI_TYPELIB_PATH
+
+if [ -d "$GST/gst-libav" -a -d "$GST/gst-ffmpeg" ]; then
+ echo
+ echo "====================================================================="
+ echo " You have both an uninstalled gst-ffmpeg checkout and a gst-libav"
+ echo " checkout. You need to remove one of those. You should remove"
+ echo
+ echo " $GST/gst-ffmpeg"
+ echo
+ echo " since gst-libav replaces gst-ffmpeg."
+ echo "====================================================================="
+ echo
+fi