Install ares
This commit is contained in:
@@ -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
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
export BB_REGISTRY := "registry.gitlab.com"
|
# export BB_REGISTRY := "registry.gitlab.com"
|
||||||
export BB_REGISTRY_NAMESPACE := "wunker-bunker/wunker-os"
|
# export BB_REGISTRY_NAMESPACE := "wunker-bunker/wunker-os"
|
||||||
# export BB_REGISTRY := "harbor.jpnet.dev"
|
export BB_REGISTRY := "harbor.jpnet.dev"
|
||||||
# export BB_REGISTRY_NAMESPACE := "wunker-os"
|
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_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_ENROLLMENT_PASSWORD := "wunker"
|
||||||
export BB_GENISO_VARIANT := "kinoite"
|
export BB_GENISO_VARIANT := "kinoite"
|
||||||
|
|||||||
@@ -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:
|
modules:
|
||||||
- type: files
|
|
||||||
files:
|
|
||||||
- source: steam-firewall
|
|
||||||
destination: /
|
|
||||||
- source: archipelago
|
|
||||||
destination: /
|
|
||||||
- type: dnf
|
- type: dnf
|
||||||
repos:
|
repos:
|
||||||
cleanup: true
|
cleanup: true
|
||||||
@@ -16,6 +19,19 @@ modules:
|
|||||||
- https://github.com/ebkr/r2modmanPlus/releases/download/v3.2.10/r2modman-3.2.10.x86_64.rpm
|
- https://github.com/ebkr/r2modmanPlus/releases/download/v3.2.10/r2modman-3.2.10.x86_64.rpm
|
||||||
- steam
|
- steam
|
||||||
- mono-core
|
- mono-core
|
||||||
|
|
||||||
|
- type: files
|
||||||
|
files:
|
||||||
|
- source: steam-firewall
|
||||||
|
destination: /
|
||||||
|
- source: archipelago
|
||||||
|
destination: /
|
||||||
|
|
||||||
- type: script
|
- type: script
|
||||||
scripts:
|
scripts:
|
||||||
- install-archipelago.sh
|
- install-archipelago.sh
|
||||||
|
|
||||||
|
- type: copy
|
||||||
|
from: ares
|
||||||
|
src: /out
|
||||||
|
dest: /usr/
|
||||||
|
|||||||
@@ -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:
|
modules:
|
||||||
- from-file: common/common.yml
|
- from-file: common/common.yml
|
||||||
- from-file: common/pipewire-tweaks.yml
|
- from-file: common/pipewire-tweaks.yml
|
||||||
|
|||||||
@@ -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:
|
modules:
|
||||||
- type: files
|
- type: files
|
||||||
files:
|
files:
|
||||||
|
|||||||
@@ -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:
|
modules:
|
||||||
# - from-file: common/bootc-setup.yml
|
# - from-file: common/bootc-setup.yml
|
||||||
- type: dnf
|
- type: dnf
|
||||||
|
|||||||
@@ -6,9 +6,8 @@ image-version: latest
|
|||||||
description: The image of Wunker OS for JP's desktop gaming.
|
description: The image of Wunker OS for JP's desktop gaming.
|
||||||
blue-build-tag: none
|
blue-build-tag: none
|
||||||
nushell-version: none
|
nushell-version: none
|
||||||
# stages:
|
stages:
|
||||||
# - from-file: common/helix.yml
|
- from-file: common/jp-desktop.yml
|
||||||
modules:
|
modules:
|
||||||
- from-file: common/jp-desktop.yml
|
- from-file: common/jp-desktop.yml
|
||||||
# - from-file: common/helix.yml
|
|
||||||
- from-file: common/post-build.yml
|
- from-file: common/post-build.yml
|
||||||
|
|||||||
@@ -4,9 +4,8 @@ name: jp-laptop
|
|||||||
base-image: ${BB_REGISTRY:-registry.gitlab.com}/${BB_REGISTRY_NAMESPACE:-wunker-bunker/wunker-os}/combo
|
base-image: ${BB_REGISTRY:-registry.gitlab.com}/${BB_REGISTRY_NAMESPACE:-wunker-bunker/wunker-os}/combo
|
||||||
image-version: latest
|
image-version: latest
|
||||||
description: The image of Wunker OS for JP's Laptop.
|
description: The image of Wunker OS for JP's Laptop.
|
||||||
# stages:
|
stages:
|
||||||
# - from-file: common/helix.yml
|
- from-file: common/jp-laptop.yml
|
||||||
modules:
|
modules:
|
||||||
- from-file: common/jp-laptop.yml
|
- from-file: common/jp-laptop.yml
|
||||||
# - from-file: common/helix.yml
|
|
||||||
- from-file: common/post-build.yml
|
- from-file: common/post-build.yml
|
||||||
|
|||||||
@@ -4,6 +4,8 @@ name: pg-desktop-nvidia
|
|||||||
base-image: ${BB_REGISTRY:-registry.gitlab.com}/${BB_REGISTRY_NAMESPACE:-wunker-bunker/wunker-os}/kinoite-nvidia
|
base-image: ${BB_REGISTRY:-registry.gitlab.com}/${BB_REGISTRY_NAMESPACE:-wunker-bunker/wunker-os}/kinoite-nvidia
|
||||||
image-version: latest
|
image-version: latest
|
||||||
description: The image of Wunker OS for PG's desktop gaming.
|
description: The image of Wunker OS for PG's desktop gaming.
|
||||||
|
stages:
|
||||||
|
- from-file: common/gaming.yml
|
||||||
modules:
|
modules:
|
||||||
- from-file: common/common.yml
|
- from-file: common/common.yml
|
||||||
- from-file: common/updates.yml
|
- from-file: common/updates.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user