Skip to content

Commit

Permalink
media-video/obs-studio: remove failing 'sed' from live 9999
Browse files Browse the repository at this point in the history
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. obsproject/obs-studio@72428ccd97a

Signed-off-by: Jimi Huotari <[email protected]>
  • Loading branch information
Chiitoo committed Aug 28, 2024
1 parent 1c7ed9d commit f93627d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions media-video/obs-studio/obs-studio-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f93627d

Please sign in to comment.