diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2017-06-06 16:36:01 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2017-06-21 10:14:50 +0200 |
commit | 4ccc949a20def924a90e2f0e44882e744e25bd16 (patch) | |
tree | e4d7d013dbb1d77610f80377821e5dc57484f1a4 /rules/harfbuzz.make | |
parent | 1790a828063fcd64165a9a1021e242a97c4b8954 (diff) | |
download | ptxdist-4ccc949a20def924a90e2f0e44882e744e25bd16.tar.gz ptxdist-4ccc949a20def924a90e2f0e44882e744e25bd16.tar.xz |
harfbuzz: new package
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
[mol: use --without-XXX instead of --with-XXX=no]
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/harfbuzz.make')
-rw-r--r-- | rules/harfbuzz.make | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/rules/harfbuzz.make b/rules/harfbuzz.make new file mode 100644 index 000000000..b8a0be1d5 --- /dev/null +++ b/rules/harfbuzz.make @@ -0,0 +1,72 @@ +# -*-makefile-*- +# +# Copyright (C) 2017 Clemens Gruber <clemens.gruber@pqgruber.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_HARFBUZZ) += harfbuzz + +# +# Paths and names +# +HARFBUZZ_VERSION := 1.4.6 +HARFBUZZ_MD5 := e246c08a3bac98e31e731b2a1bf97edf +HARFBUZZ := harfbuzz-$(HARFBUZZ_VERSION) +HARFBUZZ_SUFFIX := tar.bz2 +HARFBUZZ_URL := https://www.freedesktop.org/software/harfbuzz/release/$(HARFBUZZ).$(HARFBUZZ_SUFFIX) +HARFBUZZ_SOURCE := $(SRCDIR)/$(HARFBUZZ).$(HARFBUZZ_SUFFIX) +HARFBUZZ_DIR := $(BUILDDIR)/$(HARFBUZZ) +HARFBUZZ_LICENSE := MIT + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HARFBUZZ_CONF_TOOL := autoconf +HARFBUZZ_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-static \ + $(GLOBAL_LARGE_FILE_OPTION) \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-introspection \ + --with-glib \ + --without-gobject \ + --with-cairo \ + --with-fontconfig \ + --without-icu \ + --without-ucdn \ + --without-graphite2 \ + --with-freetype \ + --without-uniscribe \ + --without-directwrite \ + --without-coretext + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/harfbuzz.targetinstall: + @$(call targetinfo) + + @$(call install_init, harfbuzz) + @$(call install_fixup, harfbuzz,PRIORITY,optional) + @$(call install_fixup, harfbuzz,SECTION,base) + @$(call install_fixup, harfbuzz,AUTHOR,"Clemens Gruber <clemens.gruber@pqgruber.com>") + @$(call install_fixup, harfbuzz,DESCRIPTION, "OpenType text shaping engine") + + @$(call install_lib, harfbuzz, 0, 0, 0644, libharfbuzz) + + @$(call install_finish, harfbuzz) + + @$(call touch) + +# vim: syntax=make |