mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
b0d89da6b6
Remove GST_MAJORMINOR and replace it by GST_API_VERSION Also set GST_VERSION_{MAJOR,MINOR,MICRO,NANO} explicitely now. All versions are at 1.0.0 now for the release soon but API/ABI can still change until the 1.0.0 release. Next release versions until 1.0.0 will be 0.10.9X and these will be release candidates. GST_VERSION_* will nonetheless stay at 1.0.0.0.
27 lines
541 B
Text
27 lines
541 B
Text
#
|
|
# Put this in /etc/bash_completion.d/
|
|
#
|
|
|
|
_gst_launch()
|
|
{
|
|
local cur
|
|
|
|
: ${GST_REGISTRY:=~/.gstreamer-1.0/registry.xml}
|
|
: ${GST_COMPLETE:=~/.gstreamer-1.0/complete}
|
|
|
|
if [ ! -f "${GST_REGISTRY}" ] ; then
|
|
return 0
|
|
fi
|
|
|
|
if [ ! -f "${GST_COMPLETE}" \
|
|
-o "${GST_REGISTRY}" -nt "${GST_COMPLETE}" ] ; then
|
|
sed -n 's/^..<name>\(.*\)<\/name>/\1/ p' ${GST_REGISTRY} >${GST_COMPLETE}
|
|
fi
|
|
|
|
cur=${COMP_WORDS[COMP_CWORD]}
|
|
COMPREPLY=( $(grep ^$cur $GST_COMPLETE) )
|
|
|
|
return 0
|
|
}
|
|
complete -F _gst_launch -o default gst-launch
|
|
|