quassel: add ldap support for core

allows using ldap as an authentication backend for the core.
This commit is contained in:
Max Audron 2023-10-06 11:47:45 +02:00
parent 6e8e41ec9b
commit 746100a122

View file

@ -6,7 +6,7 @@
, lib, stdenv, fetchFromGitHub, cmake, makeWrapper, dconf
, mkDerivation, qtbase, boost, zlib, qtscript
, phonon, libdbusmenu, qca-qt5
, phonon, libdbusmenu, qca-qt5, openldap
, withKDE ? true # enable KDE integration
, extra-cmake-modules
@ -47,7 +47,7 @@ in (if !buildClient then stdenv.mkDerivation else mkDerivation) rec {
nativeBuildInputs = [ cmake makeWrapper ];
buildInputs = [ qtbase boost zlib ]
++ lib.optionals buildCore [qtscript qca-qt5 ]
++ lib.optionals buildCore [qtscript qca-qt5 openldap]
++ lib.optionals buildClient [libdbusmenu phonon]
++ lib.optionals (buildClient && withKDE) [
extra-cmake-modules kconfigwidgets kcoreaddons
@ -62,6 +62,7 @@ in (if !buildClient then stdenv.mkDerivation else mkDerivation) rec {
++ edf static "STATIC"
++ edf monolithic "WANT_MONO"
++ edf enableDaemon "WANT_CORE"
++ edf enableDaemon "WITH_LDAP"
++ edf client "WANT_QTCLIENT"
++ edf withKDE "WITH_KDE";