tdesktop: 4.2.0 -> 4.2.4

This commit is contained in:
R. Ryantm 2022-09-30 01:38:33 +00:00 committed by ehmry
parent c1ec1f33b6
commit 4a758b5da3

View file

@ -32,7 +32,6 @@
, jemalloc
, rnnoise
, abseil-cpp
, kcoreaddons
# Transitive dependencies:
, util-linuxMinimal
, pcre
@ -74,7 +73,7 @@ let
in
env.mkDerivation rec {
pname = "telegram-desktop";
version = "4.2.0";
version = "4.2.4";
# Note: Update via pkgs/applications/networking/instant-messengers/telegram/tdesktop/update.py
# Telegram-Desktop with submodules
@ -83,13 +82,10 @@ env.mkDerivation rec {
repo = "tdesktop";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "1wpqn79pbarz48kmrh6gciw4a9y5hiki5qczlvj8smvx9is6yrf8";
sha256 = "sha256-X2ZbjlL3YbPdXSgS+wqZL3FUW2xQ0DhqiOO5MR1QyLY=";
};
postPatch = ''
substituteInPlace Telegram/CMakeLists.txt \
--replace '"''${TDESKTOP_LAUNCHER_BASENAME}.appdata.xml"' '"''${TDESKTOP_LAUNCHER_BASENAME}.metainfo.xml"'
substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.cpp \
--replace '"libasound.so.2"' '"${alsa-lib}/lib/libasound.so.2"'
substituteInPlace Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.cpp \
@ -139,7 +135,6 @@ env.mkDerivation rec {
jemalloc
rnnoise
tg_owt
kcoreaddons
# Transitive dependencies:
util-linuxMinimal # Required for libmount thus not nativeBuildInputs.
pcre