Skip to content

Commit

Permalink
devel/electron{22,23,24,25}: fix build with CODECS option OFF
Browse files Browse the repository at this point in the history
Reported by:	crypt _at_ crypts _dot_ me (via private email)
MFH:		2023Q3
  • Loading branch information
Hiroki Tagato authored and Hiroki Tagato committed Aug 27, 2023
1 parent ac5db88 commit e1cac91
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 0 deletions.
13 changes: 13 additions & 0 deletions devel/electron22/files/patch-electron_build_args_all.gn
@@ -0,0 +1,13 @@
--- electron/build/args/all.gn.orig 2023-08-27 00:45:03 UTC
+++ electron/build/args/all.gn
@@ -17,8 +17,8 @@ v8_scriptormodule_legacy_lifetime = true
v8_enable_javascript_promise_hooks = true

enable_cdm_host_verification = false
-proprietary_codecs = true
-ffmpeg_branding = "Chrome"
+# proprietary_codecs = true
+# ffmpeg_branding = "Chrome"

enable_basic_printing = true

11 changes: 11 additions & 0 deletions devel/electron22/files/patch-electron_build_args_release.gn
@@ -0,0 +1,11 @@
--- electron/build/args/release.gn.orig 2023-08-27 00:45:41 UTC
+++ electron/build/args/release.gn
@@ -7,7 +7,7 @@ is_official_build = true
# explicitly override here to build OpenH264 encoder/FFmpeg decoder.
# The initialization of the decoder depends on whether ffmpeg has
# been built with H.264 support.
-rtc_use_h264 = proprietary_codecs
+# rtc_use_h264 = proprietary_codecs

# By default, Electron builds ffmpeg with proprietary codecs enabled. In order
# to facilitate users who don't want to ship proprietary codecs in ffmpeg, or
13 changes: 13 additions & 0 deletions devel/electron23/files/patch-electron_build_args_all.gn
@@ -0,0 +1,13 @@
--- electron/build/args/all.gn.orig 2023-08-27 01:37:11 UTC
+++ electron/build/args/all.gn
@@ -17,8 +17,8 @@ v8_scriptormodule_legacy_lifetime = true
v8_enable_javascript_promise_hooks = true

enable_cdm_host_verification = false
-proprietary_codecs = true
-ffmpeg_branding = "Chrome"
+# proprietary_codecs = true
+# ffmpeg_branding = "Chrome"

enable_printing = true

11 changes: 11 additions & 0 deletions devel/electron23/files/patch-electron_build_args_release.gn
@@ -0,0 +1,11 @@
--- electron/build/args/release.gn.orig 2023-08-27 01:37:50 UTC
+++ electron/build/args/release.gn
@@ -7,7 +7,7 @@ is_official_build = true
# explicitly override here to build OpenH264 encoder/FFmpeg decoder.
# The initialization of the decoder depends on whether ffmpeg has
# been built with H.264 support.
-rtc_use_h264 = proprietary_codecs
+# rtc_use_h264 = proprietary_codecs

# By default, Electron builds ffmpeg with proprietary codecs enabled. In order
# to facilitate users who don't want to ship proprietary codecs in ffmpeg, or
13 changes: 13 additions & 0 deletions devel/electron24/files/patch-electron_build_args_all.gn
@@ -0,0 +1,13 @@
--- electron/build/args/all.gn.orig 2023-08-26 12:06:22 UTC
+++ electron/build/args/all.gn
@@ -14,8 +14,8 @@ v8_enable_snapshot_native_code_counters = false
v8_enable_javascript_promise_hooks = true

enable_cdm_host_verification = false
-proprietary_codecs = true
-ffmpeg_branding = "Chrome"
+# proprietary_codecs = true
+# ffmpeg_branding = "Chrome"

enable_printing = true

11 changes: 11 additions & 0 deletions devel/electron24/files/patch-electron_build_args_release.gn
@@ -0,0 +1,11 @@
--- electron/build/args/release.gn.orig 2023-08-26 12:07:15 UTC
+++ electron/build/args/release.gn
@@ -7,7 +7,7 @@ is_official_build = true
# explicitly override here to build OpenH264 encoder/FFmpeg decoder.
# The initialization of the decoder depends on whether ffmpeg has
# been built with H.264 support.
-rtc_use_h264 = proprietary_codecs
+# rtc_use_h264 = proprietary_codecs

# By default, Electron builds ffmpeg with proprietary codecs enabled. In order
# to facilitate users who don't want to ship proprietary codecs in ffmpeg, or
13 changes: 13 additions & 0 deletions devel/electron25/files/patch-electron_build_args_all.gn
@@ -0,0 +1,13 @@
--- electron/build/args/all.gn.orig 2023-08-27 07:42:08 UTC
+++ electron/build/args/all.gn
@@ -14,8 +14,8 @@ v8_enable_snapshot_native_code_counters = false
v8_enable_javascript_promise_hooks = true

enable_cdm_host_verification = false
-proprietary_codecs = true
-ffmpeg_branding = "Chrome"
+# proprietary_codecs = true
+# ffmpeg_branding = "Chrome"

enable_printing = true

11 changes: 11 additions & 0 deletions devel/electron25/files/patch-electron_build_args_release.gn
@@ -0,0 +1,11 @@
--- electron/build/args/release.gn.orig 2023-08-27 07:42:52 UTC
+++ electron/build/args/release.gn
@@ -7,7 +7,7 @@ is_official_build = true
# explicitly override here to build OpenH264 encoder/FFmpeg decoder.
# The initialization of the decoder depends on whether ffmpeg has
# been built with H.264 support.
-rtc_use_h264 = proprietary_codecs
+# rtc_use_h264 = proprietary_codecs

# By default, Electron builds ffmpeg with proprietary codecs enabled. In order
# to facilitate users who don't want to ship proprietary codecs in ffmpeg, or

0 comments on commit e1cac91

Please sign in to comment.