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
Mick Sayson 761c2fb292 fix(toxext): Update toxext to fix memory corruption issues
* tox_extension_messages updated as well for compatibility
2021-10-25 23:20:51 -07:00

160 lines
4.6 KiB
JSON

{
"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": "."
}
},
"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": "toxext",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://github.com/toxext/toxext",
"tag": "v0.0.3",
"commit": "e34f91bc92bc1799c133bd1602ef5748a4eb4459"
}
]
},
{
"name": "tox_extension_messages",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://github.com/toxext/tox_extension_messages",
"tag": "v0.0.3",
"commit": "3def0e36f63a3537b8fda87e12f870665d90dfcc"
}
]
},
{
"name": "qTox",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DSVGZ_ICON=OFF",
"-DSTRICT_OPTIONS=ON"
],
"sources": [
{
"type": "dir",
"path": "/build/qtox/"
}
]
}
]
}