Add xpadneo properly #28
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@@ -30,6 +30,7 @@ jobs:
|
|||||||
# !! Add your recipes here
|
# !! Add your recipes here
|
||||||
- recipe.yml
|
- recipe.yml
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
# the build is fully handled by the reusable github action
|
# the build is fully handled by the reusable github action
|
||||||
- name: Build Custom Image
|
- name: Build Custom Image
|
||||||
uses: blue-build/github-action@v1.8
|
uses: blue-build/github-action@v1.8
|
||||||
|
16
files/scripts/install-xpadneo.sh
Normal file
16
files/scripts/install-xpadneo.sh
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Tell build process to exit if there are any errors.
|
||||||
|
set -oue pipefail
|
||||||
|
|
||||||
|
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
|
@@ -4,11 +4,9 @@ modules:
|
|||||||
copr:
|
copr:
|
||||||
- ublue-os/packages
|
- ublue-os/packages
|
||||||
- solopasha/hyprland
|
- solopasha/hyprland
|
||||||
- atim/xpadneo
|
|
||||||
- peterwu/rendezvous
|
- peterwu/rendezvous
|
||||||
nonfree: rpmfusion
|
nonfree: negativo17
|
||||||
install:
|
install:
|
||||||
skip-unavailable: true
|
|
||||||
packages:
|
packages:
|
||||||
# sddm
|
# sddm
|
||||||
- sddm
|
- sddm
|
||||||
@@ -121,8 +119,8 @@ modules:
|
|||||||
- gamescope
|
- gamescope
|
||||||
# for performance view
|
# for performance view
|
||||||
- mangohud
|
- mangohud
|
||||||
# controller
|
# xpadneo
|
||||||
- xpadneo
|
- dkms-xpadneo
|
||||||
|
|
||||||
remove:
|
remove:
|
||||||
packages:
|
packages:
|
||||||
@@ -131,7 +129,7 @@ modules:
|
|||||||
- firefox-langpacks
|
- firefox-langpacks
|
||||||
|
|
||||||
replace:
|
replace:
|
||||||
- from-repo: rpmfusion-nonfree
|
- from-repo: fedora-multimedia
|
||||||
packages:
|
packages:
|
||||||
- libheif
|
- libheif
|
||||||
- libva
|
- libva
|
||||||
@@ -143,4 +141,8 @@ modules:
|
|||||||
- mesa-libgbm
|
- mesa-libgbm
|
||||||
- mesa-va-drivers
|
- mesa-va-drivers
|
||||||
- mesa-vulkan-drivers
|
- mesa-vulkan-drivers
|
||||||
- gstreamer1-plugin-libav
|
- gstreamer1-plugin-libav
|
||||||
|
|
||||||
|
- type: script
|
||||||
|
scripts:
|
||||||
|
- install-xpadneo.sh
|
Reference in New Issue
Block a user