diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile index 80a4fac8d082..09f550f5914e 100644 --- a/net-im/tg_owt/Makefile +++ b/net-im/tg_owt/Makefile @@ -1,66 +1,69 @@ PORTNAME= tg_owt PORTVERSION= 0.0.20241203 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-im +PATCH_SITES= https://github.com/desktop-app/tg_owt/commit/ +PATCHFILES= 4f7618d717335ec7e96ee665591aae87e8caf22d.patch:-p1 + 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= 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 488becb8c236..d1d3dcb65c94 100644 --- a/net-im/tg_owt/distinfo +++ b/net-im/tg_owt/distinfo @@ -1,5 +1,7 @@ -TIMESTAMP = 1733334079 +TIMESTAMP = 1742753055 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 +SHA256 (4f7618d717335ec7e96ee665591aae87e8caf22d.patch) = 6fafbce24ffec707fa0556591cbe551aa946c0b4c6efa1ca25867dd3af0a2e89 +SIZE (4f7618d717335ec7e96ee665591aae87e8caf22d.patch) = 1478