extra/chromium to 59.0.3071.104-1

This commit is contained in:
Kevin Mihelich 2017-06-16 13:33:11 +00:00
parent b324710546
commit 0967851085

View file

@ -33,24 +33,24 @@ declare -rgA _system_libs=(
)
pkgname=chromium
pkgver=59.0.3071.86
pkgver=59.0.3071.104
pkgrel=1
_launcher_ver=3
_launcher_ver=4
pkgdesc="A web browser built for speed, simplicity, and security"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://www.chromium.org/Home"
license=('BSD')
depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt'
'ttf-font' 'systemd' 'dbus' 'libpulse' 'perl' 'perl-file-basedir'
'pciutils' 'desktop-file-utils' 'hicolor-icon-theme')
'ttf-font' 'systemd' 'dbus' 'libpulse' 'pciutils' 'desktop-file-utils'
'hicolor-icon-theme')
depends+=(${_system_libs[@]})
makedepends=('python2' 'gperf' 'yasm' 'mesa' 'ninja' 'nodejs' 'git')
makedepends=('python2' 'gperf' 'yasm' 'mesa' 'ninja' 'nodejs' 'go' 'git')
optdepends=('kdialog: needed for file dialogs in KDE'
'gnome-keyring: for storing passwords in GNOME keyring'
'kwallet: for storing passwords in KWallet')
install=chromium.install
source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgname-$pkgver.tar.xz
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
git+https://github.com/foutrelis/chromium-launcher.git#tag=v$_launcher_ver
chromium.desktop
chromium-system-ffmpeg-r6.patch
0001-ClientNativePixmapFactoryDmabuf-uses-ioctl-instead-o.patch
@ -59,11 +59,14 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/$pkgn
chromium-v8-gcc7.patch
chromium-widevine.patch
0001-ARM-toolchain-fixes.patch)
sha256sums=('f24cef3dd2acf9dd5ccdeeca47fea42d1c1ddff32b7375dc9e0cd35a4e8d78ff'
'8b01fb4efe58146279858a754d90b49e5a38c9a0b36a1f84cbb7d12f92b84c28'
sha256sums=('a949fa166cdcdbd8419fbdb4583804613d9845130f0c851e4c647d79a4c300d0'
'SKIP'
'028a748a5c275de9b8f776f97909f999a8583a4b77fd1cd600b4fc5c0c3e91e9'
'e3c474dbf3822a0be50695683bd8a2c9dfc82d41c1524a20b4581883c0c88986'
'64d743c78183c302c42d1f289863e34c74832fca57443833e46a0a3157e2b5de'
'2fc21f48b95f9f2c2bd8576742fcf8028a8877c6b6e96c04d88184915982234e'
'9c081c84a4f85dbef82a9edf34cf0b1e8377c563874fd9c1b4efddf1476748f9'
'42eb6ada30d5d507f2bda2d2caece37e397e7086bc0d430db776fad143562fb6'
'f94310a7ba9b8b777adfb4442bcc0a8f0a3d549b2cf4a156066f8e2e28e2f323'
'46dacc4fa52652b7d99b8996d6a97e5e3bac586f879aefb9fb95020d2c4e5aec'
'd6fdcb922e5a7fbe15759d39ccc8ea4225821c44d98054ce0f23f9d1f00c9808'
'8489d2a85b32e9b08f5c30d47b40ae41911d1915f48b6de3c41fe350dfecfef6')
@ -77,6 +80,9 @@ _google_default_client_id=413772536636.apps.googleusercontent.com
_google_default_client_secret=0ZChLK6AxeA3Isu96MkwqDR4
prepare() {
cd chromium-launcher
git submodule update --init
cd "$srcdir/$pkgname-$pkgver"
# Arch Linux ARM fixes
@ -103,8 +109,6 @@ prepare() {
# Fixes from Gentoo
patch -Np1 -i ../chromium-system-ffmpeg-r6.patch
patch -Np1 -i ../chromium-gn-bootstrap-r2.patch
# Use Python 2
find . -name '*.py' -exec sed -i -r 's|/usr/bin/python$|&2|g' {} +
@ -130,12 +134,10 @@ prepare() {
python2 build/linux/unbundle/replace_gn_files.py \
--system-libraries "${!_system_libs[@]}"
python2 third_party/libaddressinput/chromium/tools/update-strings.py
}
build() {
make -C "$srcdir/chromium-launcher-$_launcher_ver" PREFIX=/usr GTK=3
make -C chromium-launcher
cd "$srcdir/$pkgname-$pkgver"
@ -177,8 +179,7 @@ build() {
}
package() {
cd "$srcdir/chromium-launcher-$_launcher_ver"
cd chromium-launcher
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE \
"$pkgdir/usr/share/licenses/chromium/LICENSE.launcher"