mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-10 06:55:47 +00:00
ffmpeg is a large and complex code base that has occasional security and functionality issues, while being not that frequently released. This PR proposes syncing patches from debian, replacing our single handpicked backported commit. Run ./packages/ffmpeg/sync-debian-patches.sh to regenerate the patchset from debian.
19 lines
380 B
Bash
Executable File
19 lines
380 B
Bash
Executable File
#!/bin/sh
|
|
set -e -u
|
|
|
|
srcdir=$(realpath "$(dirname "$0")")
|
|
|
|
rm -Rf debian-*.patch
|
|
|
|
checkout_dir=$(mktemp -d)
|
|
cd "$checkout_dir"
|
|
git clone --depth=1 https://salsa.debian.org/multimedia-team/ffmpeg.git
|
|
|
|
for patch in ffmpeg/debian/patches/*.patch; do
|
|
new_patch=debian-$(basename "$patch")
|
|
echo "$patch" -> "$new_patch"
|
|
cp "$patch" "$srcdir/$new_patch"
|
|
done
|
|
|
|
rm -Rf "$checkout_dir"
|