mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
71b5c50ac6
(cherry picked from commit 58ee2feea8
)
147 lines
4.2 KiB
JSON
147 lines
4.2 KiB
JSON
{
|
|
"app-id": "io.github.qtox.qTox",
|
|
"runtime": "org.kde.Platform",
|
|
"sdk": "org.kde.Sdk",
|
|
"runtime-version": "5.12",
|
|
"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": "18.08",
|
|
"add-ld-path": "."
|
|
}
|
|
},
|
|
"cleanup": [
|
|
"/include",
|
|
"/lib/pkgconfig",
|
|
"/share/man",
|
|
"*.la",
|
|
"*.a"
|
|
],
|
|
"modules": [
|
|
{
|
|
"name": "tcl",
|
|
"subdir": "unix",
|
|
"build-options": {
|
|
"no-debuginfo": true
|
|
},
|
|
"cleanup": [
|
|
"/bin",
|
|
"/lib",
|
|
"/man"
|
|
],
|
|
"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.3.0",
|
|
"commit": "ece66fdcbb6b43876d25e8e6308991a097fa8661",
|
|
"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"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
/* Reminder: this is included in KDE 5.13 */
|
|
"name": "libqrencode",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": [
|
|
"-DWITH_TOOLS=NO",
|
|
"-DBUILD_SHARED_LIBS=ON"
|
|
],
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/fukuchi/libqrencode",
|
|
"tag": "v4.0.2",
|
|
"commit": "59ee597f913fcfda7a010a6e106fbee2595f68e4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "c-toxcore",
|
|
"buildsystem": "cmake-ninja",
|
|
"sources": [
|
|
{
|
|
"type": "git",
|
|
"url": "https://github.com/toktok/c-toxcore",
|
|
"tag": "v0.2.10",
|
|
"commit": "7aab0d995240c59937d1aa23b7201389341a2be9"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "qTox",
|
|
"buildsystem": "cmake-ninja",
|
|
"config-opts": ["-DSVGZ_ICON=OFF"],
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "/build/qtox/"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
|