mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/chromium: rebuild with Google API keys
This commit is contained in:
parent
a31a18a0b5
commit
13772536df
1 changed files with 12 additions and 1 deletions
|
@ -20,7 +20,7 @@ highmem=1
|
|||
|
||||
pkgname=chromium
|
||||
pkgver=27.0.1453.110
|
||||
pkgrel=1
|
||||
pkgrel=1.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/"
|
||||
|
@ -54,6 +54,14 @@ sha256sums=('85ebae343507bcd2393f2e159f2204e47a2f5e2a45fa9f3a389bcdfc17d4c1f8'
|
|||
'd530f52cb485ff8da035b38ffebe171309a1d8e515040f5e6398ecb286336797'
|
||||
'23b04468881642ffdc8457016c8f91df395dfccb4af2ad6b758168180ae070f3'
|
||||
'66705264d9e679a58ed522b4475a06c8a5a4fe52a709c537b1a7d5aa43fb6c84')
|
||||
|
||||
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
|
||||
# Note: These are for Arch Linux ARM use ONLY. For your own distribution, please
|
||||
# get your own set of keys.
|
||||
_google_api_key=AIzaSyB5DE-zRfiego2FTQbn65IGBVDxomwiDSw
|
||||
_google_default_client_id=844256030434.apps.googleusercontent.com
|
||||
_google_default_client_secret=lpcVzZ0UMI26sJRGMn29JCgd
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
|
||||
|
@ -113,6 +121,9 @@ arch_specific_flags="
|
|||
fi
|
||||
|
||||
build/gyp_chromium --depth=. \
|
||||
-Dgoogle_api_key=$_google_api_key \
|
||||
-Dgoogle_default_client_id=$_google_default_client_id \
|
||||
-Dgoogle_default_client_secret=$_google_default_client_secret \
|
||||
-Dwerror= \
|
||||
-Dlinux_link_gsettings=1 \
|
||||
-Dlinux_link_libpci=1 \
|
||||
|
|
Loading…
Reference in a new issue