mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-05 14:02:26 +00:00
bad: tools: update gst-{app,element,project}-maker for new gst-indent
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5192>
This commit is contained in:
parent
bc83c07727
commit
eaec7d9acb
3 changed files with 3 additions and 3 deletions
|
@ -543,7 +543,7 @@ generate | sed \
|
|||
-e "s/gstreplace/$gstreplace/g" \
|
||||
-e "s/replace/$replace/g" >$gstreplace.c
|
||||
|
||||
gst-indent $gstreplace.c
|
||||
gst-indent-1.0 $gstreplace.c
|
||||
|
||||
gcc -O2 -Wall $(pkg-config --cflags gstreamer-1.0) -c -o $gstreplace.o $gstreplace.c
|
||||
gcc -o $gstreplace $gstreplace.o $(pkg-config --libs gstreamer-1.0)
|
||||
|
|
|
@ -380,7 +380,7 @@ generate_header | sed \
|
|||
-e "s/prefixreplace/$prefixreplace/g" \
|
||||
-e "s/replace/$replace/g" >$gstreplace.h
|
||||
|
||||
gst-indent $gstreplace.c
|
||||
gst-indent-1.0 $gstreplace.c
|
||||
|
||||
echo pkg is $pkg
|
||||
|
||||
|
|
|
@ -286,7 +286,7 @@ generate | sed \
|
|||
-e "s/gstreplace/$gstreplace/g" \
|
||||
-e "s/replace/$replace/g" >$basedir/plugins/${gstreplace}plugin.c
|
||||
|
||||
gst-indent $basedir/plugins/${gstreplace}plugin.c || echo "Warning: could not run gst-indent on the generated code." 1>&2
|
||||
gst-indent-1.0 $basedir/plugins/${gstreplace}plugin.c || echo "Warning: could not run gst-indent on the generated code." 1>&2
|
||||
rm -f $basedir/plugins/${gstreplace}plugin.c~
|
||||
|
||||
cat >$basedir/plugins/${gstreplace}.c <<EOF
|
||||
|
|
Loading…
Reference in a new issue