Compare commits

...

2 Commits

Author SHA1 Message Date
Tobias Fella
91c6bd2ca6 Test 2024-08-31 16:24:05 +02:00
Tobias Fella
944e7ffa32 Adapt to vodozemac 2024-08-25 15:10:58 +02:00
2 changed files with 38 additions and 24 deletions

View File

@@ -8,6 +8,15 @@
"tags": [
"nightly"
],
"sdk-extensions": [
"org.freedesktop.Sdk.Extension.rust-stable"
],
"build-options": {
"append-path": "/usr/lib/sdk/rust-stable/bin",
"build-args" : [
"--share=network"
]
},
"desktop-file-name-suffix": " (Nightly)",
"finish-args": [
"--share=network",
@@ -40,23 +49,6 @@
}
]
},
{
"name": "olm",
"buildsystem": "cmake-ninja",
"config-opts": [ "-DOLM_TESTS=OFF" ],
"sources": [
{
"type": "git",
"url": "https://gitlab.matrix.org/matrix-org/olm.git",
"tag": "3.2.10",
"x-checker-data": {
"type": "git",
"tag-pattern": "^([\\d.]+)$"
},
"commit": "9908862979147a71dc6abaecd521be526ae77be1"
}
]
},
{
"name": "libsecret",
"buildsystem": "meson",
@@ -103,6 +95,31 @@
"-DBUILD_TRANSLATIONS=NO"
]
},
{
"name": "corrosion-rs",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://github.com/corrosion-rs/corrosion.git",
"branch": "master"
}
]
},
{
"name": "vodozemac-cpp",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://github.com/tobiasfella/vodozemac-cpp.git",
"branch": "main"
}
],
"config-opts": [
"-DBUILD_SHARED_LIBS=false"
]
},
{
"name": "libQuotient",
"buildsystem": "cmake-ninja",
@@ -110,7 +127,7 @@
{
"type": "git",
"url": "https://github.com/quotient-im/libQuotient.git",
"branch": "0.8.x",
"branch": "tobias/vodozemac",
"disable-submodules": true
}
],

View File

@@ -64,6 +64,8 @@ if (QT_KNOWN_POLICY_QTP0004)
qt_policy(SET QTP0004 NEW)
endif ()
link_directories("/home/user/CraftRoot/lib")
find_package(KF6 ${KF_MIN_VERSION} COMPONENTS Kirigami I18n Notifications Config CoreAddons Sonnet ItemModels ColorScheme)
set_package_properties(KF6 PROPERTIES
TYPE REQUIRED
@@ -105,7 +107,7 @@ if (NOT ANDROID AND NOT WIN32 AND NOT APPLE)
find_package(KF6DBusAddons ${KF_MIN_VERSION} REQUIRED)
endif()
find_package(QuotientQt6 0.8.2)
find_package(QuotientQt6 0.9)
set_package_properties(QuotientQt6 PROPERTIES
TYPE REQUIRED
DESCRIPTION "Qt wrapper around Matrix API"
@@ -113,11 +115,6 @@ set_package_properties(QuotientQt6 PROPERTIES
PURPOSE "Talk with matrix server"
)
if (NOT TARGET Olm::Olm)
message(FATAL_ERROR "NeoChat requires Quotient with the E2EE feature enabled")
endif()
find_package(cmark)
set_package_properties(cmark PROPERTIES
TYPE REQUIRED