gstreamer-uninstalled: add path for OpenCV haar cascade files
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Fri, 21 Aug 2015 16:42:52 +0000 (17:42 +0100)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Tue, 29 Sep 2015 15:56:29 +0000 (16:56 +0100)
Some OpenCV plugins use haar cascade files that are included in the
GStreamer sources. To be able to use these from uninstalled, they need
to be found through an environment variable.

Adding this environment variable pointing to haar cascade files to
gst-uninstalled.

scripts/gst-uninstalled

index 648582a..d033514 100755 (executable)
@@ -107,6 +107,7 @@ do
   DYLD_LIBRARY_PATH=$GST/gst-plugins-bad/gst-libs/gst/$path/.libs:$DYLD_LIBRARY_PATH
   GI_TYPELIB_PATH=$GST/gst-plugins-bad/gst-libs/gst/$path:$GI_TYPELIB_PATH
 done
+export GST_HAAR_CASCADES_PATH=$GST/gst-plugins-bad/ext/opencv/
 
 # GStreamer core libraries
 for path in base check controller net