diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-10-16 19:59:27 +0200 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2013-10-17 09:50:18 +0000 |
commit | 268a3214073f95371b7e5ae35b95ca01967f0494 (patch) | |
tree | b4f6bb87917ca11bdec1a06368e0e4a11c28c6ae /external/harfbuzz | |
parent | d879a74ee2d8baad5de4edc4e13144d3cc0c6bf0 (diff) |
fdo#70393: move harfbuzz to a subdir of external
Change-Id: I3eaa6d95aaa1753822e20d21f90f39cadb939332
Reviewed-on: https://gerrit.libreoffice.org/6276
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'external/harfbuzz')
-rw-r--r-- | external/harfbuzz/ExternalProject_harfbuzz.mk | 36 | ||||
-rw-r--r-- | external/harfbuzz/Makefile | 7 | ||||
-rw-r--r-- | external/harfbuzz/Module_harfbuzz.mk | 17 | ||||
-rw-r--r-- | external/harfbuzz/README | 1 | ||||
-rw-r--r-- | external/harfbuzz/UnpackedTarball_harfbuzz.mk | 14 |
5 files changed, 75 insertions, 0 deletions
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: |