build(packaging): add the Arch package, systemd unit and gamescope config
The PKGBUILD builds from the surrounding source tree (makepkg's -flto is disabled because it breaks the libspa-sys C shim). The user unit and the env example ship the intended deployment, and gamescope-tv.conf documents the gamescope session it is meant to run against.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# Drop-in for gamescope-hyperhdr.service: run the feed only together with gamescope-tv.service,
|
||||
# starting with it and stopping when it stops.
|
||||
#
|
||||
# install -Dm644 gamescope-tv.conf ~/.config/systemd/user/gamescope-hyperhdr.service.d/gamescope-tv.conf
|
||||
# systemctl --user daemon-reload
|
||||
# systemctl --user add-wants gamescope-tv.service gamescope-hyperhdr.service
|
||||
#
|
||||
# The Arch package ships this file as /usr/share/doc/gamescope-hyperhdr/gamescope-tv.conf.
|
||||
# add-wants makes gamescope-tv.service pull the feed in. Do not also `enable` the feed:
|
||||
# BindsTo= would then start gamescope-tv.service whenever the feed starts.
|
||||
[Unit]
|
||||
BindsTo=gamescope-tv.service
|
||||
After=gamescope-tv.service
|
||||
Reference in New Issue
Block a user