2021-02-11 12:30:56 +00:00
|
|
|
PORTNAME= tg_owt
|
2022-08-16 01:03:32 +00:00
|
|
|
PORTVERSION= 0.0.20220811
|
2022-08-26 13:38:13 +00:00
|
|
|
PORTREVISION= 1
|
2021-02-11 12:30:56 +00:00
|
|
|
CATEGORIES= net-im
|
|
|
|
|
2022-08-16 01:03:32 +00:00
|
|
|
MAINTAINER= osa@FreeBSD.org
|
2021-02-11 12:30:56 +00:00
|
|
|
COMMENT= Webrtc library used by telegram-desktop
|
|
|
|
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2021-11-18 04:09:20 +00:00
|
|
|
BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat \
|
2021-02-11 12:30:56 +00:00
|
|
|
yasm:devel/yasm
|
2022-06-28 02:09:56 +00:00
|
|
|
LIB_DEPENDS= libabsl_base.so:devel/abseil \
|
|
|
|
libavformat.so:multimedia/ffmpeg \
|
2021-02-11 12:30:56 +00:00
|
|
|
libjpeg.so:graphics/jpeg-turbo \
|
2021-03-10 14:10:24 +00:00
|
|
|
libopus.so:audio/opus \
|
2022-08-26 13:38:13 +00:00
|
|
|
libpipewire-0.3.so:multimedia/pipewire
|
2021-02-11 12:30:56 +00:00
|
|
|
|
2022-02-10 17:35:47 +00:00
|
|
|
USES= cmake gl pkgconfig xorg
|
2021-11-18 04:09:20 +00:00
|
|
|
USE_XORG= x11 xcomposite xdamage xrender xrandr xtst
|
2022-02-10 17:35:47 +00:00
|
|
|
USE_GL= gbm
|
2021-02-11 12:30:56 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= desktop-app
|
2022-08-16 01:03:32 +00:00
|
|
|
GH_TAGNAME= a5fbc91
|
2022-02-10 17:35:47 +00:00
|
|
|
|
2021-02-11 12:30:56 +00:00
|
|
|
# libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv
|
2022-02-10 17:35:47 +00:00
|
|
|
# when updating port check if hash tag in the submodule was updated
|
2022-06-28 02:09:56 +00:00
|
|
|
GH_TUPLE= HenryHu:libyuv:ad89006:libyuv/src/third_party/libyuv \
|
|
|
|
google:crc32c:21fc8ef:crc32c/src/third_party/crc32c/src
|
2021-02-11 12:30:56 +00:00
|
|
|
|
|
|
|
# Disable DCHECKs, otherwise video calls will crash.
|
|
|
|
CXXFLAGS+= -DNDEBUG
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|