Skip to content
Snippets Groups Projects
README 2.13 KiB
Newer Older
Simon McVittie's avatar
Simon McVittie committed
flatdeb - Steam
===============
Simon McVittie's avatar
Simon McVittie committed

flatdeb is a proof of concept for building Flatpak runtimes and apps
Simon McVittie's avatar
Simon McVittie committed
from Debian packages. This repository sets it up for Steam.
Simon McVittie's avatar
Simon McVittie committed

Walkthrough
-----------

Simon McVittie's avatar
Simon McVittie committed
On a Debian 9 VM:
    sensible-editor /etc/apt/sources.list    # and enable backports
Simon McVittie's avatar
Simon McVittie committed
    apt install debootstrap systemd-container time
    apt install python3 python3-debian python3-gi python3-yaml
    apt install -t stretch-backports flatpak flatpak-builder ostree
Simon McVittie's avatar
Simon McVittie committed
(Or install on Debian testing/unstable.)
Simon McVittie's avatar
Simon McVittie committed
Also install the latest versions of
[fakemachine](https://github.com/go-debos/fakemachine)
and [debos](https://github.com/go-debos/debos).
Simon McVittie's avatar
Simon McVittie committed

Simon McVittie's avatar
Simon McVittie committed
You will probably want to use a caching proxy such as apt-cacher-ng to
download `.deb` packages, which you can do by prefixing all the commands
below with `env http_proxy=http://192.168.122.1:3142` or similar.
Simon McVittie's avatar
Simon McVittie committed
Finally, put exported Ubuntu, Steam Runtime and SteamOS keys in
suites/valve-archive-keyring.gpg (0x9E46D8DCD0BBF5AE and
0x7DEEB7438ABDDD96), suites/valve-steam-keyring.gpg (0xF24AEA9FB05498B7)
and suites/ubuntu-archive-keyring.gpg (ubuntu-archive-keyring).
Simon McVittie's avatar
Simon McVittie committed
Then you can run:
Simon McVittie's avatar
Simon McVittie committed
    flatdeb/run.py --suite=scout_beta --arch=amd64,i386 base
    flatdeb/run.py --suite=scout_beta --arch=i386 base
    flatdeb/run.py --suite=scout_beta --arch=amd64,i386 runtimes \
Simon McVittie's avatar
Simon McVittie committed
    flatdeb/run.py --suite=scout_beta --arch=i386 runtimes \
Simon McVittie's avatar
Simon McVittie committed
    flatdeb/run.py --arch=amd64,i386 app \
Simon McVittie's avatar
Simon McVittie committed
        apps/org.debian.packages.mesa_utils.yaml
Simon McVittie's avatar
Simon McVittie committed
    flatdeb/run.py --arch=i386 app \
Simon McVittie's avatar
Simon McVittie committed
        apps/org.debian.packages.mesa_utils.yaml
Simon McVittie's avatar
Simon McVittie committed
    flatdeb/run.py --arch=amd64,i386 app \
Simon McVittie's avatar
Simon McVittie committed
        apps/com.valvesoftware.Steam.yaml
Simon McVittie's avatar
Simon McVittie committed
    flatdeb/run.py --arch=i386 app \
Simon McVittie's avatar
Simon McVittie committed
        apps/com.valvesoftware.Steam.yaml
On the host, or a test machine onto which you have copied
`$HOME/.cache/flatdeb/repo` with `rsync` or similar:
    flatpak --user remote-add --no-gpg-verify flatdeb $HOME/.cache/flatdeb/repo
Simon McVittie's avatar
Simon McVittie committed
    flatpak --user install flatdeb org.debian.packages.mesa_utils
    flatpak run org.debian.packages.mesa_utils
Simon McVittie's avatar
Simon McVittie committed
    flatpak --user install flatdeb com.valvesoftware.Steam
    flatpak run com.valvesoftware.Steam