2018-07-12 20:29:01 +08:00
|
|
|
{
|
|
|
|
"app-id": "io.github.qtox.qTox",
|
|
|
|
"runtime": "org.kde.Platform",
|
|
|
|
"sdk": "org.kde.Sdk",
|
2020-09-04 20:14:25 +08:00
|
|
|
"runtime-version": "5.15",
|
2018-07-12 20:29:01 +08:00
|
|
|
"command": "qtox",
|
|
|
|
"rename-icon": "qtox",
|
|
|
|
"finish-args": [
|
|
|
|
"--share=network",
|
|
|
|
"--socket=pulseaudio",
|
|
|
|
"--socket=wayland",
|
|
|
|
"--socket=x11",
|
|
|
|
"--share=ipc",
|
2020-03-14 20:55:24 +08:00
|
|
|
"--talk-name=org.kde.StatusNotifierWatcher",
|
2018-07-12 20:29:01 +08:00
|
|
|
"--filesystem=xdg-desktop",
|
|
|
|
"--filesystem=xdg-documents",
|
|
|
|
"--filesystem=xdg-download",
|
|
|
|
"--filesystem=xdg-music",
|
|
|
|
"--filesystem=xdg-pictures",
|
|
|
|
"--filesystem=xdg-videos",
|
|
|
|
"--filesystem=/media",
|
|
|
|
"--device=all"
|
|
|
|
],
|
2020-03-14 20:55:24 +08:00
|
|
|
"add-extensions": {
|
|
|
|
"org.freedesktop.Platform.ffmpeg-full": {
|
|
|
|
"directory": "lib/ffmpeg",
|
2020-09-04 20:14:25 +08:00
|
|
|
"version": "20.08",
|
2020-03-14 20:55:24 +08:00
|
|
|
"add-ld-path": "."
|
|
|
|
}
|
2018-07-12 20:29:01 +08:00
|
|
|
},
|
2020-04-20 22:08:50 +08:00
|
|
|
"cleanup-commands": [
|
|
|
|
"mkdir -p /app/lib/ffmpeg"
|
|
|
|
],
|
2018-07-12 20:29:01 +08:00
|
|
|
"cleanup": [
|
|
|
|
"/include",
|
|
|
|
"/lib/pkgconfig",
|
2020-03-14 20:55:24 +08:00
|
|
|
"/share/man",
|
|
|
|
"*.la",
|
|
|
|
"*.a"
|
2018-07-12 20:29:01 +08:00
|
|
|
],
|
|
|
|
"modules": [
|
|
|
|
{
|
2020-03-14 20:55:24 +08:00
|
|
|
"name": "tcl",
|
|
|
|
"subdir": "unix",
|
|
|
|
"build-options": {
|
|
|
|
"no-debuginfo": true
|
|
|
|
},
|
2021-12-19 21:48:02 +08:00
|
|
|
"cleanup": [ "*" ],
|
2018-07-12 20:29:01 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2020-03-14 20:55:24 +08:00
|
|
|
"url": "https://downloads.sourceforge.net/project/tcl/Tcl/8.6.10/tcl8.6.10-src.tar.gz",
|
|
|
|
"sha256": "5196dbf6638e3df8d5c87b5815c8c2b758496eb6f0e41446596c9a4e638d87ed"
|
2018-07-12 20:29:01 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "sqlcipher",
|
2020-03-14 20:55:24 +08:00
|
|
|
"cleanup": [
|
|
|
|
"/bin"
|
|
|
|
],
|
2018-07-12 20:29:01 +08:00
|
|
|
"config-opts": [
|
|
|
|
"--enable-tempstore=yes",
|
|
|
|
"--disable-tcl"
|
|
|
|
],
|
2020-03-14 20:55:24 +08:00
|
|
|
"build-options": {
|
|
|
|
"cflags": "-DSQLITE_HAS_CODEC",
|
|
|
|
"ldflags": "-lcrypto"
|
|
|
|
},
|
2018-07-12 20:29:01 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
2021-11-08 13:27:45 +08:00
|
|
|
"type": "dir",
|
|
|
|
"path": "/src/sqlcipher"
|
2018-07-13 04:14:01 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-07-12 20:29:01 +08:00
|
|
|
{
|
|
|
|
"name": "libsodium",
|
|
|
|
"sources": [
|
|
|
|
{
|
2021-11-08 13:27:45 +08:00
|
|
|
"type": "dir",
|
|
|
|
"path": "/src/libsodium"
|
2018-07-12 20:29:01 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2022-02-19 10:18:56 +08:00
|
|
|
{
|
|
|
|
"name": "msgpack",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
|
|
|
"-DMSGPACK_BUILD_EXAMPLES=OFF",
|
|
|
|
"-DMSGPACK_BUILD_TESTS=OFF"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "dir",
|
|
|
|
"path": "/src/msgpack"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-07-12 20:29:01 +08:00
|
|
|
{
|
|
|
|
"name": "c-toxcore",
|
|
|
|
"buildsystem": "cmake-ninja",
|
2020-11-25 19:53:48 +08:00
|
|
|
"config-opts": [
|
2021-12-20 16:25:30 +08:00
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
2020-11-25 19:53:48 +08:00
|
|
|
"-DDHT_BOOTSTRAP=OFF",
|
|
|
|
"-DBOOTSTRAP_DAEMON=OFF",
|
|
|
|
"-DENABLE_STATIC=OFF"
|
|
|
|
],
|
2018-07-12 20:29:01 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
2021-11-08 13:27:45 +08:00
|
|
|
"type": "dir",
|
|
|
|
"path": "/src/toxcore"
|
2018-07-12 20:29:01 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2019-11-18 06:00:25 +08:00
|
|
|
{
|
|
|
|
"name": "toxext",
|
|
|
|
"buildsystem": "cmake-ninja",
|
2021-12-20 16:25:30 +08:00
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
],
|
2019-11-18 06:00:25 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
2021-11-08 13:27:45 +08:00
|
|
|
"type": "dir",
|
|
|
|
"path": "/src/toxext"
|
2019-11-18 06:00:25 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "tox_extension_messages",
|
|
|
|
"buildsystem": "cmake-ninja",
|
2021-12-20 16:25:30 +08:00
|
|
|
"config-opts": [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
],
|
2019-11-18 06:00:25 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
2021-11-08 13:27:45 +08:00
|
|
|
"type": "dir",
|
|
|
|
"path": "/src/toxext_messages"
|
2019-11-18 06:00:25 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-07-12 20:29:01 +08:00
|
|
|
{
|
|
|
|
"name": "qTox",
|
|
|
|
"buildsystem": "cmake-ninja",
|
2020-04-12 16:34:31 +08:00
|
|
|
"config-opts": [
|
2021-12-20 16:25:30 +08:00
|
|
|
"-DCMAKE_BUILD_TYPE=Release",
|
2020-04-12 16:34:31 +08:00
|
|
|
"-DSVGZ_ICON=OFF",
|
|
|
|
"-DSTRICT_OPTIONS=ON"
|
|
|
|
],
|
2018-07-12 20:29:01 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "dir",
|
2021-11-08 13:27:45 +08:00
|
|
|
"path": "/qtox/"
|
2018-07-12 20:29:01 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|