fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / cairo / UnpackedTarball_cairo.mk
blob35c8357c5edb0cc416ebfb5d7dc8d609b3f8b01b
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,cairo))
12 $(eval $(call gb_UnpackedTarball_set_tarball,cairo,$(CAIRO_TARBALL),,cairo))
14 $(eval $(call gb_UnpackedTarball_add_patches,cairo,\
15 external/cairo/cairo/cairo-1.10.2.patch \
16 external/cairo/cairo/cairo.dlsym.lcdfilter.patch \
17 external/cairo/cairo/cairo-1.10.2-oldfontconfig.patch \
20 ifeq ($(OS)$(COM),WNTMSC)
21 $(eval $(call gb_UnpackedTarball_add_patches,cairo,\
22 external/cairo/cairo/cairo-1.10.2.wntmsc.patch \
24 endif
26 # FIXME add cairo/cairo/cairo-1.10.2.no-atsui.patch for MACOSX >= 1070
27 ifeq ($(OS),IOS)
28 $(eval $(call gb_UnpackedTarball_add_patches,cairo,\
29 external/cairo/cairo/cairo-1.10.2.no-atsui.patch \
30 external/cairo/cairo/cairo-1.10.2.ios.patch \
32 endif
34 ifeq ($(OS),ANDROID)
35 $(eval $(call gb_UnpackedTarball_add_patches,cairo,\
36 external/cairo/cairo/cairo-1.10.2.android.patch \
38 endif
40 ifneq (,$(filter ANDROID IOS,$(OS)))
41 $(eval $(call gb_UnpackedTarball_add_file,cairo,.,external/cairo/cairo/dummy_pkg_config))
42 endif
44 ifeq ($(COM_GCC_IS_CLANG),TRUE)
45 $(eval $(call gb_UnpackedTarball_add_patches,cairo,\
46 external/cairo/cairo/no-flto-clang.patch \
48 endif
50 # vim: set noet sw=4 ts=4: