mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: ptxdist@pengutronix.de
Cc: Clemens Gruber <clemens.gruber@pqgruber.com>
Subject: [ptxdist] [PATCH] harfbuzz: new package
Date: Tue,  6 Jun 2017 16:36:01 +0200	[thread overview]
Message-ID: <20170606143601.22942-1-clemens.gruber@pqgruber.com> (raw)

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

                 reply	other threads:[~2017-06-06 14:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170606143601.22942-1-clemens.gruber@pqgruber.com \
    --to=clemens.gruber@pqgruber.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox