Add build-retroarch-with-ffmpeg.sh script

This commit is contained in:
Andy Balaam 2018-01-07 17:50:27 +00:00
parent 231092c950
commit b64fcf510a

24
build-retroarch-with-ffmpeg.sh Executable file
View file

@ -0,0 +1,24 @@
#!/bin/bash
set -e
set -u
set -x
echo "Building RetroArch with ffmpeg enabled"
echo "--------------------------------------"
echo
echo "=== Downloading patch file ==="
wget https://raw.githubusercontent.com/andybalaam/retropie-recording/master/enable-ffmpeg.patch
echo "=== Patching RetroArch code to enable ffmpeg ==="
cd RetroPie-Setup
patch -p1 < ../enable-ffmpeg.patch
echo "=== Rebuilding RetroArch ==="
sudo ./retropie_packages.sh retroarch
echo
echo "Building RetroArch with ffmpeg enabled complete"
echo "-----------------------------------------------"