7
0

Accepting request 930713 from devel:languages:javascript

- Do not build with H264
- Removed electron-13-openh264-format-security.patch

OBS-URL: https://build.opensuse.org/request/show/930713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs-electron?expand=0&rev=10
This commit is contained in:
2021-11-11 20:37:54 +00:00
committed by Git OBS Bridge
parent fd50b8872c
commit d51b5b9a83
5 changed files with 10 additions and 18 deletions

View File

@@ -272,7 +272,6 @@ keeplibs=(
third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2
third_party/one_euro_filter
third_party/opencv
third_party/openh264
third_party/openscreen
third_party/openscreen/src/third_party/mozilla
third_party/openscreen/src/third_party/tinycbor/src/src

View File

@@ -1,13 +0,0 @@
Index: electron-13.1.6/third_party/openh264/BUILD.gn
===================================================================
--- electron-13.1.6.orig/third_party/openh264/BUILD.gn 2021-07-09 09:23:47.767202563 +0200
+++ electron-13.1.6/third_party/openh264/BUILD.gn 2021-07-12 08:06:11.340219647 +0200
@@ -24,8 +24,6 @@ config("config") {
# GCC and clang flags. MSVS (is_win && !is_clang) does not use cflags.
if (!is_win || is_clang) {
cflags += [
- "-Wno-format",
- "-Wno-format-security",
"-Wno-header-hygiene",
"-Wno-unused-function",
"-Wno-unused-value",

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ded193756a522ac6e61306f5c5320427cb2a9f9c29b383ff05cedef7df22960
size 1097811288
oid sha256:95fe420dc0578799bccf117d03058d098a79c081fb5ea44f66f66fd743f5e412
size 1039582672

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 10 06:53:45 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
- Do not build with H264
- Removed electron-13-openh264-format-security.patch
-------------------------------------------------------------------
Wed Nov 3 14:21:25 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@@ -94,8 +94,6 @@ Patch22: electron-13-fix-base-check-nomerge.patch
Patch23: electron-13-gcc-fix-v8-nodiscard.patch
# Fix blink nodestructor
Patch24: electron-13-blink-gcc-ambiguous-nodestructor.patch
# Remove -Wno-format-security from openh264
Patch25: electron-13-openh264-format-security.patch
Patch26: a9831f1cbf93fb18dd951453635f488037454ce9.patch
BuildRequires: SDL-devel
BuildRequires: binutils-gold
@@ -429,6 +427,8 @@ myconf_gn+=" enable_widevine=true"
myconf_gn+=" use_dbus=true"
myconf_gn+=" enable_vulkan=true"
myconf_gn+=" icu_use_data_file=false"
myconf_gn+=" media_use_openh264=false"
myconf_gn+=" rtc_use_h264=false"
%if %{with clang}
myconf_gn+=" is_clang=true clang_base_path=\"/usr\" clang_use_chrome_plugins=false"