From b64fcf510a3742f74a2bec7f6b8939f411cda298 Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Sun, 7 Jan 2018 17:50:27 +0000 Subject: [PATCH] Add build-retroarch-with-ffmpeg.sh script --- build-retroarch-with-ffmpeg.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 build-retroarch-with-ffmpeg.sh diff --git a/build-retroarch-with-ffmpeg.sh b/build-retroarch-with-ffmpeg.sh new file mode 100755 index 0000000..dd0b5f4 --- /dev/null +++ b/build-retroarch-with-ffmpeg.sh @@ -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 "-----------------------------------------------"