Install properly on ubuntu20.04

This commit is contained in:
loki
2020-05-03 23:58:32 +02:00
parent c6da7d31d0
commit fbbe396416
3 changed files with 4 additions and 12 deletions

View File

@@ -1,8 +1,5 @@
{ {
"env":{ "env":{
"DISPLAY":":0",
"DRI_PRIME":"1",
"XAUTHORITY":"$(HOME)/.Xauthority",
"PATH":"$(PATH):$(HOME)/.local/bin" "PATH":"$(PATH):$(HOME)/.local/bin"
}, },
"apps":[ "apps":[
@@ -16,8 +13,7 @@
"name":"Steam BigPicture", "name":"Steam BigPicture",
"output":"steam.txt", "output":"steam.txt",
"cmd":"steam -bigpicture", "cmd":"steam -bigpicture"
"prep-cmd":[]
} }
] ]
} }

View File

@@ -35,8 +35,8 @@ Package: sunshine
Architecture: amd64 Architecture: amd64
Maintainer: @loki Maintainer: @loki
Priority: optional Priority: optional
Version: 0.1.1 Version: 0.2.1
Depends: libssl | libavdevice | libboost-thread (>= 1.67) | libboost-filesystem (>= 1.67) | libboost-log (>= 1.67) | libpulse | libopus | libxtst | libx11 | libxfixes | libevdev | libxcb1 | libxcb-shm0 | libxcb-xfixes0 Depends: libssl1.1, libavdevice58, libboost-thread1.71.0, libboost-filesystem1.71.0, libboost-log1.71.0, libpulse0, libopus0, libxcb-shm0, libxcb-xfixes0
Description: Gamestream host for Moonlight Description: Gamestream host for Moonlight
EOF EOF
@@ -54,10 +54,6 @@ if [ -f /etc/group ]; then
else else
echo "Warning: /etc/group not found" echo "Warning: /etc/group not found"
fi fi
# Prevent necessity of rebooting system
chmod 0660 /dev/uinput
chown root:$GROUP_INPUT /dev/uinput
EOF EOF
cat << 'EOF' > $RULES/85-sunshine-rules.rules cat << 'EOF' > $RULES/85-sunshine-rules.rules

View File

@@ -55,7 +55,7 @@ public:
} }
int create_mouse() { int create_mouse() {
libevdev_uinput *buf; libevdev_uinput *buf {};
int err = libevdev_uinput_create_from_device(mouse_dev.get(), LIBEVDEV_UINPUT_OPEN_MANAGED, &buf); int err = libevdev_uinput_create_from_device(mouse_dev.get(), LIBEVDEV_UINPUT_OPEN_MANAGED, &buf);
mouse_input.reset(buf); mouse_input.reset(buf);