summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2021-08-24 18:14:52 +0200
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-08-24 11:32:55 -0700
commit76778b76c741054a2aa791c349deb20e8f417045 (patch)
tree9024dfed447c5cdb7d7638df563f462bec374e01 /media-libs/tg_owt
parentx11-misc/xwallpaper: drop 0.7.1 (diff)
downloadgentoo-76778b76c741054a2aa791c349deb20e8f417045.tar.gz
gentoo-76778b76c741054a2aa791c349deb20e8f417045.tar.bz2
gentoo-76778b76c741054a2aa791c349deb20e8f417045.zip
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@calculate.ru> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22093 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'media-libs/tg_owt')
-rw-r--r--media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild5
1 files changed, 5 insertions, 0 deletions
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 6b1f91230c17..8f7f9f6f3d3d 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
}