psi-plus: make plugins-only libs optional
This commit is contained in:
@@ -14,10 +14,7 @@
|
||||
hunspell,
|
||||
libsecret,
|
||||
libgcrypt,
|
||||
libotr,
|
||||
html-tidy,
|
||||
libgpg-error,
|
||||
libsignal-protocol-c,
|
||||
usrsctp,
|
||||
|
||||
chatType ? "basic", # See the assertion below for available options
|
||||
@@ -25,6 +22,9 @@
|
||||
qtwebengine,
|
||||
|
||||
enablePlugins ? true,
|
||||
html-tidy,
|
||||
libotr,
|
||||
libsignal-protocol-c,
|
||||
|
||||
# Voice messages
|
||||
voiceMessagesSupport ? true,
|
||||
@@ -80,16 +80,18 @@ mkDerivation rec {
|
||||
hunspell
|
||||
libsecret
|
||||
libgcrypt
|
||||
libotr
|
||||
html-tidy
|
||||
libgpg-error
|
||||
libsignal-protocol-c
|
||||
usrsctp
|
||||
]
|
||||
++ lib.optionals voiceMessagesSupport [
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gst-plugins-good
|
||||
]
|
||||
++ lib.optionals enablePlugins [
|
||||
html-tidy
|
||||
libotr
|
||||
libsignal-protocol-c
|
||||
]
|
||||
++ lib.optionals (chatType == "webkit") [
|
||||
qtwebkit
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user