1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/net-im/tg_owt/Makefile
Sergey A. Osokin b3b08643ee net-im/tg_owt: reduce dependences
Bump PORTREVISION.
2022-08-26 09:38:13 -04:00

36 lines
980 B
Makefile

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 <bsd.port.mk>