start working on a sauerbraten flatpak
This commit is contained in:
parent
17293cd72d
commit
200a30ab48
52
org.sauerbraten.Cube2.json
Normal file
52
org.sauerbraten.Cube2.json
Normal 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
3
setup-repo.sh
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
git submodule update --init --recursive
|
7
share/applications/launcher.desktop
Normal file
7
share/applications/launcher.desktop
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Sauerbraten
|
||||||
|
Exec=sauerbraten
|
||||||
|
Comment=Cube2 Sauerbraten
|
||||||
|
Icon=sauerbraten
|
||||||
|
Type=Application
|
||||||
|
Categories=Games;
|
Loading…
x
Reference in New Issue
Block a user