Add Flatpak

This commit is contained in:
Black Hat
2018-08-01 23:54:18 +08:00
parent 942d8b44a9
commit c35039ffc6
7 changed files with 48 additions and 0 deletions

38
com.gitlab.matrique.json Normal file
View File

@@ -0,0 +1,38 @@
{
"id": "com.gitlab.matrique",
"rename-icon": "matrique",
"rename-desktop-file": "matrique.desktop",
"runtime": "org.kde.Platform",
"runtime-version": "5.11",
"sdk": "org.kde.Sdk",
"command": "matrique",
"finish-args": [
"--share=ipc",
"--share=network",
"--socket=x11",
"--socket=wayland",
"--device=dri"
],
"modules": [
{
"name": "matrique",
"buildsystem": "simple",
"build-commands": [
"qmake .",
"make -j4",
"ls -l",
"install -D matrique /app/bin/matrique",
"install -D matrique.desktop /app/share/applications/matrique.desktop",
"for i in 16x16 32x32 128x128 256x256 512x512; do install -Dm644 icons/${i}.png /app/share/icons/hicolor/${i}/apps/matrique.png; done"
],
"sources": [
{
"type": "dir",
"path": "./"
}
]
}
]
}