Make sure you run this inside a Raspberry Pi 3B+ with Raspbian! Otherwise it won't work! This script prepares a build of RetroArch for Raspberry Pi 3B+.
Install the following dependencies first:
$ sudo apt install -y devscripts build-essential lintian
Clone RetroArch (and select an appropriate version if you want, current tested version is 1.9.4
):
$ git clone https://github.com/libretro/RetroArch/
Copy this pkg/debian
folder inside RetroArch (it should look like the following):
retroarch
├── [...] # RetroArch sources
└── debian
├── changelog
├── compat
├── control
├── copyright
├── dirs
├── docs
├── retroarch.lintian-overrides
└── rules
$ cd retroarch
We are using debuild to help us to create a debian package. More information on how to use the tool can be found here.
$ debuild -b
The process should start compiling RetroArch. After the build finishes, relevant *deb
file can be found in parent directory of RetroArch.
If you want to customize flags to modify settings for RetroArch, modify rules
file.
This repository has been inspired by the work done on RetroArch.