Skip to content

Commit

Permalink
net-im/tg_owt: Adding missing dependencies and revive a required patch
Browse files Browse the repository at this point in the history
PR:		257290
  • Loading branch information
HenryHu authored and lwhsu committed Jul 27, 2021
1 parent 3036f58 commit f8a92da
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion net-im/tg_owt/Makefile
Expand Up @@ -2,6 +2,7 @@

PORTNAME= tg_owt
PORTVERSION= 0.0.20210718
PORTREVISION= 1
CATEGORIES= net-im

MAINTAINER= henry.hu.sh@gmail.com
Expand All @@ -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
Expand Down
12 changes: 12 additions & 0 deletions 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)

0 comments on commit f8a92da

Please sign in to comment.