summaryrefslogtreecommitdiff
path: root/scp2/InstallModule_ooo.mk
blob: 9a6f3eb4cb4669ac89c5c943ca0845aad854814b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_InstallModule_InstallModule,scp2/ooo))

$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/ooo,\
	brand \
	libreofficekit \
	ooo \
	ooo_fonts \
	ooo_images \
	ooobinarytable \
	pdfimport \
	reportbuilder \
))

$(eval $(call gb_InstallModule_define_if_set,scp2/ooo,\
	ENABLE_MACOSX_SANDBOX \
	ENABLE_ONLINE_UPDATE \
	MPL_SUBSET \
	SYSTEM_CURL \
	SYSTEM_HSQLDB \
	SYSTEM_LIBXSLT \
	SYSTEM_REDLAND \
	WITH_GALLERY_BUILD \
	WITH_MYSPELL_DICTS \
))

$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
	$(if $(SYSTEM_HSQLDB),\
		-DHSQLDB_JAR=\""$(call gb_Helper_make_url,$(HSQLDB_JAR))"\" \
	) \
))

ifeq ($(USING_X11),TRUE)
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
	-DUSING_X11 \
))
endif

ifneq (,$(filter DBCONNECTIVITY,$(BUILD_TYPE)))
$(eval $(call gb_InstallModule_add_defs,scp2/ooo,\
	-DDBCONNECTIVITY \
))
endif

$(eval $(call gb_InstallModule_add_templates,scp2/ooo,\
    scp2/source/templates/module_helppack \
    scp2/source/templates/module_helppack_root \
    scp2/source/templates/module_langpack \
    scp2/source/templates/module_langpack_root \
))

$(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
    scp2/source/ooo/common_brand \
    scp2/source/ooo/directory_ooo \
    scp2/source/ooo/directory_ooo_macosx \
    scp2/source/ooo/file_extra_ooo \
    scp2/source/ooo/file_library_ooo \
    scp2/source/ooo/file_ooo \
    scp2/source/ooo/installation_ooo \
    scp2/source/ooo/module_help_template \
    scp2/source/ooo/module_hidden_ooo \
    scp2/source/ooo/module_lang_template \
    scp2/source/ooo/profileitem_ooo \
    scp2/source/ooo/scpaction_ooo \
    $(if $(filter-out MACOSX WNT,$(OS)), \
		scp2/source/ooo/module_libreofficekit \
	) \
))

$(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
    scp2/source/ooo/module_helppack \
    scp2/source/ooo/module_langpack \
    scp2/source/ooo/module_ooo \
    scp2/source/ooo/module_systemint \
))

ifeq ($(ENABLE_PDFIMPORT),TRUE)
$(eval $(call gb_InstallModule_add_scpfiles,scp2/ooo,\
    scp2/source/ooo/module_pdfimport \
))
endif

ifeq ($(ENABLE_REPORTBUILDER),TRUE)
$(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/ooo,\
    scp2/source/ooo/module_reportbuilder \
))
endif

# vim: set shiftwidth=4 tabstop=4 noexpandtab:
Michael Stahl 2018-06-21poppler: upgrade to release 0.66.0Michael Stahl 2017-09-15consistent naming of externals: jpeg-turbo->libjpeg-turboMichael Stahl 2017-09-08upload poppler 0.59.0David Tardon 2017-06-22--enable-optimized should be orthogonal to --enable-debug/--enable-dbgutilStephan Bergmann 2017-05-30sal,external: remove checks for obsolete VCVER=120Michael Stahl 2017-05-25upload poppler 0.55.0David Tardon 2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky 2017-02-10Remove MinGW supportStephan Bergmann 2016-12-19add missing dep on jpegDavid Tardon 2016-11-23upload poppler 0.49.0David Tardon 2016-11-03poppler: remove obsolete ubsan patch hunkMichael Stahl 2016-11-02poppler: build against libjpegMichael Stahl 2016-10-23cond. build is already handled in Module_external.mkDavid Tardon 2016-10-23upload poppler 0.48.0David Tardon 2016-10-14external/poppler: Avoid UBSan warning about undefined downcastStephan Bergmann 2016-10-04clang-cl loplugin: salStephan Bergmann 2016-08-14Resolves: tdf#101460 use most recent poppler releaseCaolán McNamara 2015-12-02clang-cl needs an explicit -I to find systools/win32/snprintf.hStephan Bergmann 2015-11-15Pass verbosity setting into ExternalProject_popplerStephan Bergmann 2015-09-02Fix poppler on MSVC 14.0David Ostrovsky 2015-06-02external/poppler: -fsanitize=nonnull-attributeStephan Bergmann 2015-03-10external/poppler: Work around -fsanitize=shiftStephan Bergmann