From 2a1d0ad78958ff31daa871fdfe6d8334d7a1ab78 Mon Sep 17 00:00:00 2001 From: zelikos Date: Sun, 22 Dec 2024 13:14:06 -0500 Subject: [PATCH] refactor(deck): Use rpm-ostree module for package replacements --- files/scripts/steam-install.sh | 50 ++++++++++++++++----------------- recipes/gnome/zeliblue-deck.yml | 26 +++++++++++++++++ 2 files changed, 51 insertions(+), 25 deletions(-) diff --git a/files/scripts/steam-install.sh b/files/scripts/steam-install.sh index a5df5b42..f5e7c8c2 100644 --- a/files/scripts/steam-install.sh +++ b/files/scripts/steam-install.sh @@ -12,32 +12,32 @@ curl -Lo /etc/yum.repos.d/negativo17-fedora-rar.repo https://negativo17.org/repo curl -Lo /etc/yum.repos.d/_copr_kylegospo-bazzite-multilib.repo https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite-multilib/repo/fedora-"${OS_VERSION}"/kylegospo-bazzite-multilib-fedora-"${OS_VERSION}".repo?arch=x86_64 # Ensure that needed Mesa packages are installed from bazzite-multilib -echo "Installing Mesa packages from bazzite-multilib" +# echo "Installing Mesa packages from bazzite-multilib" -rpm-ostree override replace \ - --experimental \ - --from repo=copr:copr.fedorainfracloud.org:kylegospo:bazzite-multilib \ - mesa-libxatracker \ - mesa-libglapi \ - mesa-dri-drivers \ - mesa-libgbm \ - mesa-libEGL \ - mesa-vulkan-drivers \ - mesa-libGL \ - pipewire \ - pipewire-alsa \ - pipewire-gstreamer \ - pipewire-jack-audio-connection-kit \ - pipewire-jack-audio-connection-kit-libs \ - pipewire-libs \ - pipewire-pulseaudio \ - pipewire-utils \ - pipewire-plugin-libcamera \ - bluez \ - bluez-obexd \ - bluez-cups \ - bluez-libs \ - xorg-x11-server-Xwayland +# rpm-ostree override replace \ +# --experimental \ +# --from repo=copr:copr.fedorainfracloud.org:kylegospo:bazzite-multilib \ +# mesa-libxatracker \ +# mesa-libglapi \ +# mesa-dri-drivers \ +# mesa-libgbm \ +# mesa-libEGL \ +# mesa-vulkan-drivers \ +# mesa-libGL \ +# pipewire \ +# pipewire-alsa \ +# pipewire-gstreamer \ +# pipewire-jack-audio-connection-kit \ +# pipewire-jack-audio-connection-kit-libs \ +# pipewire-libs \ +# pipewire-pulseaudio \ +# pipewire-utils \ +# pipewire-plugin-libcamera \ +# bluez \ +# bluez-obexd \ +# bluez-cups \ +# bluez-libs \ +# xorg-x11-server-Xwayland echo "Installing other Steam dependencies" diff --git a/recipes/gnome/zeliblue-deck.yml b/recipes/gnome/zeliblue-deck.yml index 82c4affc..e8d2a0f4 100644 --- a/recipes/gnome/zeliblue-deck.yml +++ b/recipes/gnome/zeliblue-deck.yml @@ -29,6 +29,32 @@ modules: - source: system_files/deck destination: / + - type: rpm-ostree + replace: + - from-repo: https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite-multilib/repo/fedora-"${OS_VERSION}"/kylegospo-bazzite-multilib-fedora-"${OS_VERSION}".repo?arch=x86_64 + packages: + - mesa-libxatracker + - mesa-libglapi + - mesa-dri-drivers + - mesa-libgbm + - mesa-libEGL + - mesa-vulkan-drivers + - mesa-libGL + - pipewire + - pipewire-alsa + - pipewire-gstreamer + - pipewire-jack-audio-connection-kit + - pipewire-jack-audio-connection-kit-libs + - pipewire-libs + - pipewire-pulseaudio + - pipewire-utils + - pipewire-plugin-libcamera + - bluez + - bluez-obexd + - bluez-cups + - bluez-libs + - xorg-x11-server-Xwayland + - type: rpm-ostree repos: - https://copr.fedorainfracloud.org/coprs/kylegospo/bazzite/repo/fedora-%OS_VERSION%/kylegospo-bazzite-fedora-%OS_VERSION%.repo