From b266c35183bf4c1fc97325c365450da2536dea79 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Fri, 11 Jul 2025 17:10:03 -0400 Subject: [PATCH] Switching from using negativo17 to using rpm-fusion and xpadneo copr repos --- files/scripts/install-xpadneo.sh | 9 ++---- recipes/components/dnf-module.yml | 49 +++++++++++++++++++++---------- 2 files changed, 35 insertions(+), 23 deletions(-) diff --git a/files/scripts/install-xpadneo.sh b/files/scripts/install-xpadneo.sh index a6c8930..ac5ff2e 100644 --- a/files/scripts/install-xpadneo.sh +++ b/files/scripts/install-xpadneo.sh @@ -7,10 +7,5 @@ echo "INFO: grab kernel module" KERNEL_VER=$(ls /lib/modules | head -n 1) echo $KERNEL_VER -echo "INFO: grab xpad modules" -MODULE_VER=$(ls /usr/src | grep xpadneo | sed 's/-/\//') -echo $MODULE_VER - -echo "INFO: build and install xpadneo" -sudo dkms build -m $MODULE_VER -k $KERNEL_VER -sudo dkms install -m $MODULE_VER -k $KERNEL_VER \ No newline at end of file +echo "INFO: rebuild akmods" +sudo akmods --kernels $KERNEL_VER \ No newline at end of file diff --git a/recipes/components/dnf-module.yml b/recipes/components/dnf-module.yml index 0f8b2a6..6a3b631 100644 --- a/recipes/components/dnf-module.yml +++ b/recipes/components/dnf-module.yml @@ -1,14 +1,14 @@ modules: - type: dnf repos: + nonfree: rpmfusion files: - - https://negativo17.org/repos/fedora-steam.repo - - https://negativo17.org/repos/fedora-multimedia.repo - codium.repo copr: - ublue-os/packages - solopasha/hyprland - peterwu/rendezvous + - atim/xpadneo keys: - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/-/raw/master/pub.gpg install: @@ -121,28 +121,45 @@ modules: # for performance view - mangohud # xpadneo - - dkms-xpadneo + - xpadneo + + - gstreamer1-plugin-libav + - gstreamer1-plugins-bad-free-extras + - gstreamer1-plugins-bad-freeworld + - gstreamer1-plugins-ugly + - gstreamer1-vaapi + + # other multimedia remove: packages: # remove firefox - firefox - firefox-langpacks - + + # old codecs + - fdk-aac-free + - libavcodec-free + - libavdevice-free + - libavfilter-free + - libavformat-free + - libavutil-free + - libpostproc-free + - libswresample-free + - libswscale-free + - ffmpeg-free + replace: - - from-repo: fedora-multimedia + - from-repo: rpmfusion-free-updates packages: - - libheif - - libva - - libva-intel-media-driver - - mesa-dri-drivers - - mesa-filesystem - - mesa-libEGL - - mesa-libGL - - mesa-libgbm - - mesa-va-drivers - - mesa-vulkan-drivers - - gstreamer1-plugin-libav + - old: mesa-va-drivers + new: mesa-va-drivers-freeworld + + - type: dnf + install: + packages: + - ffmpeg + - mesa-vdpau-drivers-freeworld - type: script scripts: