[arch-commits] Commit in vivaldi-ffmpeg-codecs/repos/community-x86_64 (3 files)

Ike Devolder idevolder at gemini.archlinux.org
Thu Dec 2 08:40:43 UTC 2021


    Date: Thursday, December 2, 2021 @ 08:40:43
  Author: idevolder
Revision: 1061577

archrelease: copy trunk to community-x86_64

Added:
  vivaldi-ffmpeg-codecs/repos/community-x86_64/PKGBUILD
    (from rev 1061576, vivaldi-ffmpeg-codecs/trunk/PKGBUILD)
  vivaldi-ffmpeg-codecs/repos/community-x86_64/gn-visibility-webrtc.patch
    (from rev 1061576, vivaldi-ffmpeg-codecs/trunk/gn-visibility-webrtc.patch)
Deleted:
  vivaldi-ffmpeg-codecs/repos/community-x86_64/PKGBUILD

----------------------------+
 PKGBUILD                   |  118 +++++++++++++++++++++----------------------
 gn-visibility-webrtc.patch |   45 ++++++++++++++++
 2 files changed, 104 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 08:40:38 UTC (rev 1061576)
+++ PKGBUILD	2021-12-02 08:40:43 UTC (rev 1061577)
@@ -1,59 +0,0 @@
-# vim:set ft=sh:
-# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
-
-pkgname=vivaldi-ffmpeg-codecs
-pkgver=95.0.4638.17
-_vivaldi_major_version=4.3
-pkgrel=1
-pkgdesc="additional support for proprietary codecs for vivaldi"
-arch=('x86_64')
-url="https://ffmpeg.org/"
-license=('LGPL2.1')
-depends=('glibc')
-makedepends=(
-  'gtk3' 'libexif' 'libxss' 'ninja' 'nss' 'pciutils' 'python' 'xdg-utils' 'gn'
-  'libva' 'nodejs'
-)
-options=('!strip')
-source=(
-  "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz"
-)
-sha512sums=('1e730e2855343d86d30a21e2d2cd7687b72f247e9e443c26f91aca3326bb70bacf525f23eea4b047ed441a6134774c1b0d931c601ff8125df226a1caff5989b7')
-
-#prepare() {
-  #cd "$srcdir/chromium-$pkgver"
-#}
-
-build() {
-  cd "$srcdir/chromium-$pkgver"
-
-  python tools/clang/scripts/update.py
-
-  export PATH="${srcdir}/chromium-${pkgver}/third_party/llvm-build/Release+Asserts/bin:$PATH"
-
-  # Setup nodejs dependency.
-  mkdir -p third_party/node/linux/node-linux-x64/bin/
-  ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
-
-  # error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
-  ln -s /usr/lib/libtinfo.so.6 \
-    third_party/llvm-build/Release+Asserts/lib/libtinfo.so.5
-
-  export CC="clang"
-  export CXX="clang++"
-
-  local args="ffmpeg_branding=\"ChromeOS\" proprietary_codecs=true enable_platform_hevc=true enable_platform_ac3_eac3_audio=true enable_platform_mpeg_h_audio=true enable_platform_dolby_vision=true enable_mse_mpeg2ts_stream_parser=true use_gnome_keyring=false use_sysroot=false use_gold=false linux_use_bundled_binutils=false treat_warnings_as_errors=false enable_nacl=false enable_nacl_nonsfi=false clang_use_chrome_plugins=true is_component_build=true is_debug=false symbol_level=0 use_custom_libcxx=true"
-
-  gn gen out/Release -v --args="$args" --script-executable=/usr/bin/python
-
-  ninja -C out/Release -v media/ffmpeg
-}
-
-package() {
-  cd "$srcdir/chromium-$pkgver"
-
-	install -Dm644 out/Release/libffmpeg.so \
-    "$pkgdir/opt/vivaldi/libffmpeg.so.$_vivaldi_major_version"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: vivaldi-ffmpeg-codecs/repos/community-x86_64/PKGBUILD (from rev 1061576, vivaldi-ffmpeg-codecs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 08:40:43 UTC (rev 1061577)
@@ -0,0 +1,59 @@
+# vim:set ft=sh:
+# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
+
+pkgname=vivaldi-ffmpeg-codecs
+pkgver=98.0.4710.4
+_vivaldi_major_version=5.0
+pkgrel=1
+pkgdesc="additional support for proprietary codecs for vivaldi"
+arch=('x86_64')
+url="https://ffmpeg.org/"
+license=('LGPL2.1')
+depends=('glibc')
+makedepends=(
+  'gtk3' 'libexif' 'libxss' 'ninja' 'nss' 'pciutils' 'python' 'xdg-utils' 'gn'
+  'libva' 'nodejs'
+)
+options=('!strip')
+source=(
+  "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz"
+)
+sha512sums=('256b695d41a7810beb3f75e23ab0aead25f10dd60af0cc5b3379c0f821e9161e08b5bac3633d38afd36f110342698263d0c5de36c84bb6de8747b35f3c546180')
+
+#prepare() {
+  #cd "$srcdir/chromium-$pkgver"
+#}
+
+build() {
+  cd "$srcdir/chromium-$pkgver"
+
+  python tools/clang/scripts/update.py
+
+  export PATH="${srcdir}/chromium-${pkgver}/third_party/llvm-build/Release+Asserts/bin:$PATH"
+
+  # Setup nodejs dependency.
+  mkdir -p third_party/node/linux/node-linux-x64/bin/
+  ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/node
+
+  # error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
+  ln -s /usr/lib/libtinfo.so.6 \
+    third_party/llvm-build/Release+Asserts/lib/libtinfo.so.5
+
+  export CC="clang"
+  export CXX="clang++"
+
+  local args="ffmpeg_branding=\"ChromeOS\" proprietary_codecs=true enable_platform_hevc=true enable_platform_ac3_eac3_audio=true enable_platform_mpeg_h_audio=true enable_platform_dolby_vision=true enable_mse_mpeg2ts_stream_parser=true use_gnome_keyring=false use_sysroot=false use_gold=false linux_use_bundled_binutils=false treat_warnings_as_errors=false enable_nacl=false enable_nacl_nonsfi=false clang_use_chrome_plugins=true is_component_build=true is_debug=false symbol_level=0 use_custom_libcxx=true"
+
+  gn gen out/Release -v --args="$args" --script-executable=/usr/bin/python
+
+  ninja -C out/Release -v media/ffmpeg
+}
+
+package() {
+  cd "$srcdir/chromium-$pkgver"
+
+	install -Dm644 out/Release/libffmpeg.so \
+    "$pkgdir/opt/vivaldi/libffmpeg.so.$_vivaldi_major_version"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: vivaldi-ffmpeg-codecs/repos/community-x86_64/gn-visibility-webrtc.patch (from rev 1061576, vivaldi-ffmpeg-codecs/trunk/gn-visibility-webrtc.patch)
===================================================================
--- gn-visibility-webrtc.patch	                        (rev 0)
+++ gn-visibility-webrtc.patch	2021-12-02 08:40:43 UTC (rev 1061577)
@@ -0,0 +1,45 @@
+From 72c4d9fc95c336f61d7a8417b78f947a400ce792 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tomasz=20=C5=9Aniatowski?= <tsniatowski at vewd.com>
+Date: Tue, 14 Sep 2021 10:33:37 +0000
+Subject: [PATCH] Relax googletest gn config visibility for webrtc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+An upcoming gn roll will start enforcing config visibility on
+public_configs and all_dependent_configs. Normally, configs with
+limited visibility have corresponding helper targets that push the
+configs using public_configs and are propagated with public_deps.
+However, webrtc prefers to avoid public_deps, and pushes the gtest
+config using all_dependent_configs. This requires direct visibility,
+so tweak gtest BUILD.gn to make things work.
+
+Bug: gn:252, 1249254
+Change-Id: Ic7be22f7bf129255fb0ac51f437cd6dd3989e3a3
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3158065
+Commit-Queue: Tomasz Śniatowski <tsniatowski at vewd.com>
+Reviewed-by: Victor Costan <pwnall at chromium.org>
+Cr-Commit-Position: refs/heads/main@{#921126}
+---
+ third_party/googletest/BUILD.gn | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/third_party/googletest/BUILD.gn b/third_party/googletest/BUILD.gn
+index fe240ebe954b6..d2bde47d75eab 100644
+--- a/third_party/googletest/BUILD.gn
++++ b/third_party/googletest/BUILD.gn
+@@ -5,7 +5,13 @@
+ import("//build_overrides/build.gni")
+ 
+ config("gtest_config") {
+-  visibility = [ ":*" ]  # gmock also shares this config.
++  # webrtc wants to push this config without a public_dep chain
++  # TODO(crbug.com/1249254): figure out what to do with this
++  visibility = [
++    ":*",  # gmock also shares this config.
++    "//test:*",  # webrts standalone setup
++    "//third_party/webrtc/test:*",
++  ]
+ 
+   defines = [
+     # Chromium always links googletest statically, so no API qualifier is



More information about the arch-commits mailing list