Merge pull request #129393 from unclechu/bugfix-psi-plus-voice-messages-do-not-work
This commit is contained in:
commit
7f3069e0ff
1 changed files with 13 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
||||||
, libidn, qca-qt5, libXScrnSaver, hunspell
|
, libidn, qca-qt5, libXScrnSaver, hunspell
|
||||||
, libsecret, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c
|
, libsecret, libgcrypt, libotr, html-tidy, libgpgerror, libsignal-protocol-c
|
||||||
, usrsctp
|
, usrsctp
|
||||||
|
|
||||||
|
# Voice messages
|
||||||
|
, voiceMessagesSupport ? true
|
||||||
|
, gst_all_1
|
||||||
}:
|
}:
|
||||||
|
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
|
@ -27,8 +31,17 @@ mkDerivation rec {
|
||||||
libidn qca-qt5 libXScrnSaver hunspell
|
libidn qca-qt5 libXScrnSaver hunspell
|
||||||
libsecret libgcrypt libotr html-tidy libgpgerror libsignal-protocol-c
|
libsecret libgcrypt libotr html-tidy libgpgerror libsignal-protocol-c
|
||||||
usrsctp
|
usrsctp
|
||||||
|
] ++ lib.optionals voiceMessagesSupport [
|
||||||
|
gst_all_1.gst-plugins-base
|
||||||
|
gst_all_1.gst-plugins-good
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preFixup = lib.optionalString voiceMessagesSupport ''
|
||||||
|
qtWrapperArgs+=(
|
||||||
|
--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://psi-plus.com";
|
homepage = "https://psi-plus.com";
|
||||||
description = "XMPP (Jabber) client";
|
description = "XMPP (Jabber) client";
|
||||||
|
|
Loading…
Reference in a new issue