summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxim Baz2018-02-14 16:26:41 +0100
committerMaxim Baz2018-02-14 16:28:24 +0100
commit6f5726ef09a066c4e06968ecc61e36b8136446a0 (patch)
tree99905e7ebfb917af985d1f43a07d87d2472155ab
parentd9e43c5cd9e77952dd61be7d8bde61f5ac2b55b1 (diff)
downloadaur-6f5726ef09a066c4e06968ecc61e36b8136446a0.tar.gz
Update to 64.0.3282.140-2
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD16
-rw-r--r--chromium-exclude_unwind_tables.patch33
3 files changed, 9 insertions, 45 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 239e63f3b1f0..c9a1ba90345f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = chromium-vaapi
pkgdesc = Chromium compiled with VA-API support for Intel Graphics
pkgver = 64.0.3282.140
- pkgrel = 1
+ pkgrel = 2
url = https://www.chromium.org/Home
install = chromium.install
arch = i686
@@ -32,6 +32,7 @@ pkgbase = chromium-vaapi
depends = hicolor-icon-theme
depends = libva
depends = flac
+ depends = libvpx
depends = icu
depends = opus
depends = minizip
@@ -57,7 +58,6 @@ pkgbase = chromium-vaapi
source = chromium-skia-harmony.patch
source = chromium-memcpy-r0.patch
source = chromium-clang-r2.patch
- source = chromium-exclude_unwind_tables.patch
source = chromium-widevine.patch
source = chromium-vaapi-move.patch.gz
source = chromium-vaapi-init.patch
@@ -71,7 +71,6 @@ pkgbase = chromium-vaapi
sha256sums = feca54ab09ac0fc9d0626770a6b899a6ac5a12173c7d0c1005bc3964ec83e7b3
sha256sums = 455f0029987d9f0532bd9a5250669af5146a9c2b65b776d4a6e2499e8aca7bb4
sha256sums = 4495e8b29dae242c79ffe4beefc5171eb3c7aacb7e9aebfd2d4d69b9d8c958d3
- sha256sums = 9478f1ec1a3c53425306cf41c2d0555c215a4f106955d9d6adfff38044530ce8
sha256sums = d6fdcb922e5a7fbe15759d39ccc8ea4225821c44d98054ce0f23f9d1f00c9808
sha256sums = 12d6663bc61845414b284bb9e2d455e0f4e40f5ae69d035f00505ce9c9403169
sha256sums = 8a81a14af625c8b79006d1b9b4321d5487bc2e56a3fb3a677f9a8dab369be7af
diff --git a/PKGBUILD b/PKGBUILD
index 4d9ce5e65253..1b09e99c704f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@
pkgname=chromium-vaapi
pkgver=64.0.3282.140
-pkgrel=1
+pkgrel=2
_launcher_ver=5
pkgdesc="Chromium compiled with VA-API support for Intel Graphics"
arch=('i686' 'x86_64')
@@ -37,7 +37,6 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
chromium-skia-harmony.patch
chromium-memcpy-r0.patch
chromium-clang-r2.patch
- chromium-exclude_unwind_tables.patch
chromium-widevine.patch
chromium-vaapi-move.patch.gz
chromium-vaapi-init.patch
@@ -52,7 +51,6 @@ sha256sums=('146afbab37982c52251e5c71b6e19e6e7053b527217fe1da9966c794478c29ce'
'feca54ab09ac0fc9d0626770a6b899a6ac5a12173c7d0c1005bc3964ec83e7b3'
'455f0029987d9f0532bd9a5250669af5146a9c2b65b776d4a6e2499e8aca7bb4'
'4495e8b29dae242c79ffe4beefc5171eb3c7aacb7e9aebfd2d4d69b9d8c958d3'
- '9478f1ec1a3c53425306cf41c2d0555c215a4f106955d9d6adfff38044530ce8'
'd6fdcb922e5a7fbe15759d39ccc8ea4225821c44d98054ce0f23f9d1f00c9808'
'12d6663bc61845414b284bb9e2d455e0f4e40f5ae69d035f00505ce9c9403169'
'8a81a14af625c8b79006d1b9b4321d5487bc2e56a3fb3a677f9a8dab369be7af'
@@ -71,7 +69,7 @@ readonly -A _system_libs=(
[libdrm]=
[libjpeg]=libjpeg
#[libpng]=libpng # https://crbug.com/752403#c10
- #[libvpx]=libvpx # https://bugs.gentoo.org/611394
+ [libvpx]=libvpx
[libwebp]=libwebp
#[libxml]=libxml2 # https://crbug.com/736026
[libxslt]=libxslt
@@ -114,9 +112,6 @@ prepare() {
sed "s/@WIDEVINE_VERSION@/Pinkie Pie/" ../chromium-widevine.patch |
patch -Np1
- # https://chromium-review.googlesource.com/c/chromium/src/+/712575
- patch -Np1 -i ../chromium-exclude_unwind_tables.patch
-
# https://crbug.com/772655
patch -Np1 -i ../chromium-use-fromUTF8-for-UnicodeString-construction.patch
@@ -207,7 +202,6 @@ build() {
'link_pulseaudio=true'
'use_system_freetype=true'
'use_system_harfbuzz=true'
- 'use_gtk3=true'
'use_gconf=false'
'use_gnome_keyring=false'
'use_gold=false'
@@ -226,7 +220,11 @@ build() {
)
if check_option strip y; then
- _flags+=('exclude_unwind_tables=true')
+ # https://chromium-review.googlesource.com/c/chromium/src/+/712575
+ # _flags+=('exclude_unwind_tables=true')
+ CFLAGS+=' -fno-unwind-tables -fno-asynchronous-unwind-tables'
+ CXXFLAGS+=' -fno-unwind-tables -fno-asynchronous-unwind-tables'
+ CPPFLAGS+=' -DNO_UNWIND_TABLES'
fi
python2 tools/gn/bootstrap/bootstrap.py --gn-gen-args "${_flags[*]}"
diff --git a/chromium-exclude_unwind_tables.patch b/chromium-exclude_unwind_tables.patch
deleted file mode 100644
index 1961f15e412d..000000000000
--- a/chromium-exclude_unwind_tables.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