diff --git a/files/scripts/install-xpadneo.sh b/files/scripts/install-xpadneo.sh new file mode 100644 index 0000000..83bd9fe --- /dev/null +++ b/files/scripts/install-xpadneo.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash + +# Tell build process to exit if there are any errors. +set -oue pipefail + +dnf install dkms make bluez bluez-tools kernel-devel-`uname -r` kernel-headers + +git clone https://github.com/atar-axis/xpadneo.git /tmp/xpadneo/ + +cd /tmp/xpadneo + +./install.sh --verbose \ No newline at end of file diff --git a/recipes/components/dnf-module.yml b/recipes/components/dnf-module.yml index 18739dd..f74132e 100644 --- a/recipes/components/dnf-module.yml +++ b/recipes/components/dnf-module.yml @@ -4,7 +4,6 @@ modules: copr: - ublue-os/packages - solopasha/hyprland - - atim/xpadneo - peterwu/rendezvous nonfree: rpmfusion install: @@ -121,8 +120,9 @@ modules: - gamescope # for performance view - mangohud - # controller - - xpadneo + # dependencies for xpadneo + - dkms + - kernel-devel remove: packages: diff --git a/recipes/components/xpadneo-module.yml b/recipes/components/xpadneo-module.yml new file mode 100644 index 0000000..a44cf01 --- /dev/null +++ b/recipes/components/xpadneo-module.yml @@ -0,0 +1,4 @@ +modules: + - type: script + scripts: + - install-xpadneo.sh \ No newline at end of file diff --git a/recipes/recipe.yml b/recipes/recipe.yml index 7042d1c..83283e1 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 + - type: initramfs - type: signing