From 268a3214073f95371b7e5ae35b95ca01967f0494 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 16 Oct 2013 19:59:27 +0200 Subject: fdo#70393: move harfbuzz to a subdir of external MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I3eaa6d95aaa1753822e20d21f90f39cadb939332 Reviewed-on: https://gerrit.libreoffice.org/6276 Reviewed-by: Björn Michaelsen Tested-by: Björn Michaelsen --- external/harfbuzz/ExternalProject_harfbuzz.mk | 36 +++++++++++++++++++++++++++ external/harfbuzz/Makefile | 7 ++++++ external/harfbuzz/Module_harfbuzz.mk | 17 +++++++++++++ external/harfbuzz/README | 1 + external/harfbuzz/UnpackedTarball_harfbuzz.mk | 14 +++++++++++ 5 files changed, 75 insertions(+) create mode 100644 external/harfbuzz/ExternalProject_harfbuzz.mk create mode 100644 external/harfbuzz/Makefile create mode 100644 external/harfbuzz/Module_harfbuzz.mk create mode 100644 external/harfbuzz/README create mode 100644 external/harfbuzz/UnpackedTarball_harfbuzz.mk (limited to 'external/harfbuzz') diff --git a/external/harfbuzz/ExternalProject_harfbuzz.mk b/external/harfbuzz/ExternalProject_harfbuzz.mk new file mode 100644 index 000000000000..f49553d4b6c8 --- /dev/null +++ b/external/harfbuzz/ExternalProject_harfbuzz.mk @@ -0,0 +1,36 @@ +# -*- 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_ExternalProject_ExternalProject,harfbuzz)) + +$(eval $(call gb_ExternalProject_use_autoconf,harfbuzz,build)) + +$(eval $(call gb_ExternalProject_register_targets,harfbuzz,\ + build \ +)) + +$(eval $(call gb_ExternalProject_use_externals,harfbuzz,\ + icu \ +)) + +$(call gb_ExternalProject_get_state_target,harfbuzz,build) : + $(call gb_ExternalProject_run,build,\ + ./configure \ + --enable-static \ + --disable-shared \ + --with-pic \ + --with-icu=yes \ + --with-freetype=no \ + --with-cairo=no \ + --with-glib=no \ + $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ + && (cd $(EXTERNAL_WORKDIR)/src && $(MAKE)) \ + ) + +# vim: set noet sw=4 ts=4: diff --git a/external/harfbuzz/Makefile b/external/harfbuzz/Makefile new file mode 100644 index 000000000000..ccb1c85a04da --- /dev/null +++ b/external/harfbuzz/Makefile @@ -0,0 +1,7 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- + +module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST)))) + +include $(module_directory)/../solenv/gbuild/partial_build.mk + +# vim: set noet sw=4 ts=4: diff --git a/external/harfbuzz/Module_harfbuzz.mk b/external/harfbuzz/Module_harfbuzz.mk new file mode 100644 index 000000000000..ffbadd7107a7 --- /dev/null +++ b/external/harfbuzz/Module_harfbuzz.mk @@ -0,0 +1,17 @@ +# -*- 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_Module_Module,harfbuzz)) + +$(eval $(call gb_Module_add_targets,harfbuzz,\ + ExternalProject_harfbuzz \ + UnpackedTarball_harfbuzz \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/external/harfbuzz/README b/external/harfbuzz/README new file mode 100644 index 000000000000..d2af8b559ad1 --- /dev/null +++ b/external/harfbuzz/README @@ -0,0 +1 @@ +HarfBuzz is an OpenType text shaping engine. From [http://harfbuzz.org/]. diff --git a/external/harfbuzz/UnpackedTarball_harfbuzz.mk b/external/harfbuzz/UnpackedTarball_harfbuzz.mk new file mode 100644 index 000000000000..0bda2a186e2a --- /dev/null +++ b/external/harfbuzz/UnpackedTarball_harfbuzz.mk @@ -0,0 +1,14 @@ +# -*- 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,harfbuzz)) + +$(eval $(call gb_UnpackedTarball_set_tarball,harfbuzz,$(HARFBUZZ_TARBALL),,harfbuzz)) + +# vim: set noet sw=4 ts=4: -- cgit