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
|
|
|
|
},
|
2020-11-25 19:53:48 +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": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/sqlcipher/sqlcipher",
|
2020-09-04 20:14:25 +08:00
|
|
|
"tag": "v4.4.0",
|
|
|
|
"commit": "4a81bea61e1da6fec222d713852830f1fd01aed2",
|
2018-07-12 20:29:01 +08:00
|
|
|
"disable-fsckobjects" : true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-07-13 04:14:01 +08:00
|
|
|
{
|
|
|
|
"name": "snorenotify",
|
|
|
|
"buildsystem": "cmake-ninja",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/KDE/snorenotify",
|
|
|
|
"tag": "v0.7.0",
|
|
|
|
"commit": "9124e016f4f7615af5e8fca962994f7ed85de3cc"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2018-07-12 20:29:01 +08:00
|
|
|
{
|
|
|
|
"name": "libsodium",
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/jedisct1/libsodium",
|
2020-03-14 20:55:24 +08:00
|
|
|
"tag": "1.0.18",
|
|
|
|
"commit": "4f5e89fa84ce1d178a6765b8b46f2b6f91216677"
|
2018-07-12 20:29:01 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "c-toxcore",
|
|
|
|
"buildsystem": "cmake-ninja",
|
2020-11-25 19:53:48 +08:00
|
|
|
"config-opts": [
|
|
|
|
"-DDHT_BOOTSTRAP=OFF",
|
|
|
|
"-DBOOTSTRAP_DAEMON=OFF",
|
|
|
|
"-DENABLE_STATIC=OFF"
|
|
|
|
],
|
2018-07-12 20:29:01 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/toktok/c-toxcore",
|
2020-05-02 06:37:47 +08:00
|
|
|
"tag": "v0.2.12",
|
|
|
|
"commit": "9be4dbb4335bf7d893c8d00566d3276ab6dedd14"
|
2018-07-12 20:29:01 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "qTox",
|
|
|
|
"buildsystem": "cmake-ninja",
|
2020-04-12 16:34:31 +08:00
|
|
|
"config-opts": [
|
|
|
|
"-DSVGZ_ICON=OFF",
|
|
|
|
"-DSTRICT_OPTIONS=ON"
|
|
|
|
],
|
2018-07-12 20:29:01 +08:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "dir",
|
|
|
|
"path": "/build/qtox/"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|