Port flatpak

This commit is contained in:
Tobias Fella
2026-01-06 00:13:45 +01:00
parent c8eb62989c
commit 9498f76bfb
2 changed files with 3991 additions and 25 deletions

View File

@@ -4,6 +4,17 @@
"runtime": "org.kde.Platform", "runtime": "org.kde.Platform",
"runtime-version": "6.10", "runtime-version": "6.10",
"sdk": "org.kde.Sdk", "sdk": "org.kde.Sdk",
"sdk-extensions" : [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin",
"env": {
"RUST_BACKTRACE": "1",
"CARGO_NET_OFFLINE": "true",
"RUSTFLAGS": "--remap-path-prefix =../"
}
},
"command": "neochat", "command": "neochat",
"tags": [ "tags": [
"nightly" "nightly"
@@ -61,26 +72,6 @@
} }
] ]
}, },
{
"name": "olm",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
"-DOLM_TESTS=OFF"
],
"sources": [
{
"type": "git",
"url": "https://gitlab.matrix.org/matrix-org/olm.git",
"tag": "3.2.16",
"x-checker-data": {
"type": "git",
"tag-pattern": "^([\\d.]+)$"
},
"commit": "7e0c8277032e40308987257b711b38af8d77cc69"
}
]
},
{ {
"name": "libsecret", "name": "libsecret",
"buildsystem": "meson", "buildsystem": "meson",
@@ -129,21 +120,36 @@
] ]
}, },
{ {
"name": "libQuotient", "name": "corrosion",
"buildsystem": "cmake-ninja", "buildsystem": "cmake-ninja",
"sources": [ "sources": [
{ {
"type": "git", "type": "git",
"url": "https://github.com/quotient-im/libQuotient.git", "url": "https://github.com/corrosion-rs/corrosion"
"branch": "dev", }
"disable-submodules": true ]
},
{
"name": "libQuotient",
"buildsystem": "cmake-ninja",
"sources": [
"generated-sources.json",
{
"type": "git",
"url": "https://github.com/quotient-im/libquotient",
"branch": "tobias/rust-sdk-crypto"
} }
], ],
"config-opts": [ "config-opts": [
"-DBUILD_WITH_QT6=ON", "-DBUILD_WITH_QT6=ON",
"-DQuotient_ENABLE_E2EE=ON", "-DQuotient_ENABLE_E2EE=ON",
"-DBUILD_TESTING=OFF" "-DBUILD_TESTING=OFF"
] ],
"build-options": {
"env": {
"CARGO_HOME": "/run/build/libQuotient/cargo"
}
}
}, },
{ {
"name": "cmark", "name": "cmark",

3960
generated-sources.json Normal file

File diff suppressed because it is too large Load Diff