mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] harfbuzz: new package
@ 2017-06-06 14:36 Clemens Gruber
  0 siblings, 0 replies; only message in thread
From: Clemens Gruber @ 2017-06-06 14:36 UTC (permalink / raw)
  To: ptxdist; +Cc: Clemens Gruber

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/harfbuzz.in   | 10 ++++++++
 rules/harfbuzz.make | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)
 create mode 100644 rules/harfbuzz.in
 create mode 100644 rules/harfbuzz.make

diff --git a/rules/harfbuzz.in b/rules/harfbuzz.in
new file mode 100644
index 000000000..df096e653
--- /dev/null
+++ b/rules/harfbuzz.in
@@ -0,0 +1,10 @@
+## SECTION=multimedia_libs
+
+config HARFBUZZ
+	tristate
+	prompt "harfbuzz"
+	select CAIRO
+	select FREETYPE
+	select GLIB
+	help
+	  HarfBuzz is an OpenType text shaping engine.
diff --git a/rules/harfbuzz.make b/rules/harfbuzz.make
new file mode 100644
index 000000000..311f6ef42
--- /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 \
+	--enable-introspection=no \
+	--with-glib=yes \
+	--with-gobject=no \
+	--with-cairo=yes \
+	--with-fontconfig=yes \
+	--with-icu=no \
+	--with-ucdn=no \
+	--with-graphite2=no \
+	--with-freetype=yes \
+	--with-uniscribe=no \
+	--with-directwrite=no \
+	--with-coretext=no
+
+# ----------------------------------------------------------------------------
+# 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
-- 
2.13.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-06 14:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-06 14:36 [ptxdist] [PATCH] harfbuzz: new package Clemens Gruber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox