tg_owt: bump version

This commit is contained in:
Gerasim Troeglazov
2021-04-27 15:37:49 +10:00
parent 633ba5df6b
commit 6b9717a16d
2 changed files with 15 additions and 15 deletions

View File

@@ -1,11 +1,11 @@
From 7e92c82cbb706b8147c9ff6ace1d251bc320f780 Mon Sep 17 00:00:00 2001
From c3e856bc13442b529003fd3b9816931cd44183c8 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sun, 21 Mar 2021 11:23:51 +1000
Date: Tue, 27 Apr 2021 10:37:28 +1000
Subject: Add Haiku support
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c591825..c6d5db0 100644
index 7f8e3bd..fb4c807 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -62,7 +62,7 @@ include(cmake/libusrsctp.cmake)
@@ -35,7 +35,7 @@ index c591825..c6d5db0 100644
rtc_base/task_queue_libevent.cc
rtc_base/task_queue_libevent.h
rtc_base/task_queue_win.cc
@@ -486,6 +488,7 @@ PRIVATE
@@ -485,6 +487,7 @@ PRIVATE
api/stats_types.cc
api/task_queue/default_task_queue_factory.h
api/task_queue/default_task_queue_factory_gcd.cc
@@ -43,7 +43,7 @@ index c591825..c6d5db0 100644
api/task_queue/default_task_queue_factory_libevent.cc
api/task_queue/default_task_queue_factory_win.cc
api/task_queue/task_queue_base.cc
@@ -1381,6 +1384,8 @@ PRIVATE
@@ -1380,6 +1383,8 @@ PRIVATE
modules/video_capture/device_info_impl.cc
modules/video_capture/linux/device_info_linux.cc
modules/video_capture/linux/video_capture_linux.cc
@@ -52,7 +52,7 @@ index c591825..c6d5db0 100644
modules/video_capture/windows/device_info_ds.cc
modules/video_capture/windows/device_info_ds.h
modules/video_capture/windows/help_functions_ds.cc
@@ -2098,7 +2103,7 @@ else()
@@ -2149,7 +2154,7 @@ else()
)
endif()
@@ -61,7 +61,7 @@ index c591825..c6d5db0 100644
remove_target_sources(tg_owt ${webrtc_loc}
rtc_base/task_queue_libevent.cc
rtc_base/task_queue_libevent.h
@@ -2114,7 +2119,7 @@ else()
@@ -2165,7 +2170,7 @@ else()
endif()
set(platform_export)
@@ -71,12 +71,12 @@ index c591825..c6d5db0 100644
libevent
)
diff --git a/cmake/libusrsctp.cmake b/cmake/libusrsctp.cmake
index f652679..0c00f10 100644
index ad41d12..2cd35f4 100644
--- a/cmake/libusrsctp.cmake
+++ b/cmake/libusrsctp.cmake
@@ -25,6 +25,11 @@ elseif (APPLE)
PRIVATE
-U__APPLE__
@@ -31,6 +31,11 @@ elseif (APPLE)
-UINET
-UINET6
)
+elseif (HAIKU)
+ target_compile_definitions(libusrsctp
@@ -87,10 +87,10 @@ index f652679..0c00f10 100644
target_compile_definitions(libusrsctp
PRIVATE
diff --git a/cmake/libwebrtcbuild.cmake b/cmake/libwebrtcbuild.cmake
index 69ad78f..02bea1d 100644
index 15f854e..d77f40a 100644
--- a/cmake/libwebrtcbuild.cmake
+++ b/cmake/libwebrtcbuild.cmake
@@ -39,6 +39,12 @@ elseif (APPLE)
@@ -40,6 +40,12 @@ elseif (APPLE)
WEBRTC_POSIX
WEBRTC_MAC
)

View File

@@ -4,10 +4,10 @@ HOMEPAGE="https://github.com/desktop-app/tg_owt"
COPYRIGHT="2013-2021 Telegram"
LICENSE="BSD (3-clause)"
REVISION="1"
srcGitRev="2d804d2c9c5d05324c8ab22f2e6ff8306521b3c3"
srcGitRev="18cb4cd9bb4c2f5f5f5e760ec808f74c302bc1bf"
SOURCE_URI="https://github.com/desktop-app/tg_owt/archive/$srcGitRev.tar.gz"
SOURCE_DIR="tg_owt-$srcGitRev"
CHECKSUM_SHA256="31a8245c7624c59441c0264f3f0660f068cce4ef5195553336c50f77d5525153"
CHECKSUM_SHA256="5babd17686cb015a188c910797a3c604660b6135804a5d3bf87e09749df7cbf8"
SOURCE_FILENAME="tg_owt-$srcGitRev.tar.gz"
srcGitRev_2="ebb5ffc1d462c70dfb2283a5c7afcb75288c7692"
SOURCE_URI_2="https://github.com/webmproject/libvpx/archive/$srcGitRev_2.tar.gz"