Backport libreoffice from PPA
Add helper to get latest available version. Libreoffice configures the ppa to compile for ubuntu focal, and we just have to adjust slightly the rules to use their work in Trisquel
This commit is contained in:
parent
32e7df7a8f
commit
c77cb382db
2 changed files with 55 additions and 0 deletions
23
helpers/DATA/libreoffice/debian-rules.patch
Normal file
23
helpers/DATA/libreoffice/debian-rules.patch
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
--- debian/rules 2021-05-29 00:59:51.510029198 +0200
|
||||
+++ debian/rules 2021-05-29 01:06:26.661451380 +0200
|
||||
@@ -595,17 +595,19 @@
|
||||
BULLSEYE_BACKPORT=y
|
||||
endif
|
||||
|
||||
-ifeq "$(DEB_VENDOR)" "Ubuntu"
|
||||
+ifeq ("$(DEB_VENDOR)",$(filter "$(DEB_VENDOR)","Ubuntu" "Trisquel"))
|
||||
+ ifeq "$(DEB_VENDOR)" "Ubuntu"
|
||||
# Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys .
|
||||
# Note: these are for Ubuntu use ONLY. For your own distribution,
|
||||
# please get your own set of keys.
|
||||
# Permission to add API keys, from Paweł Hajdan, To chad.miller@canonical.com
|
||||
# msgid: CAADNaOFSFoch68NM1SGpCTRXqmspyKQgUPUtsF7SGRsRXiHZcg@mail.gmail.com
|
||||
# reused from chromium-browser 48.0.2564.82-0ubuntu1.1222
|
||||
GOOGLEAPI_APIKEY_UBUNTU := AIzaSyDDiKg-iNf3zW2j16KDsnSDnJJAgh4TnCc
|
||||
GOOGLEAPI_CLIENTID_UBUNTU := 424119844901-gee57209rkbo1rgula4i0arilvgv3lsf.apps.googleusercontent.com
|
||||
GOOGLEAPI_CLIENTSECRET_UBUNTU := 3h1DknIrVsq2wEhIuADVxQ3E
|
||||
CONFIGURE_FLAGS += --with-gdrive-client-id=$(GOOGLEAPI_CLIENTID_UBUNTU) --with-gdrive-client-secret=$(GOOGLEAPI_CLIENTSECRET_UBUNTU)
|
||||
+ endif
|
||||
|
||||
# lp#1034560: MIR troubles make it easier to use internal jfreereport
|
||||
SYSTEM_STUFF := $(filter-out jfreereport npapi-headers, $(SYSTEM_STUFF))
|
||||
Loading…
Add table
Add a link
Reference in a new issue