Files
odfstudio/scp2/InstallModule_impress.mk
Andras Timar f78a20ea16 LOK: add OpenGL transitions to impress package
This is a follow-up to b83387a554
that added the necessary files to instdir, when
ENABLE_OPENGL_TRANSITIONS was not TRUE. That variable is unset
for LOKit/COOL for various reasons:
1) disabled for MPL-only build
2) disabled without X11
So I add the files from instdir to impress deb/rpm package based on the
conditions:
1) the target operating system is LINUX, and
2) USING_X11 is not defined.
That is the LOKit/COOL case, and I hope it will not interfere with
anything else.

Change-Id: Ia04249c5ed609b2d8e7695ae6e8dd648cdf9b825
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182438
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
(cherry picked from commit af65c54f9c2ca7750a9466e21745efb9b449ec78)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182452
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2025-03-06 10:33:28 +01:00

42 lines
1.1 KiB
Makefile

# -*- 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/impress))
$(eval $(call gb_InstallModule_use_auto_install_libs,scp2/impress,\
impress \
impress_brand \
ogltrans \
))
$(eval $(call gb_InstallModule_define_if_set,scp2/impress,\
ENABLE_MACOSX_SANDBOX \
USING_X11 \
))
$(eval $(call gb_InstallModule_add_templates,scp2/impress,\
scp2/source/templates/module_langpack_impress \
))
$(eval $(call gb_InstallModule_add_scpfiles,scp2/impress,\
scp2/source/impress/file_impress \
))
$(eval $(call gb_InstallModule_add_scpfiles,scp2/impress,\
$(if $(filter TRUE,$(ENABLE_OPENGL_TRANSITIONS)),\
scp2/source/impress/module_ogltrans \
) \
))
$(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/impress,\
scp2/source/impress/module_impress \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab: