start working on a sauerbraten flatpak

This commit is contained in:
shimun 2018-09-10 15:46:41 +02:00
parent 17293cd72d
commit 200a30ab48
3 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{
"app-id": "org.sauerbraten.Cube2",
"runtime": "org.kde.Platform",
"runtime-version": "5.9",
"sdk": "org.kde.Sdk",
"command": "sauerbraten",
"modules": [
{
"name": "game",
"sources": [
{
"type": "git",
"path": "src",
"commit": "17d79ca96f8ff9848c527979b90ec468f662f8c2"
}
],
"buildsystem": "simple",
"build-commands": [
"make -C src install"
]
},
{
"name": "share",
"sources": [
{
"type": "file",
"url": "http://quadropolis.us/files/sauerbratenicons.png",
"sha256": "4fcd5c0d46f124e64cf92346f32cfc03fe6b239bca098e7909c84f1a58caa71e"
},
{
"type": "dir",
"path": "share/applications"
}
],
"buildsystem": "simple",
"build-commands":[
"#mkdir -p files/share/applications",
"#install -D launcher.desktop sauerbratenicons.png files/share/applications/",
"#bash -c '(>&2 ls /app/ )'"
]
}
],
"rename-icon": "sauerbratenicons",
"rename-desktop-file": "launcher.desktop",
"finish-args": [
"--socket=x11",
"--socket=wayland",
"--share=network",
"--socket=pulseaudio"
]
}

3
setup-repo.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
git submodule update --init --recursive

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Name=Sauerbraten
Exec=sauerbraten
Comment=Cube2 Sauerbraten
Icon=sauerbraten
Type=Application
Categories=Games;