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
+4 -4
View File
@@ -1,7 +1,7 @@
export BB_REGISTRY := "registry.gitlab.com"
export BB_REGISTRY_NAMESPACE := "wunker-bunker/wunker-os"
# export BB_REGISTRY := "harbor.jpnet.dev"
# export BB_REGISTRY_NAMESPACE := "wunker-os"
# export BB_REGISTRY := "registry.gitlab.com"
# export BB_REGISTRY_NAMESPACE := "wunker-bunker/wunker-os"
export BB_REGISTRY := "harbor.jpnet.dev"
export BB_REGISTRY_NAMESPACE := "wunker-os"
export BB_GENISO_SECURE_BOOT_URL := "https://gitlab.com/wunker-bunker/wunker-os/-/raw/main/files/base/etc/pki/akmods/certs/akmods-wunker-bunker.der"
export BB_GENISO_ENROLLMENT_PASSWORD := "wunker"
export BB_GENISO_VARIANT := "kinoite"
+23 -7
View File
@@ -1,12 +1,15 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json
# yaml-language-server: $schema=https://schema.blue-build.org/module-stage-list-v1.json
stages:
- from: fedora
name: ares
modules:
- type: script
env:
ARES_VERSION: v147
scripts:
- build-ares.sh
modules:
- type: files
files:
- source: steam-firewall
destination: /
- source: archipelago
destination: /
- type: dnf
repos:
cleanup: true
@@ -16,6 +19,19 @@ modules:
- https://github.com/ebkr/r2modmanPlus/releases/download/v3.2.10/r2modman-3.2.10.x86_64.rpm
- steam
- mono-core
- type: files
files:
- source: steam-firewall
destination: /
- source: archipelago
destination: /
- type: script
scripts:
- install-archipelago.sh
- type: copy
from: ares
src: /out
dest: /usr/
+3 -1
View File
@@ -1,5 +1,7 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json
# yaml-language-server: $schema=https://schema.blue-build.org/module-stage-list-v1.json
stages:
- from-file: common/gaming.yml
modules:
- from-file: common/common.yml
- from-file: common/pipewire-tweaks.yml
+3 -1
View File
@@ -1,5 +1,7 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json
# yaml-language-server: $schema=https://schema.blue-build.org/module-stage-list-v1.json
stages:
- from-file: common/jp-common.yml
modules:
- type: files
files:
+3 -1
View File
@@ -1,5 +1,7 @@
---
# yaml-language-server: $schema=https://schema.blue-build.org/module-list-v1.json
# yaml-language-server: $schema=https://schema.blue-build.org/module-stage-list-v1.json
stages:
- from-file: common/jp-common.yml
modules:
# - from-file: common/bootc-setup.yml
- type: dnf
+2 -3
View File
@@ -6,9 +6,8 @@ image-version: latest
description: The image of Wunker OS for JP's desktop gaming.
blue-build-tag: none
nushell-version: none
# stages:
# - from-file: common/helix.yml
stages:
- from-file: common/jp-desktop.yml
modules:
- from-file: common/jp-desktop.yml
# - from-file: common/helix.yml
- from-file: common/post-build.yml
+2 -3
View File
@@ -4,9 +4,8 @@ name: jp-laptop
base-image: ${BB_REGISTRY:-registry.gitlab.com}/${BB_REGISTRY_NAMESPACE:-wunker-bunker/wunker-os}/combo
image-version: latest
description: The image of Wunker OS for JP's Laptop.
# stages:
# - from-file: common/helix.yml
stages:
- from-file: common/jp-laptop.yml
modules:
- from-file: common/jp-laptop.yml
# - from-file: common/helix.yml
- from-file: common/post-build.yml
+2
View File
@@ -4,6 +4,8 @@ name: pg-desktop-nvidia
base-image: ${BB_REGISTRY:-registry.gitlab.com}/${BB_REGISTRY_NAMESPACE:-wunker-bunker/wunker-os}/kinoite-nvidia
image-version: latest
description: The image of Wunker OS for PG's desktop gaming.
stages:
- from-file: common/gaming.yml
modules:
- from-file: common/common.yml
- from-file: common/updates.yml