diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index b32947565e8d..168e62d1366e 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,147 +1,147 @@ PORTNAME= telegram-desktop -DISTVERSION= 4.14.0 +DISTVERSION= 4.14.1 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Telegram Desktop messaging app WWW= https://desktop.telegram.org/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_i386= does not build, webrtc related BROKEN_SSL= openssl openssl31 BROKEN_SSL_REASON= undefined symbol: ERR_load_BIO_strings NOT_FOR_ARCHS= powerpc powerpc64 powerpcspe NOT_FOR_ARCHS_REASON= Only little endian is supported BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ microsoft-gsl>0:devel/microsoft-gsl \ range-v3>0:devel/range-v3 \ tl-expected>0:devel/tl-expected \ v4l_compat>0:multimedia/v4l_compat \ yasm:devel/yasm \ ${LOCALBASE}/lib/libtg_owt.a:net-im/tg_owt LIB_DEPENDS= libabsl_base.so:devel/abseil \ libavformat.so:multimedia/ffmpeg \ libdbus-1.so:devel/dbus \ libdispatch.so:devel/libdispatch \ libfmt.so:devel/libfmt \ libhunspell-1.7.so:textproc/hunspell \ liblz4.so:archivers/liblz4 \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpipewire-0.3.so:multimedia/pipewire \ libprotobuf.so:devel/protobuf \ libqrcodegencpp.so:graphics/qr-code-generator \ librnnoise.so:audio/rnnoise \ libxcb-keysyms.so:x11/xcb-util-keysyms \ libxkbcommon.so:x11/libxkbcommon \ libxxhash.so:devel/xxhash \ libvpx.so:multimedia/libvpx FLAVORS= qt5 qt6 FLAVOR?= ${FLAVORS:[1]} qt5_PKGNAMESUFFIX= qt6_PKGNAMESUFFIX= -qt6 qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt6 qt6_CONFLICTS_INSTALL= ${PORTNAME} USES= cmake desktop-file-utils gl gnome jpeg localbase \ minizip openal pkgconfig python:build ssl xorg USE_GITHUB= nodefault GH_ACCOUNT= telegramdesktop GH_PROJECT= tdesktop .if ${FLAVOR} == qt5 USES+= kde:5 qt:5 USE_QT= buildtools:build core dbus declarative gui imageformats network qmake:build \ svg wayland widgets USE_KDE= coreaddons kimageformats .else USES+= qt:6 USE_QT= 5compat base imageformats lottie shadertools svg tools:build wayland .endif USE_GL= gl USE_GNOME= glib20 glibmm26 introspection 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_SCUDO \ DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION # Since cmake 3.25.0, BSDs are no longer recognised as Linux (in this port). CMAKE_ARGS+= -DLINUX=true # libdispatch components 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 SYSTEM_FONTS_DESC= Use system fonts instead of bundled patched 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_OFF= DESKTOP_APP_USE_PACKAGED_FONTS # Telegram asks each custom build to have its own API ID and hash. TELEGRAM_API_HASH= 20a3432aab43f24bb4460fceac5ba38d TELEGRAM_API_ID= 601761 .include .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079 USES+= llvm:max=15,build .else 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' # warning: argument unused during compilation: '-fstack-clash-protection' ${REINPLACE_CMD} -e /-Wno-maybe-uninitialized/d -e /-fstack-clash-protection/d \ ${WRKSRC}/cmake/options_linux.cmake .include diff --git a/net-im/telegram-desktop/distinfo b/net-im/telegram-desktop/distinfo index d71fc2bfd51d..874ff1393d8a 100644 --- a/net-im/telegram-desktop/distinfo +++ b/net-im/telegram-desktop/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1704129454 -SHA256 (tdesktop-4.14.0-full.tar.gz) = c105535a1c759191fb33c1db3bd6b6d174b7b3f625428b9ddddeee2483947515 -SIZE (tdesktop-4.14.0-full.tar.gz) = 67902326 +TIMESTAMP = 1704149481 +SHA256 (tdesktop-4.14.1-full.tar.gz) = 18a2b606c9cf63defdf3809db6c111ce00b7880f6b92b8cb8848a71f4583af8e +SIZE (tdesktop-4.14.1-full.tar.gz) = 67924653 diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile index 48ccc217a4a6..6075642a372f 100644 --- a/net-im/tg_owt/Makefile +++ b/net-im/tg_owt/Makefile @@ -1,33 +1,33 @@ PORTNAME= tg_owt -PORTVERSION= 0.0.20231101 +PORTVERSION= 0.0.20231221 CATEGORIES= net-im MAINTAINER= ports@FreeBSD.org COMMENT= Webrtc library used by telegram-desktop WWW= https://github.com/desktop-app/tg_owt LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat \ yasm:devel/yasm LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \ libjpeg.so:graphics/jpeg-turbo \ libopus.so:audio/opus \ libpipewire-0.3.so:multimedia/pipewire USES= cmake gl pkgconfig xorg USE_XORG= x11 xcomposite xdamage xrender xrandr xtst USE_GL= gbm USE_GITHUB= yes GH_ACCOUNT= desktop-app -GH_TAGNAME= 71cce98 +GH_TAGNAME= afd9d5d # libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv # when updating port check if hash tag in the submodule was updated GH_TUPLE= abseil:abseil-cpp:8c0b94e:abseilcpp/src/third_party/abseil-cpp \ cisco:libsrtp:a566a9:libsrtp/src/third_party/libsrtp \ google:crc32c:21fc8ef:crc32c/src/third_party/crc32c/src \ - klemensn:libyuv:04821d:libyuv/src/third_party/libyuv + klemensn:libyuv:3aae5c7:libyuv/src/third_party/libyuv .include diff --git a/net-im/tg_owt/distinfo b/net-im/tg_owt/distinfo index ff4592686833..16986f3a0541 100644 --- a/net-im/tg_owt/distinfo +++ b/net-im/tg_owt/distinfo @@ -1,11 +1,11 @@ -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 +TIMESTAMP = 1704135050 +SHA256 (desktop-app-tg_owt-0.0.20231221-afd9d5d_GH0.tar.gz) = 3dd334d8547936526d58fc895a07c19ac9045240f8197f8b319ed9c960e95b67 +SIZE (desktop-app-tg_owt-0.0.20231221-afd9d5d_GH0.tar.gz) = 13719106 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 SIZE (cisco-libsrtp-a566a9_GH0.tar.gz) = 638802 SHA256 (google-crc32c-21fc8ef_GH0.tar.gz) = 9cb6093f9a554f9fb8397ce9a1a07eec44f1ae0918d7816b60c7b14ef745e082 SIZE (google-crc32c-21fc8ef_GH0.tar.gz) = 29818 -SHA256 (klemensn-libyuv-04821d_GH0.tar.gz) = 73e76d6999ae912c373f0d9f800fe41417bbb3e5177c58197b37b0f83a0909b5 -SIZE (klemensn-libyuv-04821d_GH0.tar.gz) = 559543 +SHA256 (klemensn-libyuv-3aae5c7_GH0.tar.gz) = 7e0ed4ef518c0a1e10fc20573cd8695ad3bc55a19496deb0d48e773be0d52c3e +SIZE (klemensn-libyuv-3aae5c7_GH0.tar.gz) = 565631