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": "./"
}
]
}
]
}

BIN
icons/128x128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
icons/16x16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
icons/256x256.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
icons/32x32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

BIN
icons/512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

10
matrique.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=Matrique
GenericName=Matrix Client
Comment=IM client for the Matrix protocol
Exec=matrique
Terminal=false
Icon=matrique
Type=Application
Categories=Network;InstantMessaging;
Name[en_US]=Matrique