2012-11-11 15:02:36 -06:00
|
|
|
# -*- 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)))
|
|
|
|
|
2012-11-22 11:56:58 -06:00
|
|
|
$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
|
|
|
|
liblangtag/liblangtag-0.4.0-xmlDocCopyNode.patch \
|
|
|
|
))
|
2012-11-22 15:59:08 -06:00
|
|
|
# liblangtag-0.4.0-xmlDocCopyNode.patch addressed upstream as
|
|
|
|
# <https://github.com/tagoh/liblangtag/pull/8> "Use xmlDocCopyNode to merge
|
|
|
|
# nodes into different docs"
|
2012-11-22 11:56:58 -06:00
|
|
|
|
2012-11-11 15:02:36 -06:00
|
|
|
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 \
|
2012-11-21 08:10:41 -06:00
|
|
|
liblangtag/liblangtag-0.4.0-ppc.patch \
|
2012-12-01 06:22:21 -06:00
|
|
|
liblangtag/liblangtag-0.4.0-vsnprintf.patch \
|
2012-11-11 15:02:36 -06:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CROSS_COMPILING),YES)
|
|
|
|
$(eval $(call gb_UnpackedTarball_add_patches,langtag,\
|
|
|
|
liblangtag/liblangtag-0.4.0-cross.patch \
|
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
2012-12-11 17:07:09 -06:00
|
|
|
ifeq ($(OS),WNT)
|
2012-11-11 15:02:36 -06:00
|
|
|
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:
|