aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2013-06-04 01:55:12 +0800
committerrene <rene@FreeBSD.org>2013-06-04 01:55:12 +0800
commit056dc0e5f5ce517d626e5ef610b77bc6f7bb5c9f (patch)
treecbbb5528579a7625fd438ea9e0570b622538aff7
parentc7f543c72948aab342e20ed662450b9dd5e48758 (diff)
downloadfreebsd-ports-gnome-056dc0e5f5ce517d626e5ef610b77bc6f7bb5c9f.tar.gz
freebsd-ports-gnome-056dc0e5f5ce517d626e5ef610b77bc6f7bb5c9f.tar.zst
freebsd-ports-gnome-056dc0e5f5ce517d626e5ef610b77bc6f7bb5c9f.zip
Use the FreeBSD API key, this enables webservices like e.g. Google Sync and
Geolocation. Note that the key is for FreeBSD use ONLY. Submitted by: George Liaskos Approved by: Pawel Hajdan <phajdan@google.com>
-rw-r--r--www/chromium/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 2e5f85d72a18..5362bb547929 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -4,6 +4,7 @@
PORTNAME= chromium
DISTVERSIONPREFIX= courgette-redacted-
DISTVERSION= 27.0.1453.93
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.goodking.org/downloads/ \
ftp://rene-ladan.nl/pub/distfiles/ \
@@ -75,6 +76,14 @@ GYP_DEFINES+= use_cups=1 \
prefix_dir=${LOCALBASE} \
python_ver=${PYTHON_VER}
+# FreeBSD Chromium Api Key
+# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
+# Note: these are for FreeBSD use ONLY. For your own distribution,
+# please get your own set of keys.
+GYP_DEFINES+= google_api_key=AIzaSyBsp9n41JLW8jCokwn7vhoaMejDFRd1mp8 \
+ google_default_client_id=996322985003.apps.googleusercontent.com \
+ google_default_client_secret=IR1za9-1VK0zZ0f_O8MVFicn
+
SUB_FILES= chromium-browser.desktop
SUB_LIST= COMMENT="${COMMENT}" \
DATADIR=${DATADIR}