From 0f9a6abb63dbae517f5db6a5e22c61002becdf79 Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Fri, 20 Jun 2025 22:52:23 -0400 Subject: [PATCH 1/2] Attempt to build using the installation method by xpadneo devs --- files/scripts/installxpadneo.sh | 13 +++++++++++++ recipes/components/dnf-module.yml | 7 +++++-- recipes/components/xpadneo-module.yml | 4 ++++ recipes/recipe.yml | 2 ++ recipes/recipe_nvidia.yml | 1 + 5 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 files/scripts/installxpadneo.sh create mode 100644 recipes/components/xpadneo-module.yml diff --git a/files/scripts/installxpadneo.sh b/files/scripts/installxpadneo.sh new file mode 100644 index 0000000..1176772 --- /dev/null +++ b/files/scripts/installxpadneo.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +# move to tmp folder and clone repo +cd /tmp +git clone https://github.com/atar-axis/xpadneo.git + +# move into repo folder and install +cd xpadneo +./install.sh + diff --git a/recipes/components/dnf-module.yml b/recipes/components/dnf-module.yml index 18739dd..1670169 100644 --- a/recipes/components/dnf-module.yml +++ b/recipes/components/dnf-module.yml @@ -121,8 +121,11 @@ modules: - gamescope # for performance view - mangohud - # controller - - xpadneo + # controller libraries + - dkms + - make + - kernel-devel + - kernel-headers remove: packages: diff --git a/recipes/components/xpadneo-module.yml b/recipes/components/xpadneo-module.yml new file mode 100644 index 0000000..c193531 --- /dev/null +++ b/recipes/components/xpadneo-module.yml @@ -0,0 +1,4 @@ +modules: + - type: script + scripts: + - installxpadneo.sh \ No newline at end of file diff --git a/recipes/recipe.yml b/recipes/recipe.yml index 7042d1c..1b0a6e1 100644 --- a/recipes/recipe.yml +++ b/recipes/recipe.yml @@ -14,10 +14,12 @@ image-version: 42 # latest is also supported if you want new updates ASAP modules: - from-file: components/dnf-module.yml - from-file: components/script-module.yml + - from-file: components/xpadneo-module.yml - from-file: components/sys-files-module.yml - from-file: components/systemd-module.yml - from-file: components/default-flatpak.yml - from-file: components/chezmoi-module.yml + - from-file: initramfs - type: signing diff --git a/recipes/recipe_nvidia.yml b/recipes/recipe_nvidia.yml index bb4008e..6d3c848 100644 --- a/recipes/recipe_nvidia.yml +++ b/recipes/recipe_nvidia.yml @@ -14,6 +14,7 @@ image-version: 42 # latest is also supported if you want new updates ASAP modules: - from-file: components/dnf-module.yml - from-file: components/script-module.yml + - from-file: components/xpadneo-module.yml - from-file: components/sys-files-module.yml - from-file: components/systemd-module.yml - from-file: components/nvidia-module.yml -- 2.39.5 From 0dd107431b9cf17dd845478aa546441f5ab4af9f Mon Sep 17 00:00:00 2001 From: Eriq Taing Date: Fri, 20 Jun 2025 22:54:14 -0400 Subject: [PATCH 2/2] Fixed typo --- recipes/recipe.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/recipe.yml b/recipes/recipe.yml index 1b0a6e1..83283e1 100644 --- a/recipes/recipe.yml +++ b/recipes/recipe.yml @@ -19,7 +19,7 @@ modules: - from-file: components/systemd-module.yml - from-file: components/default-flatpak.yml - from-file: components/chezmoi-module.yml - - from-file: initramfs + - type: initramfs - type: signing -- 2.39.5