qxmpp: 1.15.1 -> 1.16.1 (#538732)

This commit is contained in:
Peder Bergebakken Sundt
2026-07-18 16:37:25 +00:00
committed by GitHub

View File

@@ -5,22 +5,24 @@
cmake,
pkg-config,
kdePackages,
ctestCheckHook,
withGstreamer ? true,
gst_all_1,
withOmemo ? true,
libomemo-c,
withEncryption ? true,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "qxmpp";
version = "1.15.1";
version = "1.16.1";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "libraries";
repo = "qxmpp";
tag = "v${finalAttrs.version}";
hash = "sha256-PkdzEQKI0NiLvDyI+SEoKainF7UiAU3UVJQjgwYKHuo=";
hash = "sha256-JuGSLi0oqlUTbJnjlqd9qo0Dk2yCY1hfryQy0CuEjLo=";
};
nativeBuildInputs = [
@@ -46,21 +48,30 @@ stdenv.mkDerivation (finalAttrs: {
libomemo-c
];
cmakeFlags = [
"-DBUILD_EXAMPLES=false"
"-DBUILD_TESTS=false"
]
++ lib.optionals withGstreamer [
"-DWITH_GSTREAMER=ON"
]
++ lib.optionals withOmemo [
"-DBUILD_OMEMO=ON"
(lib.cmakeBool "BUILD_DOCUMENTATION" false)
(lib.cmakeBool "BUILD_EXAMPLES" false)
(lib.cmakeBool "BUILD_TESTING" finalAttrs.doCheck)
(lib.cmakeBool "BUILD_OMEMO" withOmemo)
(lib.cmakeBool "WITH_ENCRYPTION" withEncryption)
(lib.cmakeBool "WITH_GSTREAMER" withGstreamer)
];
doCheck = true;
nativeCheckInputs = [ ctestCheckHook ];
disabledTests = [
"tst_QXmppIceConnection"
"tst_QXmppTransferManager"
];
meta = {
description = "Cross-platform C++ XMPP client and server library";
changelog = "https://invent.kde.org/libraries/qxmpp/-/blob/${finalAttrs.src.tag}/CHANGELOG.md";
homepage = "https://invent.kde.org/libraries/qxmpp";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ astro ];
maintainers = with lib.maintainers; [
astro
haansn08
];
platforms = with lib.platforms; linux;
};
})