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:
Tim-Philipp Müller 2023-09-29 18:14:52 +02:00 committed by L. E. Segovia
parent bc83c07727
commit eaec7d9acb
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -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

View file

@ -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