summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBlackEagle2017-11-20 16:43:25 +0100
committerBlackEagle2017-11-20 16:43:25 +0100
commit220c3c977eac7cfb3a227bb945cd0a638675489e (patch)
tree54df5768e789c3f437bda6de00cf048acb907f60
parente6e7341aa2b8e6d0f3adba36d7c6b48615210e43 (diff)
downloadaur-220c3c977eac7cfb3a227bb945cd0a638675489e.tar.gz
opera-developer-ffmpeg-codecs :: 64.0.3260.2-1
Signed-off-by: BlackEagle <ike.devolder@gmail.com>
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD12
-rw-r--r--angle-disable-vulkan.patch45
-rw-r--r--chromium-FORTIFY_SOURCE-r2.patch30
-rw-r--r--chromium-exclude_unwind_tables_r2.patch33
-rw-r--r--chromium-gn-bootstrap-r22.patch10
6 files changed, 53 insertions, 91 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 185a7be9a503..0cda9e1408cb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sat Nov 18 18:50:58 UTC 2017
+# Mon Nov 20 15:43:25 UTC 2017
pkgbase = opera-developer-ffmpeg-codecs
pkgdesc = additional support for proprietary codecs for opera-developer
- pkgver = 64.0.3251.0
+ pkgver = 64.0.3260.2
pkgrel = 1
url = https://ffmpeg.org/
arch = x86_64
@@ -17,16 +17,16 @@ pkgbase = opera-developer-ffmpeg-codecs
makedepends = xdg-utils
depends = glibc
options = !strip
- source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-64.0.3251.0.tar.xz
+ source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-64.0.3260.2.tar.xz
source = chromium-last-commit-position-r1.patch
- source = https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-FORTIFY_SOURCE-r2.patch
+ source = chromium-FORTIFY_SOURCE-r2.patch
source = chromium-gcc5-r5.patch
- source = chromium-exclude_unwind_tables_r2.patch
- sha512sums = fb3aad57f7efc97e24d515c9fea347e4a8faa9d317ca5ccb2a7a023513241c7ac2c60d3f5728126e068772dba3fd88270e6e85ad5508d11063a85479fcb56214
+ source = chromium-gn-bootstrap-r22.patch
+ sha512sums = f7003976c8c5449569e0017fae5e1f2f7150a297a4bb4ad2a9bafe69e9fb4e931c76efeecbe07cc11a00af5a49591655734f21892e69e3ac523fc4d3faa2795f
sha512sums = 8f63366ca998e3ee06a79c6df5b4454707bd9865913ecde2f79fcb49fdd86d291f678b9f21807e4eb61d15497cdbe4a4bdc06637882e708f34f6804453bdfd41
sha512sums = 2d78092a700788c74b86db636af303fdb63a28ce5b7b0431dd81f6b7ce501e5d0234a6327a1b49bc23e1c1d00ba98fd5334dd07d9a20bb0d81d1a4ca4487a26c
sha512sums = ab4eedc4903a03305790e3bdd14ec8db86ffd8f30b04600271fe67cc48d4467948687f29154a96aaf88d0daa60bd24fff38e99084e3bc1f3d065b3c733ab10d7
- sha512sums = 5275a9ad964152dced1f542eabb6116cdeeadc2391abb3788e64994a475af75350c8443f1737cf07e4b95da0c5df0b58e27552952aa5c4095b4f90a2873ede7d
+ sha512sums = 617b5009f30c7da7a5523cd0be3c1e8c4d8c396401191e0b7dd46126a352a0318ce64947f05557cc94e8a7b5a8cffb3b11265ac1961650f8a3e8541fce2969fd
pkgname = opera-developer-ffmpeg-codecs
diff --git a/PKGBUILD b/PKGBUILD
index 4d028ff3a896..0288465ddc86 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: BlackEagle < ike DOT devolder AT gmail DOT com >
pkgname=opera-developer-ffmpeg-codecs
-pkgver=64.0.3251.0
+pkgver=64.0.3260.2
pkgrel=1
pkgdesc="additional support for proprietary codecs for opera-developer"
arch=('x86_64')
@@ -16,15 +16,15 @@ options=('!strip')
source=(
"https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz"
'chromium-last-commit-position-r1.patch'
- 'https://raw.githubusercontent.com/gentoo/gentoo/master/www-client/chromium/files/chromium-FORTIFY_SOURCE-r2.patch'
+ 'chromium-FORTIFY_SOURCE-r2.patch'
'chromium-gcc5-r5.patch'
- 'chromium-exclude_unwind_tables_r2.patch'
+ 'chromium-gn-bootstrap-r22.patch'
)
-sha512sums=('fb3aad57f7efc97e24d515c9fea347e4a8faa9d317ca5ccb2a7a023513241c7ac2c60d3f5728126e068772dba3fd88270e6e85ad5508d11063a85479fcb56214'
+sha512sums=('f7003976c8c5449569e0017fae5e1f2f7150a297a4bb4ad2a9bafe69e9fb4e931c76efeecbe07cc11a00af5a49591655734f21892e69e3ac523fc4d3faa2795f'
'8f63366ca998e3ee06a79c6df5b4454707bd9865913ecde2f79fcb49fdd86d291f678b9f21807e4eb61d15497cdbe4a4bdc06637882e708f34f6804453bdfd41'
'2d78092a700788c74b86db636af303fdb63a28ce5b7b0431dd81f6b7ce501e5d0234a6327a1b49bc23e1c1d00ba98fd5334dd07d9a20bb0d81d1a4ca4487a26c'
'ab4eedc4903a03305790e3bdd14ec8db86ffd8f30b04600271fe67cc48d4467948687f29154a96aaf88d0daa60bd24fff38e99084e3bc1f3d065b3c733ab10d7'
- '5275a9ad964152dced1f542eabb6116cdeeadc2391abb3788e64994a475af75350c8443f1737cf07e4b95da0c5df0b58e27552952aa5c4095b4f90a2873ede7d')
+ '617b5009f30c7da7a5523cd0be3c1e8c4d8c396401191e0b7dd46126a352a0318ce64947f05557cc94e8a7b5a8cffb3b11265ac1961650f8a3e8541fce2969fd')
prepare() {
cd "$srcdir/chromium-$pkgver"
@@ -43,7 +43,7 @@ prepare() {
patch -p1 -i "$srcdir/chromium-last-commit-position-r1.patch"
patch -p1 -i "$srcdir/chromium-FORTIFY_SOURCE-r2.patch"
patch -p1 -i "$srcdir/chromium-gcc5-r5.patch"
- patch -p1 -i "$srcdir/chromium-exclude_unwind_tables_r2.patch"
+ patch -p1 -i "$srcdir/chromium-gn-bootstrap-r22.patch"
}
build() {
diff --git a/angle-disable-vulkan.patch b/angle-disable-vulkan.patch
deleted file mode 100644
index 0347c9388523..000000000000
--- a/angle-disable-vulkan.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- a/third_party/angle/BUILD.gn 2017-08-05 00:06:22.000000000 +0200
-+++ b/third_party/angle/BUILD.gn 2017-09-03 11:19:35.412969192 +0200
-@@ -282,13 +282,6 @@
- defines += [ "ANGLE_ENABLE_HLSL" ]
- }
-
-- if (angle_enable_vulkan || use_libfuzzer) {
-- sources += rebase_path(compiler_gypi.angle_translator_lib_vulkan_sources,
-- ".",
-- "src")
-- defines += [ "ANGLE_ENABLE_VULKAN" ]
-- }
--
- configs -= angle_undefine_configs
- configs += [ ":internal_config" ]
- public_configs = [ ":external_config" ]
-@@ -374,9 +367,6 @@
- defines += [ "ANGLE_USE_X11" ]
- }
- }
-- if (angle_enable_vulkan) {
-- defines += [ "ANGLE_ENABLE_VULKAN" ]
-- }
- if (angle_enable_null) {
- defines += [ "ANGLE_ENABLE_NULL" ]
- }
-@@ -467,18 +457,6 @@
- }
- }
-
-- if (angle_enable_vulkan) {
-- sources += rebase_path(gles_gypi.libangle_vulkan_sources, ".", "src")
-- if (is_win) {
-- sources +=
-- rebase_path(gles_gypi.libangle_vulkan_win32_sources, ".", "src")
-- }
-- if (is_linux) {
-- sources += rebase_path(gles_gypi.libangle_vulkan_xcb_sources, ".", "src")
-- }
-- deps += [ "//third_party/angle/src/vulkan_support:angle_vulkan" ]
-- }
--
- if (angle_enable_null) {
- sources += rebase_path(gles_gypi.libangle_null_sources, ".", "src")
- }
diff --git a/chromium-FORTIFY_SOURCE-r2.patch b/chromium-FORTIFY_SOURCE-r2.patch
new file mode 100644
index 000000000000..8ebf42a46a84
--- /dev/null
+++ b/chromium-FORTIFY_SOURCE-r2.patch
@@ -0,0 +1,30 @@
+Drop _FORTIFY_SOURCE=2 from defines
+
+Gentoo toolchains enable this by default. Removing this prevents spammy
+warnings about the macro being redefined.
+
+--- a/build/config/compiler/BUILD.gn
++++ b/build/config/compiler/BUILD.gn
+@@ -1213,22 +1213,6 @@
+ "__STDC_FORMAT_MACROS",
+ ]
+
+- if (!is_debug && !using_sanitizer &&
+- (!is_linux || !is_clang || is_official_build) &&
+- current_cpu != "s390x" && current_cpu != "s390" &&
+- current_cpu != "ppc64" && current_cpu != "ppc64" &&
+- current_cpu != "mips" && current_cpu != "mips64") {
+- # _FORTIFY_SOURCE isn't really supported by Clang now, see
+- # http://llvm.org/bugs/show_bug.cgi?id=16821.
+- # It seems to work fine with Ubuntu 12 headers though, so use it in
+- # official builds.
+- #
+- # Non-chromium code is not guaranteed to compile cleanly with
+- # _FORTIFY_SOURCE. Also, fortified build may fail when optimizations are
+- # disabled, so only do that for Release build.
+- defines += [ "_FORTIFY_SOURCE=2" ]
+- }
+-
+ if (is_mac || is_ios) {
+ cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
+ cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
diff --git a/chromium-exclude_unwind_tables_r2.patch b/chromium-exclude_unwind_tables_r2.patch
deleted file mode 100644
index 1961f15e412d..000000000000
--- a/chromium-exclude_unwind_tables_r2.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
-index ad40fd9..50e19a4 100644
---- a/build/config/compiler/compiler.gni
-+++ b/build/config/compiler/compiler.gni
-@@ -68,19 +68,19 @@
-
- # Whether or not we should use position independent code.
- use_pic = true
-+
-+ # Exclude unwind tables for official builds as unwinding can be done from
-+ # stack dumps produced by Crashpad at a later time "offline" in the crash
-+ # server. For unofficial (e.g. development) builds and non-Chrome branded
-+ # (e.g. Cronet which doesn't use Crashpad, crbug.com/479283) builds it's
-+ # useful to be able to unwind at runtime.
-+ exclude_unwind_tables =
-+ (is_chrome_branded && is_official_build) ||
-+ (is_chromecast && !is_cast_desktop_build && !is_debug && !is_fuchsia)
- }
-
- assert(!is_cfi || use_thin_lto, "CFI requires ThinLTO")
-
--# Exclude unwind tables for official builds as unwinding can be done from stack
--# dumps produced by Crashpad at a later time "offline" in the crash server.
--# For unofficial (e.g. development) builds and non-Chrome branded (e.g. Cronet
--# which doesn't use Crashpad, crbug.com/479283) builds it's useful to be able
--# to unwind at runtime.
--exclude_unwind_tables =
-- (is_chrome_branded && is_official_build) ||
-- (is_chromecast && !is_cast_desktop_build && !is_debug && !is_fuchsia)
--
- # If true, optimize for size. Does not affect windows builds.
- # Linux & Mac favor speed over size.
- # TODO(brettw) it's weird that Mac and desktop Linux are different. We should
diff --git a/chromium-gn-bootstrap-r22.patch b/chromium-gn-bootstrap-r22.patch
new file mode 100644
index 000000000000..5723281cc7d6
--- /dev/null
+++ b/chromium-gn-bootstrap-r22.patch
@@ -0,0 +1,10 @@
+--- a/tools/gn/bootstrap/bootstrap.py
++++ b/tools/gn/bootstrap/bootstrap.py
+@@ -481,6 +481,7 @@
+ 'base/metrics/sample_vector.cc',
+ 'base/metrics/sparse_histogram.cc',
+ 'base/metrics/statistics_recorder.cc',
++ 'base/observer_list_threadsafe.cc',
+ 'base/path_service.cc',
+ 'base/pending_task.cc',
+ 'base/pickle.cc',