Skip to content

Commit

Permalink
net-im/t*: update Telegram Desktop to 4.11.5 (+)
Browse files Browse the repository at this point in the history
Also, update net-im/tg_owt to the recent commit.
  • Loading branch information
osokin committed Nov 8, 2023
1 parent 4854dd9 commit 1114a1e
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 24 deletions.
29 changes: 27 additions & 2 deletions net-im/telegram-desktop/Makefile
@@ -1,6 +1,5 @@
PORTNAME= telegram-desktop
DISTVERSION= 4.10.3
PORTREVISION= 1
DISTVERSION= 4.11.5
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
Expand Down Expand Up @@ -111,6 +110,32 @@ USES+= llvm:max=15,build
USES+= compiler:c++20-lang
.endif

post-extract:
# Some of the third-party components already built, and
# can be safely removed
${RM} -rf \
${WRKSRC}/Telegram/ThirdParty/QR \
${WRKSRC}/Telegram/ThirdParty/dispatch \
${WRKSRC}/Telegram/ThirdParty/expected \
${WRKSRC}/Telegram/ThirdParty/fcitx5-qt \
${WRKSRC}/Telegram/ThirdParty/hime \
${WRKSRC}/Telegram/ThirdParty/hunspell \
${WRKSRC}/Telegram/ThirdParty/jemalloc \
${WRKSRC}/Telegram/ThirdParty/lz4 \
${WRKSRC}/Telegram/ThirdParty/minizip \
${WRKSRC}/Telegram/ThirdParty/jimf \
${WRKSRC}/Telegram/ThirdParty/plasma-wayland-protocols \
${WRKSRC}/Telegram/ThirdParty/range-v3 \
${WRKSRC}/Telegram/ThirdParty/wayland \
${WRKSRC}/Telegram/ThirdParty/wayland-protocols \
${WRKSRC}/Telegram/ThirdParty/xxHash

.if ${FLAVOR} == qt5
${RM} -rf \
${WRKSRC}/Telegram/ThirdParty/kcoreaddons \
${WRKSRC}/Telegram/ThirdParty/kimageformats
.endif

post-patch:
# XXX fix the following on every source file
# warning: unknown warning option '-Wno-maybe-uninitialized'
Expand Down
6 changes: 3 additions & 3 deletions net-im/telegram-desktop/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1696278627
SHA256 (tdesktop-4.10.3-full.tar.gz) = 09d793834f7a25614ba23995e2290002a09e8e790520b4a265d0f7c3592c396e
SIZE (tdesktop-4.10.3-full.tar.gz) = 67750018
TIMESTAMP = 1699463455
SHA256 (tdesktop-4.11.5-full.tar.gz) = a4c569d6e4587682c4a834e55c8c3acf507b477ca2f11c08f23c4cfe2773cf99
SIZE (tdesktop-4.11.5-full.tar.gz) = 68347224

This file was deleted.

7 changes: 2 additions & 5 deletions net-im/tg_owt/Makefile
@@ -1,5 +1,5 @@
PORTNAME= tg_owt
PORTVERSION= 0.0.20230918
PORTVERSION= 0.0.20231101
CATEGORIES= net-im

MAINTAINER= ports@FreeBSD.org
Expand All @@ -21,7 +21,7 @@ USE_XORG= x11 xcomposite xdamage xrender xrandr xtst
USE_GL= gbm
USE_GITHUB= yes
GH_ACCOUNT= desktop-app
GH_TAGNAME= 592b14d
GH_TAGNAME= 71cce98

# libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv
# when updating port check if hash tag in the submodule was updated
Expand All @@ -30,7 +30,4 @@ GH_TUPLE= abseil:abseil-cpp:8c0b94e:abseilcpp/src/third_party/abseil-cpp \
google:crc32c:21fc8ef:crc32c/src/third_party/crc32c/src \
klemensn:libyuv:04821d:libyuv/src/third_party/libyuv

# mute deprecation warnings from abseil submodule
CXXFLAGS+= -Wno-deprecated-builtins

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions net-im/tg_owt/distinfo
@@ -1,6 +1,6 @@
TIMESTAMP = 1695758173
SHA256 (desktop-app-tg_owt-0.0.20230918-592b14d_GH0.tar.gz) = ff40fbb4b229ecbaf96a7ece17af6b4076ab21591500878bce50db81c5494704
SIZE (desktop-app-tg_owt-0.0.20230918-592b14d_GH0.tar.gz) = 13719987
TIMESTAMP = 1698950086
SHA256 (desktop-app-tg_owt-0.0.20231101-71cce98_GH0.tar.gz) = 1e48900bd7d84efc737670962559d8845f52eaa382add32766f9fa1259e24e78
SIZE (desktop-app-tg_owt-0.0.20231101-71cce98_GH0.tar.gz) = 13720179
SHA256 (abseil-abseil-cpp-8c0b94e_GH0.tar.gz) = e995f06ce4fd4a9641e6a8e5d8d2258710eef481a07307a3e727012f1a83c442
SIZE (abseil-abseil-cpp-8c0b94e_GH0.tar.gz) = 1957422
SHA256 (cisco-libsrtp-a566a9_GH0.tar.gz) = 3a02196f8bb36ff640cb1d24920414f9c80e3d7ca78304cab0e6a70ca72a683f
Expand Down

0 comments on commit 1114a1e

Please sign in to comment.