commit 1ccb26899dc765f80d305b04652e4e5796b74334
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu Nov 12 19:27:14 2020 +0100
Updated to the latest Git snapshot.
.gitignore | 1 +
sources | 2 +-
tg_owt-add-missing-sources.patch | 23 +++++++++++++++++++++++
tg_owt.spec | 17 ++++++++++++-----
4 files changed, 37 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 12dbf20..3022c5d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tg_owt-e8fcae7.tar.gz
+/tg_owt-12f4a27.tar.gz
diff --git a/sources b/sources
index 62e0d8a..e857cea 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tg_owt-e8fcae7.tar.gz) =
236b7f7ec60c8a56818425982addbbedfe2503e018497506920f7e21170cbb06cf1fbf16158822c1286c7f56e9df8695382ca1b8d545994accc3f969e44da75d
+SHA512 (tg_owt-12f4a27.tar.gz) =
de9d4490c3e68f17dd75e523596683395e67e91b51c5c7af61c0a51517779129cc965bc97d63b5054bdddb76d385ab33d6995d72b08316941fa2a72a93d1c3fa
diff --git a/tg_owt-add-missing-sources.patch b/tg_owt-add-missing-sources.patch
new file mode 100644
index 0000000..6a90de5
--- /dev/null
+++ b/tg_owt-add-missing-sources.patch
@@ -0,0 +1,23 @@
+From ac27c77acb70b201fb0a77c781edec500793f03d Mon Sep 17 00:00:00 2001
+From: Vitaly Zaitsev <vitaly(a)easycoding.org>
+Date: Thu, 12 Nov 2020 18:34:08 +0100
+Subject: [PATCH] Added missing sources to the build.
+
+Signed-off-by: Vitaly Zaitsev <vitaly(a)easycoding.org>
+---
+ cmake/libabsl.cmake | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/libabsl.cmake b/cmake/libabsl.cmake
+index be593e3d..0cc89205 100644
+--- a/cmake/libabsl.cmake
++++ b/cmake/libabsl.cmake
+@@ -12,7 +12,7 @@ PRIVATE
+ # absl/base/internal/exponential_biased.cc
+ # absl/base/internal/low_level_alloc.cc
+ # absl/base/internal/periodic_sampler.cc
+- # absl/base/internal/raw_logging.cc
++ absl/base/internal/raw_logging.cc
+ # absl/base/internal/scoped_set_env.cc
+ # absl/base/internal/spinlock.cc
+ # absl/base/internal/spinlock_wait.cc
diff --git a/tg_owt.spec b/tg_owt.spec
index 08a250b..ec11c7d 100644
--- a/tg_owt.spec
+++ b/tg_owt.spec
@@ -1,12 +1,12 @@
%undefine __cmake_in_source_build
-%global commit0 e8fcae73947445db3d418fb7c20b964b59e14706
+%global commit0 12f4a27f2f02f9dd40f9891d8ec6e58bc1ff5263
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
-%global date 20201102
+%global date 20201105
Name: tg_owt
Version: 0
-Release: 1.%{date}git%{shortcommit0}%{?dist}
+Release: 2.%{date}git%{shortcommit0}%{?dist}
# Main project - BSD
# abseil-cpp - ASL 2.0
@@ -22,6 +22,9 @@ Summary: WebRTC library for the Telegram messenger
URL:
https://github.com/desktop-app/%{name}
Source0: %{url}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
+#
https://github.com/desktop-app/tg_owt/pull/37
+Patch100: %{name}-add-missing-sources.patch
+
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavformat)
@@ -59,6 +62,9 @@ Provides: bundled(sigslot) = 0~git
Provides: bundled(spl_sqrt_floor) = 0~git
Provides: bundled(usrsctp) = 1.0.0~gitbee946a
+# Disabling all low-memory architectures.
+ExclusiveArch: x86_64
+
%description
Special fork of the OpenWebRTC library for the Telegram messenger.
@@ -81,8 +87,6 @@ Requires: pkgconfig(opus)
%prep
%autosetup -n %{name}-%{commit0} -p1
-sed -e 's/STATIC/SHARED/g' -i CMakeLists.txt
-echo 'set_target_properties(tg_owt PROPERTIES SOVERSION 0 VERSION 0.0.0)'
>> CMakeLists.txt
mkdir legal
cp -f -p src/third_party/abseil-cpp/LICENSE legal/LICENSE.abseil-cpp
@@ -148,5 +152,8 @@ cp -f -p src/rtc_base/third_party/sigslot/README.chromium
legal/README.sigslot
%{_libdir}/lib%{name}.so
%changelog
+* Thu Nov 12 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-2.20201105git12f4a27
+- Updated to latest Git snapshot.
+
* Mon Nov 02 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 0-2.20201102gite8fcae7
- Initial SPEC release.