summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2023-04-22 22:50:34 -0400
committerSergey A. Osokin <osa@FreeBSD.org>2023-04-22 22:50:34 -0400
commitf7596f833caa1b18c84714e4648008a3fc78bbb2 (patch)
treee0f4f91b530fa53c3f685b1f71b14efcc42ad998
parentgames/veloren-weekly: mark BROKEN on aarch64 after 016cd848e57e (diff)
net-im/t*: update Telegram Desktop to 4.8.0
Also, add option to use system fonts. (*) PR: 264274 (*)
-rw-r--r--net-im/telegram-desktop/Makefile9
-rw-r--r--net-im/telegram-desktop/distinfo6
-rw-r--r--net-im/tg_owt/Makefile4
-rw-r--r--net-im/tg_owt/distinfo6
4 files changed, 13 insertions, 12 deletions
diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile
index a9ef4225e8f0..de037500570a 100644
--- a/net-im/telegram-desktop/Makefile
+++ b/net-im/telegram-desktop/Makefile
@@ -1,6 +1,5 @@
PORTNAME= telegram-desktop
-DISTVERSION= 4.7.1
-PORTREVISION= 1
+DISTVERSION= 4.8.0
CATEGORIES= net-im
MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/
DISTNAME= tdesktop-${DISTVERSION}-full
@@ -72,7 +71,6 @@ USE_XORG= x11 xcb xcomposite xdamage xext xfixes xrandr xrender xtst
CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH}
CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \
DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION
-CMAKE_OFF= DESKTOP_APP_USE_PACKAGED_FONTS
# Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port).
CMAKE_ARGS+= -DLINUX=true
@@ -83,16 +81,19 @@ LDFLAGS+= -lBlocksRuntime
# Telegram uses OpenAL for its audio, but libtgvoip (for voice calls) can use PulseAudio or ALSA.
# 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
OPTIONS_GROUP= AUDIO
OPTIONS_GROUP_AUDIO= ALSA PULSEAUDIO
-AUDIO_DESC= Audio backend for voice calls
+AUDIO_DESC= Audio backend for voice calls
+SYSTEM_FONTS_DESC= Use system fonts instead of bundled patches ones
ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
ALSA_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_ALSA
PULSEAUDIO_CMAKE_BOOL_OFF= LIBTGVOIP_DISABLE_PULSEAUDIO
+SYSTEM_FONTS_CMAKE_BOOL= DESKTOP_APP_USE_PACKAGED_FONTS
# Telegram asks each custom build to have its own API ID and hash.
TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d
diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo
index 9664704792a6..7d720dfa71db 100644
--- a/net-im/telegram-desktop/distinfo
+++ b/net-im/telegram-desktop/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679498573
-SHA256 (tdesktop-4.7.1-full.tar.gz) = c3aeb12f5f533eacc70e69e5056f46cd01245ada67fd3fbc70e161104b87f8c5
-SIZE (tdesktop-4.7.1-full.tar.gz) = 63990659
+TIMESTAMP = 1682201134
+SHA256 (tdesktop-4.8.0-full.tar.gz) = 99d50c75171c8c6e74b2b9298db48deff32a60ced35195f9279469914b8ee1f9
+SIZE (tdesktop-4.8.0-full.tar.gz) = 63994851
diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile
index 4560ab50d46d..aa5f2be0d060 100644
--- a/net-im/tg_owt/Makefile
+++ b/net-im/tg_owt/Makefile
@@ -1,5 +1,5 @@
PORTNAME= tg_owt
-PORTVERSION= 0.0.20230313
+PORTVERSION= 0.0.20230418
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= 1a18da2
+GH_TAGNAME= fe316b0
# libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv
# when updating port check if hash tag in the submodule was updated
diff --git a/net-im/tg_owt/distinfo b/net-im/tg_owt/distinfo
index f2304fe53b8c..f4094e11489b 100644
--- a/net-im/tg_owt/distinfo
+++ b/net-im/tg_owt/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1679254801
-SHA256 (desktop-app-tg_owt-0.0.20230313-1a18da2_GH0.tar.gz) = e0d739fb68fb7250c067881852329d4ae13fd2deeca88daee89c9deddfbe23e5
-SIZE (desktop-app-tg_owt-0.0.20230313-1a18da2_GH0.tar.gz) = 13815476
+TIMESTAMP = 1682211535
+SHA256 (desktop-app-tg_owt-0.0.20230418-fe316b0_GH0.tar.gz) = fac71ecd94f1da462c81984d347b3edec595ec08faec03ed74b64891e5dca746
+SIZE (desktop-app-tg_owt-0.0.20230418-fe316b0_GH0.tar.gz) = 13816640
SHA256 (abseil-abseil-cpp-8c0b94e_GH0.tar.gz) = e995f06ce4fd4a9641e6a8e5d8d2258710eef481a07307a3e727012f1a83c442
SIZE (abseil-abseil-cpp-8c0b94e_GH0.tar.gz) = 1957422
SHA256 (google-crc32c-21fc8ef_GH0.tar.gz) = 9cb6093f9a554f9fb8397ce9a1a07eec44f1ae0918d7816b60c7b14ef745e082