commit: 96daf7311fef02995de51e9f4df97fc9b81dadc3 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Thu Mar 25 19:14:20 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Thu Mar 25 19:30:50 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96daf731
media-libs/tg_owt: strip desktop_capture module from build This allows to build tg on platforms without SSE2. desktop_capture module is for mac only anyway. See-also: https://github.com/desktop-app/tg_owt/pull/57 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> media-libs/tg_owt/tg_owt-0_pre20210309.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild index 9b9e8fe2fc6..6401fb3d793 100644 --- a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild +++ b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -63,6 +63,11 @@ src_prepare() { # Can cause race conditions when no webcam is available or webcam is blocked # See https://bugs.debian.org/982556 sed -i -e 's/#ifndef NO_MAIN_THREAD_WRAPPING/#if 0/' src/rtc_base/thread.cc || die + + # Causes forced inclusion of SSE2, only needed on MAC + # https://github.com/desktop-app/tg_owt/pull/57 + sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die + cmake_src_prepare }
