Install ares

This commit is contained in:
2026-04-26 14:28:24 -04:00
parent 3826a14fd6
commit 2092f632c6
9 changed files with 74 additions and 20 deletions
+32
View File
@@ -0,0 +1,32 @@
#!/usr/bin/env bash
set -euo pipefail
dnf -y install \
cmake \
pkg-config \
curl \
git \
clang \
ninja-build \
ccache \
libX11-devel \
libXrandr-devel \
mesa-libGL-devel \
gtk3-devel \
openal-soft-devel \
alsa-lib-devel \
SDL3-devel \
pulseaudio-libs-devel \
libao-devel
cd /
mkdir out
git clone --branch "${ARES_VERSION:-master}" https://github.com/ares-emulator/ares
cd ares
mkdir build && cd build
cmake .. -G Ninja
cmake --build .
cmake --install . --prefix /out
sed -i 's|Exec=.*|Exec=/usr/bin/ares|' /out/share/applications/ares.desktop
sed -i 's|Icon=.*|Icon=/usr/share/ares/ares.png|' /out/share/applications/ares.desktop