diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile index b5b3a008645a..9bf046d4a4a3 100644 --- a/net-im/tg_owt/Makefile +++ b/net-im/tg_owt/Makefile @@ -1,66 +1,65 @@ PORTNAME= tg_owt -PORTVERSION= 0.0.20241116 -PORTREVISION= 1 +PORTVERSION= 0.0.20241203 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= libabsl_base.so:devel/abseil \ libavformat.so:multimedia/ffmpeg \ libcrc32c.so:devel/crc32c \ libjpeg.so:graphics/jpeg-turbo \ libopenh264.so:multimedia/openh264 \ libopus.so:audio/opus \ libpipewire-0.3.so:multimedia/pipewire \ libprotobuf.so:devel/protobuf \ libsrtp2.so:net/libsrtp2 \ libvpx.so:multimedia/libvpx USES= cmake gl pkgconfig xorg USE_XORG= x11 xcomposite xdamage xrender xrandr xtst USE_GL= gbm gl USE_GITHUB= yes GH_ACCOUNT= desktop-app -GH_TAGNAME= 3008950 +GH_TAGNAME= be39b8c CMAME_ON= TG_OWT_PACKAGED_BUILD # libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv # when updating port check if hash tag in the submodule was updated GH_TUPLE= osokin:libyuv:04821d1:libyuv/src/third_party/libyuv post-extract: ${RM} -rf \ ${WRKSRC}/src/sdk/android \ ${WRKSRC}/src/sdk/objc \ ${WRKSRC}/src/third_party/abseil-cpp \ ${WRKSRC}/src/third_party/crc32c \ ${WRKSRC}/src/third_party/libsrtp \ ${WRKSRC}/src/third_party/libsrtp_config \ ${WRKSRC}/src/third_party/libvpx \ ${WRKSRC}/src/third_party/openh264 \ ${WRKSRC}/src/third_party/yasm # remove more sources not needed to build telegram-desktop, they are however # required at tg_owt configure-time even though they are not built, see # nice_target_sources()/remove_target_sources() calls in CMakeLists.txt post-configure: ${RM} -rf \ ${WRKSRC}/src/modules/audio_device/android \ ${WRKSRC}/src/modules/audio_device/mac \ ${WRKSRC}/src/modules/audio_device/win \ ${WRKSRC}/src/modules/desktop_capture/mac \ ${WRKSRC}/src/modules/desktop_capture/wayland \ ${WRKSRC}/src/modules/desktop_capture/win \ ${WRKSRC}/src/modules/video_capture/windows \ ${WRKSRC}/src/rtc_base/win \ ${WRKSRC}/src/rtc_base/win32*.h .include diff --git a/net-im/tg_owt/distinfo b/net-im/tg_owt/distinfo index 9b17f1d2f140..488becb8c236 100644 --- a/net-im/tg_owt/distinfo +++ b/net-im/tg_owt/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1731968356 -SHA256 (desktop-app-tg_owt-0.0.20241116-3008950_GH0.tar.gz) = daa9978c80edd1d78f1401987cba391535798499a27f548d1fc1027b2f854e84 -SIZE (desktop-app-tg_owt-0.0.20241116-3008950_GH0.tar.gz) = 11716169 +TIMESTAMP = 1733334079 +SHA256 (desktop-app-tg_owt-0.0.20241203-be39b8c_GH0.tar.gz) = 657d41608c3b97989b14030671081db34f066433cff65d90bf18c05f434e919c +SIZE (desktop-app-tg_owt-0.0.20241203-be39b8c_GH0.tar.gz) = 11716248 SHA256 (osokin-libyuv-04821d1_GH0.tar.gz) = cffd73dc527a8991e0fa78f0013d5db457a55298dada5896b4d6fa1b4ec5713f SIZE (osokin-libyuv-04821d1_GH0.tar.gz) = 559577 diff --git a/net-im/tg_owt/files/patch-src_modules_audio__device_audio__device__impl.cc b/net-im/tg_owt/files/patch-src_modules_audio__device_audio__device__impl.cc deleted file mode 100644 index 798487e3a4a2..000000000000 --- a/net-im/tg_owt/files/patch-src_modules_audio__device_audio__device__impl.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- src/modules/audio_device/audio_device_impl.cc.orig 2024-12-02 05:33:43 UTC -+++ src/modules/audio_device/audio_device_impl.cc -@@ -141,7 +141,7 @@ int32_t AudioDeviceModuleImpl::CheckPlatform() { - #elif defined(WEBRTC_ANDROID) - platform = kPlatformAndroid; - RTC_LOG(LS_INFO) << "current platform is Android"; --#elif defined(WEBRTC_LINUX) -+#elif defined(WEBRTC_LINUX) || defined(WEBRTC_FREEBSD) - platform = kPlatformLinux; - RTC_LOG(LS_INFO) << "current platform is Linux"; - #elif defined(WEBRTC_IOS)