1
0
Fork 0
mirror of https://github.com/Phantop/solus-stuff synced 2024-11-21 22:33:12 +00:00

Initial commit

This commit is contained in:
Jonathan Hakimi 2020-06-22 21:13:20 -04:00
commit b36d296dee
4 changed files with 72 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
pspec_x86_64.xml

23
build Executable file
View file

@ -0,0 +1,23 @@
#!/usr/bin/fish
function buildme
echo Now building $argv
cd $argv
sudo solbuild build package.yml -p unstable-x86_64
sudo mv *.eopkg /var/lib/solbuild/local
cd ..
end
cd (dirname (realpath (status -f)))
if test "$argv"
for i in $argv
buildme $i
end
else
sudo rm /var/lib/solbuild/local/*.eopkg
./build (ls -d */)
end
cd /var/lib/solbuild/local/
sudo eopkg index --skip-signing /var/lib/solbuild/local/

26
hid-nintendo/package.yml Normal file
View file

@ -0,0 +1,26 @@
name : hid-nintendo
version : 2.0
release : 1
homepage : https://github.com/nicman23/dkms-hid-nintendo
source :
- https://github.com/nicman23/dkms-hid-nintendo/archive/2.0.tar.gz : 86792ae53732f70730a282ca56443cd95c3d216f167a95bb07affe689a82b709
license : GPL-2.0-or-later
summary : A kernel driver for the Nintendo Switch Pro Controllers and the Joy-Cons.
description: |
A kernel driver for the Nintendo Switch Pro Controllers and the Joy-Cons.
builddeps :
- linux-current
- linux-current-headers
patterns :
- current : /lib/modules/*.current
setup : |
pushd ..
cp -a dkms-hid-nintendo-%version% current-build
build : |
pushd current-build
KERNEL_VERSION="%kernel_version_current%"
%make -C /lib/modules/${KERNEL_VERSION}/build M=`pwd`/src
install : |
pushd current-build
KERNEL_VERSION="%kernel_version_current%"
install -D -m 755 src/hid-nintendo.ko $installdir/lib/modules/${KERNEL_VERSION}/kernel/drivers/hid/hid-nintendo.ko

22
joycond/package.yml Normal file
View file

@ -0,0 +1,22 @@
name : joycond
version : 0.3.0
release : 1
source :
- git|https://github.com/DanielOgorchock/joycond.git : master
license : GPL-3.0-or-later
summary : joycond is a linux daemon which uses the evdev devices provided by hid-nintendo
(formerly known as hid-joycon) to implement joycon pairing.
description: |
joycond is a linux daemon which uses the evdev devices provided by hid-nintendo (formerly known as hid-joycon) to implement joycon pairing.
builddeps :
- pkgconfig(libevdev)
setup : |
%cmake
build : |
%make
install : |
%make_install
# Enable by default, users can disable now with systemctl mask tlp
install -Ddm 00755 $installdir/etc/systemd/system/multi-user.target.wants
ln -sv ../joycond.service $installdir/etc/systemd/system/multi-user.target.wants