- Add api keys for google drive to work bsc#1047467

* Copied from chromium

OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=512
This commit is contained in:
Tomáš Chvátal 2017-07-04 10:30:28 +00:00 committed by Git OBS Bridge
parent 3663bc728b
commit 5c35a3bf87
2 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 4 10:05:19 UTC 2017 - tchvatal@suse.com
- Add api keys for google drive to work bsc#1047467
* Copied from chromium
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 24 09:51:43 UTC 2017 - tchvatal@suse.com Sat Jun 24 09:51:43 UTC 2017 - tchvatal@suse.com

View File

@ -22,8 +22,8 @@
%define numbertext_version 0.9.5 %define numbertext_version 0.9.5
# Urls # Urls
%define external_url http://dev-www.libreoffice.org/src/ %define external_url http://dev-www.libreoffice.org/src/
#%define tarball_url http://download.documentfoundation.org/libreoffice/src/5.4.0 %define tarball_url http://download.documentfoundation.org/libreoffice/src/5.4.0
%define tarball_url http://dev-builds.libreoffice.org/pre-releases/src/ #%define tarball_url http://dev-builds.libreoffice.org/pre-releases/src/
# Wether to enable the kde integration # Wether to enable the kde integration
%if 0%{?is_opensuse} %if 0%{?is_opensuse}
%bcond_without kdeintegration %bcond_without kdeintegration
@ -958,6 +958,13 @@ export ARCH_FLAGS CFLAGS CXXFLAGS
export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser' export OPENCOLLADA_CFLAGS='-I/usr/include/COLLADABaseUtils -I/usr/include/COLLADAFramework -I/usr/include/COLLADASaxFrameworkLoader -I/usr/include/GeneratedSaxParser'
export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser' export OPENCOLLADA_LIBS='-lOpenCOLLADABaseUtils -lOpenCOLLADAFramework -lOpenCOLLADASaxFrameworkLoader -lGeneratedSaxParser'
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys
# Note: these are for the openSUSE Chromium builds ONLY. For your own distribution,
# please get your own set of keys.
google_api_key="AIzaSyD1hTe85_a14kr1Ks8T3Ce75rvbR1_Dx7Q"
google_default_client_id="4139804441.apps.googleusercontent.com"
google_default_client_secret="KDTRKEZk2jwT_7CDpcmMA--P"
# do not run configure in autogen but use macro later # do not run configure in autogen but use macro later
export NOCONFIGURE=yes export NOCONFIGURE=yes
./autogen.sh ./autogen.sh
@ -1031,7 +1038,9 @@ export NOCONFIGURE=yes
--enable-neon \ --enable-neon \
--disable-ccache \ --disable-ccache \
--disable-coinmp \ --disable-coinmp \
--enable-symbols --enable-symbols \
--with-gdrive-client-secret="${google_default_client_secret}" \
--with-gdrive-client-id="${google_default_client_id}"
# no coinormp packages for coinmp # no coinormp packages for coinmp
# just call make here as we added the jobs in configure # just call make here as we added the jobs in configure