scripts: update update-orc-dist-files.py scripts for new gst-indent

And fix python indentation with autopep8

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5192>
This commit is contained in:
Tim-Philipp Müller 2023-09-29 18:10:09 +02:00 committed by L. E. Segovia
parent 41c097ed6c
commit bc83c07727
3 changed files with 12 additions and 15 deletions

View File

@ -44,6 +44,5 @@ dist_c = orc_src_base + "-dist.c"
shutil.copyfile(gen_header, dist_h)
shutil.copyfile(gen_source, dist_c)
# run gst-indent on the .c files (twice, because gnu indent)
subprocess.run(['gst-indent', dist_c])
subprocess.run(['gst-indent', dist_c])
# run gst-indent on the .c files
subprocess.run(['gst-indent-1.0', dist_c])

View File

@ -44,6 +44,5 @@ dist_c = orc_src_base + "-dist.c"
shutil.copyfile(gen_header, dist_h)
shutil.copyfile(gen_source, dist_c)
# run gst-indent on the .c files (twice, because gnu indent)
subprocess.run(['gst-indent', dist_c])
subprocess.run(['gst-indent', dist_c])
# run gst-indent on the .c files
subprocess.run(['gst-indent-1.0', dist_c])

View File

@ -44,6 +44,5 @@ dist_c = orc_src_base + "-dist.c"
shutil.copyfile(gen_header, dist_h)
shutil.copyfile(gen_source, dist_c)
# run gst-indent on the .c files (twice, because gnu indent)
subprocess.run(['gst-indent', dist_c])
subprocess.run(['gst-indent', dist_c])
# run gst-indent on the .c files
subprocess.run(['gst-indent-1.0', dist_c])