PORTNAME= tg_owt PORTVERSION= 0.0.20220811 PORTREVISION= 1 CATEGORIES= net-im MAINTAINER= osa@FreeBSD.org COMMENT= Webrtc library used by telegram-desktop 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 \ 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= a5fbc91 # libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv # when updating port check if hash tag in the submodule was updated GH_TUPLE= HenryHu:libyuv:ad89006:libyuv/src/third_party/libyuv \ google:crc32c:21fc8ef:crc32c/src/third_party/crc32c/src # Disable DCHECKs, otherwise video calls will crash. CXXFLAGS+= -DNDEBUG .include