Posted September 02, 2018
Hello,
because Papers, Please! is a 32bit-Application an I didn't want to install 32bit libraries in my linux, I make a flatpak manifest and install the game.
Great thanks to the flatpak-gog-project (github.com/kujeger/flatpak-gog) where i have stolen how to install a gog-game without a gui. By the way the solution from flatpak-gog works, too.
Here is the manifest. You have to build the flatpak with the flag "--arch=i386":
"app-id": "com.gog.papers_please",
"branch": "2.0.0.5",
"runtime": "org.freedesktop.Sdk",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk/i386/1.6",
"command": "start.sh",
"finish-args": [
"--socket=x11",
"--device=dri",
"--socket=pulseaudio"
],
"modules": [
{
"name": "papers_please",
"buildsystem": "simple",
"build-commands": [
"script --return -c \"sh gog_papers_please_2.0.0.5.sh -- --notermspawn --i-agree-to-all-licenses --noreadme --nooptions --noprompt --destination /app/bin --ui=stdio\" /dev/null",
"mkdir -p /app/share/applications /app/share/icons/hicolor/256x256/apps",
"cp /app/bin/support/icon.png /app/share/icons/hicolor/256x256/apps/com.gog.papers_please.png",
"echo \"[Desktop Entry]\" > /app/share/applications/com.gog.papers_please.desktop",
"echo \"Type=Application\" >> /app/share/applications/com.gog.papers_please.desktop",
"echo \"Name=Papers, Please!\" >> /app/share/applications/com.gog.papers_please.desktop",
"echo \"Icon=com.gog.papers_please\" >> /app/share/applications/com.gog.papers_please.desktop",
"echo \"Exec=start.sh\" >> /app/share/applications/com.gog.papers_please.desktop",
"echo \"Categories=Game;\" >> /app/share/applications/com.gog.papers_please.desktop"
],
"sources": [
{
"type": "file",
"path": "gog_papers_please_2.0.0.5.sh"
}
]
}
]
}
because Papers, Please! is a 32bit-Application an I didn't want to install 32bit libraries in my linux, I make a flatpak manifest and install the game.
Great thanks to the flatpak-gog-project (github.com/kujeger/flatpak-gog) where i have stolen how to install a gog-game without a gui. By the way the solution from flatpak-gog works, too.
Here is the manifest. You have to build the flatpak with the flag "--arch=i386":
"app-id": "com.gog.papers_please",
"branch": "2.0.0.5",
"runtime": "org.freedesktop.Sdk",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk/i386/1.6",
"command": "start.sh",
"finish-args": [
"--socket=x11",
"--device=dri",
"--socket=pulseaudio"
],
"modules": [
{
"name": "papers_please",
"buildsystem": "simple",
"build-commands": [
"script --return -c \"sh gog_papers_please_2.0.0.5.sh -- --notermspawn --i-agree-to-all-licenses --noreadme --nooptions --noprompt --destination /app/bin --ui=stdio\" /dev/null",
"mkdir -p /app/share/applications /app/share/icons/hicolor/256x256/apps",
"cp /app/bin/support/icon.png /app/share/icons/hicolor/256x256/apps/com.gog.papers_please.png",
"echo \"[Desktop Entry]\" > /app/share/applications/com.gog.papers_please.desktop",
"echo \"Type=Application\" >> /app/share/applications/com.gog.papers_please.desktop",
"echo \"Name=Papers, Please!\" >> /app/share/applications/com.gog.papers_please.desktop",
"echo \"Icon=com.gog.papers_please\" >> /app/share/applications/com.gog.papers_please.desktop",
"echo \"Exec=start.sh\" >> /app/share/applications/com.gog.papers_please.desktop",
"echo \"Categories=Game;\" >> /app/share/applications/com.gog.papers_please.desktop"
],
"sources": [
{
"type": "file",
"path": "gog_papers_please_2.0.0.5.sh"
}
]
}
]
}
Post edited September 02, 2018 by fre.sch