commit:     f93627d13f15f7e1e18870611563d2fa19618160
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 18:28:18 2024 +0000
Commit:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 18:36:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f93627d1

media-video/obs-studio: remove failing 'sed' from live 9999

The "legacy CMake code path" has been removed [1], so the 'sed' for
removing '-Werror' is now failing, and is not required any longer
at this time.

Additionally, the 'OBS_CMAKE_VERSION' option doesn't seem to be
required at this time any longer either.

1. https://github.com/obsproject/obs-studio/commit/72428ccd97a

Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>

 media-video/obs-studio/obs-studio-9999.ebuild | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/media-video/obs-studio/obs-studio-9999.ebuild 
b/media-video/obs-studio/obs-studio-9999.ebuild
index f2a746c3d815..78f140d81c76 100644
--- a/media-video/obs-studio/obs-studio-9999.ebuild
+++ b/media-video/obs-studio/obs-studio-9999.ebuild
@@ -177,8 +177,6 @@ src_unpack() {
 src_prepare() {
        default
 
-       sed -i '/-Werror$/d' 
"${WORKDIR}"/${P}/cmake/Modules/CompilerConfig.cmake || die
-
        # -Werror=lto-type-mismatch
        # https://bugs.gentoo.org/867250
        # https://github.com/obsproject/obs-studio/issues/8988
@@ -219,7 +217,6 @@ src_configure() {
                -DENABLE_WAYLAND=$(usex wayland)
                -DENABLE_WEBRTC=OFF # Requires libdatachannel.
                -DENABLE_WEBSOCKET=$(usex websocket)
-               -DOBS_CMAKE_VERSION=3
        )
 
        if [[ ${PV} != 9999 ]]; then

Reply via email to