1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
qTox/flatpak/io.github.qtox.qTox.json

136 lines
3.8 KiB
JSON
Raw Normal View History

{
"app-id": "io.github.qtox.qTox",
"runtime": "org.kde.Platform",
"sdk": "org.kde.Sdk",
"runtime-version": "5.15",
"command": "qtox",
"rename-icon": "qtox",
"finish-args": [
"--share=network",
"--socket=pulseaudio",
"--socket=wayland",
"--socket=x11",
"--share=ipc",
"--talk-name=org.kde.StatusNotifierWatcher",
"--filesystem=xdg-desktop",
"--filesystem=xdg-documents",
"--filesystem=xdg-download",
"--filesystem=xdg-music",
"--filesystem=xdg-pictures",
"--filesystem=xdg-videos",
"--filesystem=/media",
"--device=all"
],
"add-extensions": {
"org.freedesktop.Platform.ffmpeg-full": {
"directory": "lib/ffmpeg",
"version": "20.08",
"add-ld-path": "."
}
},
2020-04-20 22:08:50 +08:00
"cleanup-commands": [
"mkdir -p /app/lib/ffmpeg"
],
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/man",
"*.la",
"*.a"
],
"modules": [
{
"name": "tcl",
"subdir": "unix",
"build-options": {
"no-debuginfo": true
},
"cleanup": [ '*' ],
"sources": [
{
"type": "archive",
"url": "https://downloads.sourceforge.net/project/tcl/Tcl/8.6.10/tcl8.6.10-src.tar.gz",
"sha256": "5196dbf6638e3df8d5c87b5815c8c2b758496eb6f0e41446596c9a4e638d87ed"
}
]
},
{
"name": "sqlcipher",
"cleanup": [
"/bin"
],
"config-opts": [
"--enable-tempstore=yes",
"--disable-tcl"
],
"build-options": {
"cflags": "-DSQLITE_HAS_CODEC",
"ldflags": "-lcrypto"
},
"sources": [
{
"type": "git",
"url": "https://github.com/sqlcipher/sqlcipher",
"tag": "v4.4.0",
"commit": "4a81bea61e1da6fec222d713852830f1fd01aed2",
"disable-fsckobjects" : true
}
]
},
{
"name": "snorenotify",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://github.com/KDE/snorenotify",
"tag": "v0.7.0",
"commit": "9124e016f4f7615af5e8fca962994f7ed85de3cc"
}
]
},
{
"name": "libsodium",
"sources": [
{
"type": "git",
"url": "https://github.com/jedisct1/libsodium",
"tag": "1.0.18",
"commit": "4f5e89fa84ce1d178a6765b8b46f2b6f91216677"
}
]
},
{
"name": "c-toxcore",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DDHT_BOOTSTRAP=OFF",
"-DBOOTSTRAP_DAEMON=OFF",
"-DENABLE_STATIC=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/toktok/c-toxcore",
"tag": "v0.2.12",
"commit": "9be4dbb4335bf7d893c8d00566d3276ab6dedd14"
}
]
},
{
"name": "qTox",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DSVGZ_ICON=OFF",
"-DSTRICT_OPTIONS=ON"
],
"sources": [
{
"type": "dir",
"path": "/build/qtox/"
}
]
}
]
}