Skip to content

telegram-desktop: 5.14.3 -> 5.15.2 #414062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 7, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,16 @@

stdenv.mkDerivation {
pname = "tg_owt";
version = "0-unstable-2024-10-28";
version = "0-unstable-2025-06-02";

src = fetchFromGitHub {
owner = "desktop-app";
repo = "tg_owt";
rev = "8198c4d8b91e22d68eb5c7327fd408e3b6abcc79";
hash = "sha256-3sLa3Px0VWgRYqnnLlwLnx+WWnneqZyhQPrRMBriXQA=";
rev = "62321fd7128ab2650b459d4195781af8185e46b5";
hash = "sha256-l6EdHJLd42TU+4pLakdU3a5PLVxrxjta0CSRy5hVBFU=";
fetchSubmodules = true;
};

patches = [
# Fix build with Pipewire 1.4
# Submitted upstream: https://webrtc-review.googlesource.com/c/src/+/380500
./tg_owt-pipewire-1.4.patch
];

postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
substituteInPlace src/modules/desktop_capture/linux/wayland/egl_dmabuf.cc \
--replace-fail '"libEGL.so.1"' '"${lib.getLib libGL}/lib/libEGL.so.1"' \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
python3,
tdlib,
tg_owt ? callPackage ./tg_owt.nix { inherit stdenv; },
libavif,
libheif,
libjxl,
kimageformats,
qtbase,
qtimageformats,
qtsvg,
Expand Down Expand Up @@ -47,14 +51,14 @@

stdenv.mkDerivation (finalAttrs: {
pname = "telegram-desktop-unwrapped";
version = "5.14.3";
version = "5.15.2";

src = fetchFromGitHub {
owner = "telegramdesktop";
repo = "tdesktop";
rev = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-nNYQpWbBK+E/LAbwTWpNUhs2+wb8iuMfqkxJKjaFmhg=";
hash = "sha256-T+gzNY3jPfCWjV9yFEGlz8kNGeAioyDUD2qazM/j05I=";
};

postPatch = lib.optionalString stdenv.hostPlatform.isLinux ''
Expand Down Expand Up @@ -98,6 +102,13 @@ stdenv.mkDerivation (finalAttrs: {
boost
ada
(tdlib.override { tde2eOnly = true; })
# even though the last 3 dependencies are already in `kimageformats`,
# because of a logic error in the cmake files, in td 5.15.{1,2} it
# doesn't link when you don't add them explicitly
kimageformats
libavif
libheif
libjxl
]
++ lib.optionals stdenv.hostPlatform.isLinux [
protobuf
Expand Down