mGBA-eeb52e

Introduction to mGBA

The mGBA package provides a GBA emulator. It can also be used with other emulators.

mgba Dependencies

Required

CMake, libepoxy, libpng, and libzip-1.11.3

Recommended

Optional

editline

Installation of mGBA

Install mGBA by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr   \
      -D CMAKE_BUILD_TYPE=Release    \
      -D CMAKE_SKIP_INSTALL_RPATH=ON \
      -G Ninja .. &&

ninja

Now, as the root user:

ninja install &&
mv -v /usr/share/doc/mGBA{,-eeb52e}

Command Explanations

-D CMAKE_SKIP_INSTALL_RPATH=ON: This switch makes cmake remove hardcoded library search paths (rpath) when installing a binary executable file or a shared library. This package does not need rpath once it's installed into the standard location, and rpath may sometimes cause unwanted effects or even security issues.

mv -v /usr/share/doc/mGBA{,-eeb52e}: This command ensures the doc folder for this package is consistent with the other packages.

Contents

Installed Programs: mgba and mgba-qt
Installed Libraries: libmgba.so
Installed Directories: /usr/include/mgba{,-util} and /usr/share/doc/mgba-eeb52e

Short Descriptions

mgba

is the SDL2 frontend for mGBA

mgba-qt

is the Qt-6 frontend for mGBA

libmgba.so

contains the mGBA core which can be used by frontends and other emulators