2021-02-11 12:30:56 +00:00
|
|
|
# Created by: Henry Hu <henry.hu.sh@gmail.com>
|
|
|
|
|
|
|
|
PORTNAME= tg_owt
|
2022-01-05 22:08:20 +00:00
|
|
|
PORTVERSION= 0.0.20211214
|
2021-02-11 12:30:56 +00:00
|
|
|
CATEGORIES= net-im
|
|
|
|
|
2021-11-17 16:09:59 +00:00
|
|
|
MAINTAINER= glebius@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
|
|
|
|
LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
|
2021-07-27 19:11:20 +00:00
|
|
|
libevent.so:devel/libevent \
|
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 \
|
2021-07-21 19:30:40 +00:00
|
|
|
libpipewire-0.3.so:multimedia/pipewire \
|
2021-07-27 19:11:20 +00:00
|
|
|
libusrsctp.so:net/libusrsctp \
|
|
|
|
libvpx.so:multimedia/libvpx
|
2021-02-11 12:30:56 +00:00
|
|
|
|
2021-07-21 19:30:40 +00:00
|
|
|
USES= cmake pkgconfig xorg
|
2021-11-18 04:09:20 +00:00
|
|
|
USE_XORG= x11 xcomposite xdamage xrender xrandr xtst
|
2021-02-11 12:30:56 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= desktop-app
|
2022-01-05 22:08:20 +00:00
|
|
|
GH_TAGNAME= 6708e0d
|
2021-02-11 12:30:56 +00:00
|
|
|
# libyuv cloned from https://chromium.googlesource.com/libyuv/libyuv
|
|
|
|
GH_TUPLE= webmproject:libvpx:5b63f0f:libvpx/src/third_party/libvpx/source/libvpx \
|
|
|
|
HenryHu:libyuv:ad89006:libyuv/src/third_party/libyuv
|
|
|
|
|
|
|
|
# Disable DCHECKs, otherwise video calls will crash.
|
|
|
|
CXXFLAGS+= -DNDEBUG
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|