From 9dc48d848695e90cab58ce2c165e1e8a73da803c Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Thu, 30 May 2024 17:06:37 +0200 Subject: [PATCH] clean openh264 from proprietary stuffs --- chromium-latest.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chromium-latest.py b/chromium-latest.py index 5864be9f..ad8d2cd5 100755 --- a/chromium-latest.py +++ b/chromium-latest.py @@ -1,5 +1,5 @@ #!/usr/bin/python3 -# Copyright 2021-2023, Than Ngo +# Copyright 2021-2024, Than Ngo # Copyright 2010,2015-2019 Tom Callaway # Copyright 2013-2016 Tomas Popela # Permission is hereby granted, free of charge, to any person obtaining @@ -335,6 +335,8 @@ if __name__ == '__main__': if (args.ffmpegclean): print("Cleaning ffmpeg from proprietary things...") os.system("./clean_ffmpeg.sh %s %d" % (latest_dir, 0 if args.ffmpegarm else 1)) + print("Cleaning openh264 from proprietary things...") + os.system("find %s/third_party/openh264/src -type f -not -name '*.h' -delete " % latest_dir) print("Done!") if (not args.prep):