summaryrefslogtreecommitdiffstats
path: root/external/hunspell/UnpackedTarball_hunspell.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--external/hunspell/UnpackedTarball_hunspell.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/external/hunspell/UnpackedTarball_hunspell.mk b/external/hunspell/UnpackedTarball_hunspell.mk
new file mode 100644
index 0000000000..0d59867982
--- /dev/null
+++ b/external/hunspell/UnpackedTarball_hunspell.mk
@@ -0,0 +1,32 @@
+ -*- 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,hunspell))
+
+$(eval $(call gb_UnpackedTarball_set_tarball,hunspell,$(HUNSPELL_TARBALL)))
+
+$(eval $(call gb_UnpackedTarball_update_autoconf_configs,hunspell))
+
+ifeq ($(COM),MSC)
+$(eval $(call gb_UnpackedTarball_set_post_action,hunspell,\
+ touch src/hunspell/config.h \
+))
+endif
+
+$(eval $(call gb_UnpackedTarball_set_patchlevel,hunspell,1))
+
+$(eval $(call gb_UnpackedTarball_add_patches,hunspell, \
+ external/hunspell/0001-fix-LibreOffice-build-problem-with-basic_string-appe.patch \
+ external/hunspell/0001-Resolves-rhbz-2158548-allow-longer-words-for-hunspel.patch \
+ external/hunspell/0001-Keep-only-REP-ph-or-2-word-dictionary-phrase-suggest.patch \
+ external/hunspell/bit_cast.patch.0 \
+ external/hunspell/clock-monotonic.patch.1 \
+))
+
+# vim: set noet sw=4 ts=4: