[arch-commits] Commit in vivaldi-ffmpeg-codecs/repos/community-x86_64 (4 files)
Ike Devolder
idevolder at gemini.archlinux.org
Fri Mar 4 14:20:17 UTC 2022
Date: Friday, March 4, 2022 @ 14:20:17
Author: idevolder
Revision: 1141696
archrelease: copy trunk to community-x86_64
Added:
vivaldi-ffmpeg-codecs/repos/community-x86_64/PKGBUILD
(from rev 1141695, vivaldi-ffmpeg-codecs/trunk/PKGBUILD)
vivaldi-ffmpeg-codecs/repos/community-x86_64/gn-visibility-webrtc.patch
(from rev 1141695, vivaldi-ffmpeg-codecs/trunk/gn-visibility-webrtc.patch)
Deleted:
vivaldi-ffmpeg-codecs/repos/community-x86_64/PKGBUILD
vivaldi-ffmpeg-codecs/repos/community-x86_64/gn-visibility-webrtc.patch
----------------------------+
PKGBUILD | 121 ++++++++++++++++++++++---------------------
gn-visibility-webrtc.patch | 90 +++++++++++++++----------------
2 files changed, 107 insertions(+), 104 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-03-04 14:20:10 UTC (rev 1141695)
+++ PKGBUILD 2022-03-04 14:20:17 UTC (rev 1141696)
@@ -1,59 +0,0 @@
-# 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.1
-pkgrel=2
-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/PKGBUILD (from rev 1141695, vivaldi-ffmpeg-codecs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-03-04 14:20:17 UTC (rev 1141696)
@@ -0,0 +1,62 @@
+# 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.1
+pkgrel=3
+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"
+ "https://github.com/gentoo/gentoo/raw/master/www-client/chromium/files/chromium-glibc-2.34.patch"
+)
+sha512sums=('256b695d41a7810beb3f75e23ab0aead25f10dd60af0cc5b3379c0f821e9161e08b5bac3633d38afd36f110342698263d0c5de36c84bb6de8747b35f3c546180'
+ '85cf5f24f8c1cccc919bd5264cea7d3e46391084bc58c889d7236677f925251d0323ba4b312c363484d48d0158376b6a93e1d0c3d015a38f48031244a1676b76')
+
+prepare() {
+ cd "$srcdir/chromium-$pkgver"
+ patch -p1 -i "$srcdir/chromium-glibc-2.34.patch"
+}
+
+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:
Deleted: gn-visibility-webrtc.patch
===================================================================
--- gn-visibility-webrtc.patch 2022-03-04 14:20:10 UTC (rev 1141695)
+++ gn-visibility-webrtc.patch 2022-03-04 14:20:17 UTC (rev 1141696)
@@ -1,45 +0,0 @@
-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
Copied: vivaldi-ffmpeg-codecs/repos/community-x86_64/gn-visibility-webrtc.patch (from rev 1141695, vivaldi-ffmpeg-codecs/trunk/gn-visibility-webrtc.patch)
===================================================================
--- gn-visibility-webrtc.patch (rev 0)
+++ gn-visibility-webrtc.patch 2022-03-04 14:20:17 UTC (rev 1141696)
@@ -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