# -*- 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,ct2n))

$(eval $(call gb_UnpackedTarball_set_tarball,ct2n,$(CT2N_TARBALL),0))

$(eval $(call gb_UnpackedTarball_add_patches,ct2n,\
	external/ct2n/ConvertTextToNumber-1.3.2-no-license.patch \
	external/ct2n/ConvertTextToNumber-1.3.2-no-visible-by-default.patch \
))

$(eval $(call gb_UnpackedTarball_fix_end_of_line,ct2n,\
	description.xml \
	Office/UI/BaseWindowState.xcu \
	Office/UI/BasicIDEWindowState.xcu \
	Office/UI/CalcWindowState.xcu \
	Office/UI/DrawWindowState.xcu \
	Office/UI/ImpressWindowState.xcu \
	Office/UI/MathWindowState.xcu \
	Office/UI/StartModuleWindowState.xcu \
	Office/UI/WriterWindowState.xcu \
))

# vim: set noet sw=4 ts=4:
