mirror of
https://github.com/andybalaam/retropie-recording.git
synced 2026-01-22 18:16:29 +00:00
Add build-retroarch-with-ffmpeg.sh script
This commit is contained in:
parent
231092c950
commit
b64fcf510a
1 changed files with 24 additions and 0 deletions
24
build-retroarch-with-ffmpeg.sh
Executable file
24
build-retroarch-with-ffmpeg.sh
Executable 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 "-----------------------------------------------"
|
||||
Loading…
Add table
Add a link
Reference in a new issue