extra/chromium to 35.0.1916.114-1

This commit is contained in:
Kevin Mihelich 2014-05-21 01:25:43 +00:00
parent 9a6e4d8028
commit 0a1e26d36c
4 changed files with 12 additions and 45 deletions

View file

@ -21,18 +21,18 @@
buildarch=4
pkgname=chromium
pkgver=34.0.1847.137
pkgver=35.0.1916.114
pkgrel=1
pkgdesc="The open-source project behind Google Chrome, an attempt at creating a safer, faster, and more stable browser"
arch=('armv6h' 'armv7h')
url="http://www.chromium.org/"
license=('BSD')
depends=('gtk2' 'nss' 'alsa-lib' 'xdg-utils' 'bzip2' 'libevent' 'libxss'
'libgcrypt' 'ttf-font' 'systemd' 'dbus' 'flac' 'opus' 'snappy'
'speech-dispatcher' 'pciutils' 'libpulse' 'harfbuzz' 'harfbuzz-icu'
'libgcrypt' 'ttf-font' 'systemd' 'dbus' 'flac' 'snappy'
'speech-dispatcher' 'pciutils' 'libpulse' 'harfbuzz'
'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('python2' 'perl' 'gperf' 'yasm' 'mesa' 'libgnome-keyring'
'elfutils' 'subversion')
'elfutils' 'subversion' 'ninja')
optdepends=('kdebase-kdialog: needed for file dialogs in KDE'
'gnome-keyring: for storing passwords in GNOME keyring'
'libgnome-keyring: for storing passwords in GNOME keyring'
@ -44,21 +44,17 @@ install=chromium.install
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
chromium.desktop
chromium.default
chromium-gn-r1.patch
chromium-depot-tools-r0.patch
chromium.sh
arm-webrtc-fix.patch
chromium-arm-r0.patch
skia.patch
v6-ffmpeg.patch)
sha256sums=('938bf0e673101bb1aeec4c3e2e75df372cebe3d2ee93e9f4669d64ce92656027'
sha256sums=('566fcdc05d53c551d142ac9742ef69ba7c6d5a450d8ec41c0efd4fc8249f77af'
'09bfac44104f4ccda4c228053f689c947b3e97da9a4ab6fa34ce061ee83d0322'
'478340d5760a9bd6c549e19b1b5d1c5b4933ebf5f8cfb2b3e2d70d07443fe232'
'b1ca3f17959be4fb6c031563b1ee587b7e990166c41b9d5b9dce2f91bf01fe1c'
'14d86770eaaead42e244007ebe5a94d188f8668c2598fa6042ada87a90cae671'
'4999fded897af692f4974f0a3e3bbb215193519918a1fa9b31ed51e74a2dccb9'
'9db0f01517c52e3236ff52e8a664840542a19144a54923ae6aabea3dcfa92c52'
'3c6138787d83390100fa6b7571759e975c9011e3ae345c6bbbb1e00a9e611e60'
'df4be49770d508b772f98eda9fc5f37fa71d4c0459437e12f7f3db5892aa1611'
'd53c0af6636611ee190083361d100cbbdc18515d94f59c2750da121022554226'
'3fbabcbd512494b529e0a0e17560735887acf2291a74653750f9b29f5d45774d')
@ -74,10 +70,6 @@ _google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
prepare() {
cd "$srcdir/$pkgname-$pkgver"
# Build fixes (patches from Gentoo)
patch -Np0 -i "$srcdir/chromium-gn-r1.patch"
patch -Np0 -i "$srcdir/chromium-depot-tools-r0.patch"
# Temp fix for skia
patch -Np0 -i "$srcdir/skia.patch"
@ -108,9 +100,6 @@ build() {
# CFLAGS are passed through release_extra_cflags below
export -n CFLAGS CXXFLAGS
# Silence "locally defined but not used" warnings in Chromium and WebKit
CFLAGS+=' -Wno-unused-local-typedefs'
if [ "$CARCH" == "armv6h" ]; then
arch_specific_flags="
-Darmv7=0 \
@ -153,13 +142,13 @@ fi
-Duse_system_libjpeg=1
-Duse_system_libpng=1
-Duse_system_libxml=0
-Duse_system_opus=1
-Duse_system_snappy=1
-Duse_system_ssl=1
-Duse_system_xdg_utils=1
-Duse_system_yasm=1
-Duse_system_zlib=0
-Duse_gconf=0
-Ddisable_fatal_linker_warnings=1
-Ddisable_glibc=1
-Ddisable_sse2=1
-Dtarget_arch=arm
@ -179,9 +168,9 @@ fi
popd > /dev/null || die
build/linux/unbundle/replace_gyp_files.py "${_chromium_conf[@]}"
build/gyp_chromium -f make --depth=. "${_chromium_conf[@]}"
build/gyp_chromium --depth=. "${_chromium_conf[@]}"
make chrome chrome_sandbox BUILDTYPE=Release
ninja -C out/Release chrome chrome_sandbox
}
package() {

View file

@ -1,9 +1,9 @@
--- third_party/icu/icu.gyp.orig 2014-03-16 17:49:02.561203814 -0500
+++ third_party/icu/icu.gyp 2014-03-16 17:49:23.191037086 -0500
--- third_party/icu/icu.gyp.orig 2014-05-20 19:17:22.879538568 -0600
+++ third_party/icu/icu.gyp 2014-05-20 19:19:42.204032167 -0600
@@ -30,7 +30,7 @@
}],
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
or OS=="netbsd" or OS=="mac" or OS=="android") and \
or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
- (target_arch=="arm" or target_arch=="ia32" or \
+ (target_arch=="ia32" or \
target_arch=="mipsel")', {

View file

@ -1,11 +0,0 @@
--- build/gyp_chromium.orig 2014-01-29 01:22:52.527247671 +0000
+++ build/gyp_chromium 2014-01-29 01:23:49.857623290 +0000
@@ -38,8 +38,6 @@
sys.path.insert(1, os.path.join(chrome_src, 'third_party', 'WebKit',
'Source', 'build', 'scripts'))
-import find_depot_tools
-
# On Windows, Psyco shortens warm runs of build/gyp_chromium by about
# 20 seconds on a z600 machine with 12 GB of RAM, from 90 down to 70
# seconds. Conversely, memory usage of build/gyp_chromium with Psyco

View file

@ -1,11 +0,0 @@
--- build/gyp_chromium.orig 2014-01-16 22:55:50.292718339 +0000
+++ build/gyp_chromium 2014-01-16 23:15:17.890248708 +0000
@@ -370,8 +370,6 @@
args.append('--check')
supplemental_includes = GetSupplementalFiles()
- if not RunGN(supplemental_includes):
- sys.exit(1)
args.extend(
['-I' + i for i in additional_include_files(supplemental_includes, args)])