git: f8a92dabbfdb - main - net-im/tg_owt: Adding missing dependencies and revive a required patch
Li-Wen Hsu
lwhsu at FreeBSD.org
Tue Jul 27 19:12:48 UTC 2021
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f8a92dabbfdb03b6b67f190bef193cc58e99f0ae
commit f8a92dabbfdb03b6b67f190bef193cc58e99f0ae
Author: Henry Hu <henry.hu.sh at gmail.com>
AuthorDate: 2021-07-27 19:11:20 +0000
Commit: Li-Wen Hsu <lwhsu at FreeBSD.org>
CommitDate: 2021-07-27 19:11:20 +0000
net-im/tg_owt: Adding missing dependencies and revive a required patch
PR: 257290
---
net-im/tg_owt/Makefile | 5 ++++-
net-im/tg_owt/files/patch-CMakeLists.txt | 12 ++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/net-im/tg_owt/Makefile b/net-im/tg_owt/Makefile
index 8206262a83c6..8076dae0a7d4 100644
--- a/net-im/tg_owt/Makefile
+++ b/net-im/tg_owt/Makefile
@@ -2,6 +2,7 @@
PORTNAME= tg_owt
PORTVERSION= 0.0.20210718
+PORTREVISION= 1
CATEGORIES= net-im
MAINTAINER= henry.hu.sh at gmail.com
@@ -15,10 +16,12 @@ BUILD_DEPENDS= alsa-lib>0:audio/alsa-lib \
v4l_compat>0:multimedia/v4l_compat \
yasm:devel/yasm
LIB_DEPENDS= libavformat.so:multimedia/ffmpeg \
+ libevent.so:devel/libevent \
libjpeg.so:graphics/jpeg-turbo \
libopus.so:audio/opus \
libpipewire-0.3.so:multimedia/pipewire \
- libusrsctp.so:net/libusrsctp
+ libusrsctp.so:net/libusrsctp \
+ libvpx.so:multimedia/libvpx
USES= cmake pkgconfig xorg
USE_XORG= x11 xcomposite xdamage xrender xrandr
diff --git a/net-im/tg_owt/files/patch-CMakeLists.txt b/net-im/tg_owt/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..2cf7f849c07f
--- /dev/null
+++ b/net-im/tg_owt/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2021-06-27 05:27:48 UTC
++++ CMakeLists.txt
+@@ -171,6 +170,9 @@ if (UNIX AND NOT APPLE)
+ link_x11(tg_owt)
+ link_glib(tg_owt)
+ endif()
++
++target_include_directories(tg_owt BEFORE PRIVATE $<TARGET_PROPERTY:tg_owt::libabsl,INTERFACE_INCLUDE_DIRECTORIES>)
++target_include_directories(tg_owt BEFORE PRIVATE $<TARGET_PROPERTY:tg_owt::libyuv,INTERFACE_INCLUDE_DIRECTORIES>)
+
+ function(add_sublibrary postfix)
+ add_library(tg_owt_${postfix} OBJECT)
More information about the dev-commits-ports-all
mailing list