1 |
commit: 76778b76c741054a2aa791c349deb20e8f417045 |
2 |
Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Aug 24 16:14:52 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 24 18:32:55 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76778b76 |
7 |
|
8 |
media-libs/tg_owt: Fix building without YASM |
9 |
|
10 |
I just don't get CMake |
11 |
|
12 |
Closes: https://bugs.gentoo.org/809002 |
13 |
Thanks-to: Mike Hiretsky <mh <AT> calculate.ru> |
14 |
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com> |
15 |
Closes: https://github.com/gentoo/gentoo/pull/22093 |
16 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
17 |
|
18 |
media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild | 5 +++++ |
19 |
1 file changed, 5 insertions(+) |
20 |
|
21 |
diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild |
22 |
index 6b1f91230c1..8f7f9f6f3d3 100644 |
23 |
--- a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild |
24 |
+++ b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild |
25 |
@@ -74,6 +74,11 @@ src_prepare() { |
26 |
# libvpx source files aren't included in the repository |
27 |
sed -i '/include(cmake\/libvpx.cmake)/d' CMakeLists.txt || die |
28 |
|
29 |
+ # libopenh264 has GENERATED files with yasm that aren't excluded by |
30 |
+ # EXCLUDE_FROM_ALL, and I have no clue how to avoid this. |
31 |
+ # These source files aren't used with system-openh264, anyway. |
32 |
+ sed -i '/include(cmake\/libopenh264.cmake)/d' CMakeLists.txt || die |
33 |
+ |
34 |
cmake_src_prepare |
35 |
} |