Update git submodules
[LibreOffice.git] / external / libodfgen / UnpackedTarball_libodfgen.mk
blobc9790e1033de1bf1647aefc47bfd3dd802a1a1a1
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_UnpackedTarball_UnpackedTarball,libodfgen))
12 $(eval $(call gb_UnpackedTarball_set_tarball,libodfgen,$(ODFGEN_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,libodfgen,0))
16 $(eval $(call gb_UnpackedTarball_update_autoconf_configs,libodfgen))
18 # * external/libodfgen/ellipticalarc.patch reported upstream as
19 # <https://sourceforge.net/p/libwpd/mailman/message/37329517/> "[Libwpd-devel] [PATCH] Avoid
20 # division by zero for empty elliptical arc":
21 $(eval $(call gb_UnpackedTarball_add_patches,libodfgen, \
22 external/libodfgen/ellipticalarc.patch \
25 ifeq ($(SYSTEM_REVENGE),)
26 $(eval $(call gb_UnpackedTarball_add_patches,libodfgen, \
27 external/libodfgen/rpath.patch \
29 endif
31 ifneq ($(OS),MACOSX)
32 ifneq ($(OS),WNT)
33 $(eval $(call gb_UnpackedTarball_add_patches,libodfgen, \
34 external/libodfgen/libodfgen-bundled-soname.patch.0 \
36 endif
37 endif
39 # vim: set noet sw=4 ts=4: