commit:     76778b76c741054a2aa791c349deb20e8f417045
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Tue Aug 24 16:14:52 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 18:32:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76778b76

media-libs/tg_owt: Fix building without YASM

I just don't get CMake

Closes: https://bugs.gentoo.org/809002
Thanks-to: Mike Hiretsky <mh <AT> calculate.ru>
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22093
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild 
b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
index 6b1f91230c1..8f7f9f6f3d3 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
@@ -74,6 +74,11 @@ src_prepare() {
        # libvpx source files aren't included in the repository
        sed -i '/include(cmake\/libvpx.cmake)/d' CMakeLists.txt || die
 
+       # libopenh264 has GENERATED files with yasm that aren't excluded by
+       # EXCLUDE_FROM_ALL, and I have no clue how to avoid this.
+       # These source files aren't used with system-openh264, anyway.
+       sed -i '/include(cmake\/libopenh264.cmake)/d' CMakeLists.txt || die
+
        cmake_src_prepare
 }
 

Reply via email to