Browse Source

net-im/telegram-desktop: Update to version 5.7.2 with additions from [PR277344](https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277344)

master
Sergey Kiselev 1 month ago
parent
commit
af8e77ea27
  1. 21
      net-im/telegram-desktop/Makefile
  2. 6
      net-im/telegram-desktop/distinfo

21
net-im/telegram-desktop/Makefile

@ -1,5 +1,5 @@
PORTNAME= telegram-desktop
DISTVERSION= 5.6.3
DISTVERSION= 5.7.2
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
@ -63,8 +63,8 @@ USE_QT= buildtools:build core dbus declarative gui imageformats network qmake:b
svg widgets
USE_KDE= coreaddons kimageformats
.else
USE_QT= 5compat base declarative imageformats lottie shadertools svg tools:build
USES+= kde:6 qt:6
USE_QT= 5compat base declarative imageformats lottie shadertools svg tools:build
USE_KDE= coreaddons kimageformats
.endif
@ -75,7 +75,7 @@ CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_
-DQT_VERSION_MAJOR=${FLAVOR:S/qt//}
CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \
DESKTOP_APP_DISABLE_JEMALLOC \
DESKTOP_APP_DISABLE_SCUDO \
DESKTOP_APP_DISABLE_SCUDO
# Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port).
CMAKE_ARGS+= -DLINUX=true
@ -87,14 +87,14 @@ LDFLAGS+= -lBlocksRuntime
# It dynamically loads PulseAudio, and if this fails, it loads ALSA.
# If both of them are not installed, then voice calls do not work, but other functionalities still work.
OPTIONS_DEFINE= SYSTEM_FONTS
OPTIONS_DEFAULT= ALSA WAYLAND X11
OPTIONS_DEFAULT= ALSA X11 WAYLAND
OPTIONS_GROUP= AUDIO
OPTIONS_MULTI= DESKTOP
OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO
OPTIONS_MULTI_DESKTOP= WAYLAND X11
OPTIONS_MULTI_DESKTOP= X11 WAYLAND
AUDIO_DESC= Audio backend for voice calls
DESKTOP_DESC= Desktop integration
DESKTOP_DESC= Desktop integration
SYSTEM_FONTS_DESC= Use system fonts instead of bundled patched ones
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
@ -103,11 +103,12 @@ ALSA_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_ALSA
PULSEAUDIO_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_PULSEAUDIO
SYSTEM_FONTS_CMAKE_BOOL_OFF= DESKTOP_APP_USE_PACKAGED_FONTS
WAYLAND_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
WAYLAND_USE= qt=wayland
X11_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_X11_INTEGRATION
X11_USES= xorg
X11_USE= xorg=x11,xcb,xcomposite,xdamage,xext,xfixes,xrandr,xrender,xtst
WAYLAND_USE= qt=wayland
X11_CMAKE_BOOL_OFF= DESKTOP_APP_DISABLE_X11_INTEGRATION
X11_USES= xorg
X11_USE= xorg=x11,xcb,xcomposite,xdamage,xext,xfixes,xrandr,xrender,xtst
X11_LIB_DEPENDS= libxcb-keysyms.so:x11/xcb-util-keysyms \
libxkbcommon.so:x11/libxkbcommon
# Telegram asks each custom build to have its own API ID and hash.
TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d

6
net-im/telegram-desktop/distinfo

@ -1,3 +1,3 @@
TIMESTAMP = 1729038898
SHA256 (tdesktop-5.6.3-full.tar.gz) = e32628184aa571f1051e1f8ac75a67455a07c1753a3be47bfb013994c941db15
SIZE (tdesktop-5.6.3-full.tar.gz) = 70333924
TIMESTAMP = 1730860882
SHA256 (tdesktop-5.7.2-full.tar.gz) = 3442e28e01d937376e687615e3ee13fb580788c4deb7561b410522ce3452fdef
SIZE (tdesktop-5.7.2-full.tar.gz) = 70396886

Loading…
Cancel
Save