[install] Add Playtron
Install all relevant Playtron services and the relevant gamescope-session files when it becomes available. The first public Alpha 1 release of Playtron is supposed to be very soon.
If anyone in the community wants to help repackage Playtron from RPMs into PKGBUILDs on the AUR, I'd be happy to help provide some pointers!
Cool script! I wonder how well it works.
At Playtron, I'm working on adding all of the missing dependencies to the RPMs. Then we'd need to translate those to Arch Linux since package names are slightly different.
For testing purposes, the RPM repository can be added to Fedora. Directory listing is not enabled for this HTTP server for security reasons but using the dnf package manager can help find the latest versions. There are two packages that need to be rebuilt for Arch Linux: grid (the UI) and playserve (the back-end service).
$ echo "[playtron-app-x86_64]
name=Playtron Labs and App repository
baseurl=https://playtron-dev2-global-os-public.s3.us-west-2.amazonaws.com/repos/playtron-app/x86_64/
type=rpm-md
skip_if_unavailable=True
gpgkey=https://playtron-dev2-global-os-public.s3.us-west-2.amazonaws.com/gpg-public-keys/RPM-GPG-KEY-playtronos
gpgcheck=0
repo_gpgcheck=0
enabled=1
enabled_metadata=1" | sudo tee /etc/yum.repos.d/playtron-app-x86_64.repo
$ sudo dnf download grid playserve
These are the latest versions that were shipped in PlaytronOS Alpha 2 (0.19.0.29) this week:
- https://playtron-dev2-global-os-public.s3.us-west-2.amazonaws.com/repos/playtron-app/x86_64/grid-0.39.3.fc40.x86_64.rpm
- https://playtron-dev2-global-os-public.s3.us-west-2.amazonaws.com/repos/playtron-app/x86_64/playserve-0.39.3.x86_64.rpm
One idea I had was to re-use the Playtron GameOS container with distrobox. Initial tests were not working. Maybe if we manually rebuild it with the fedora container (instead of fedora-bootc) it might work.
The problem with distrobox is actually a strange issue where /usr/bin/ from the host gets mounted onto the host. That basically causes everything in the container to crash.
We might save this for a dedicated release. "4.6.0 - The Playtron Update"