mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
net-im/t*: update Telegram Desktop to 4.11.5 (+)
Also, update net-im/tg_owt to the recent commit.
This commit is contained in:
parent
4854dd90a1
commit
1114a1e961
@ -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
|
||||
@ -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'
|
||||
|
@ -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
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp.orig 2023-10-02 20:31:34 UTC
|
||||
+++ Telegram/SourceFiles/platform/linux/notifications_manager_linux.cpp
|
||||
@@ -814,7 +814,7 @@ bool ByDefault() {
|
||||
|
||||
// A list of capabilities that offer feature parity
|
||||
// with custom notifications
|
||||
- return ranges::all_of(std::initializer_list{
|
||||
+ return ranges::all_of(std::array{
|
||||
// To show message content
|
||||
"body",
|
||||
// To have buttons on notifications
|
@ -1,5 +1,5 @@
|
||||
PORTNAME= tg_owt
|
||||
PORTVERSION= 0.0.20230918
|
||||
PORTVERSION= 0.0.20231101
|
||||
CATEGORIES= net-im
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
@ -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
|
||||
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user