summaryrefslogtreecommitdiff
path: root/liblangtag/UnpackedTarball_langtag.mk
blob: 1deea1327665b01463c7a730b979b7bfa1325174 (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
# -*- 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_UnpackedTarball_UnpackedTarball,langtag))

$(eval $(call gb_UnpackedTarball_set_tarball,langtag,$(LIBLANGTAG_TARBALL)))

ifeq ($(OS),MACOSX)
$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
	liblangtag/liblangtag-0.4.0-mac.patch \
	liblangtag/liblangtag-0.4.0-configure-atomic-cflag-pollution.patch \
))
else
$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
	liblangtag/liblangtag-0.4.0-msvc-warning.patch \
	liblangtag/liblangtag-0.4.0-configure-atomic-cflag-pollution.patch \
	liblangtag/liblangtag-0.4.0-windows.patch \
	liblangtag/liblangtag-0.4.0-reg2xml-encoding-problem.patch \
	liblangtag/liblangtag-0.4.0-windows2.patch \
	liblangtag/liblangtag-0.4.0-msvcprojects.patch \
))
endif

ifeq ($(CROSS_COMPILING),YES)
$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
	liblangtag/liblangtag-0.4.0-cross.patch \
))
endif

ifeq ($(GUI),WNT)
ifeq ($(COM),GCC)
$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
	liblangtag/liblangtag-0.4.0-mingw.patch \
))
else
$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
	liblangtag/liblangtag-0.4.0-msc-configure.patch \
	liblangtag/liblangtag-0.4.0-cross.patch \
))
endif
endif
# vim: set noet sw=4 ts=4: