From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E53E1382C5 for ; Thu, 25 Mar 2021 21:54:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 512F7E077F; Thu, 25 Mar 2021 21:54:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3432FE077F for ; Thu, 25 Mar 2021 21:54:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E4FB7335D88 for ; Thu, 25 Mar 2021 21:54:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 322C14A5 for ; Thu, 25 Mar 2021 21:54:53 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1616709261.60a43bbe3ad871d4129056d0942a1d33edb92e94.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/tg_owt/tg_owt-0_pre20210309.ebuild X-VCS-Directories: media-libs/tg_owt/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 60a43bbe3ad871d4129056d0942a1d33edb92e94 X-VCS-Branch: master Date: Thu, 25 Mar 2021 21:54:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b9ce412b-91dd-4586-9a36-4bf924ec9453 X-Archives-Hash: bd6fe7fbe7a66adbca1fb240056d7497 commit: 60a43bbe3ad871d4129056d0942a1d33edb92e94 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Mar 25 21:54:00 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Mar 25 21:54:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a43bbe media-libs/tg_owt: fix SSE2 build even better Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> media-libs/tg_owt/tg_owt-0_pre20210309.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild index 0aa7644fe08..43dd4267f6c 100644 --- a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild +++ b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild @@ -64,9 +64,11 @@ src_prepare() { # 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, so we strip it out on non-amd64 arches + # Causes forced inclusion of SSE2, so we strip it out on x86* arches # https://github.com/desktop-app/tg_owt/pull/57 - use amd64 || sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die + if ! use amd64 && ! use x86; then + sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die + fi cmake_src_prepare }