From 07fa7be0ce2c2995555c9719940804f4ffb1bf37 Mon Sep 17 00:00:00 2001 From: Renato Aguiar Date: Sat, 13 Jan 2018 06:24:16 -0800 Subject: [PATCH] New package: ttfautohint-1.8.1 Closes: #10770 [via git-merge-pr] --- common/shlibs | 1 + srcpkgs/ttfautohint/patches/musl_bool.patch | 14 ++++++++++++++ srcpkgs/ttfautohint/template | 17 +++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 srcpkgs/ttfautohint/patches/musl_bool.patch create mode 100644 srcpkgs/ttfautohint/template diff --git a/common/shlibs b/common/shlibs index 7a5732f1af..4b4124ce69 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3076,3 +3076,4 @@ libzuluCryptPluginManager.so.1.0.0 zulucrypt-5.2.0_1 libzuluCrypt-exe.so.1.2.0 zulucrypt-5.2.0_1 libzuluCrypt.so.1.2.0 zulucrypt-5.2.0_1 libnfdump-1.6.15.so nfdump-1.6.15_1 +libttfautohint.so.1 ttfautohint-1.8.1_1 diff --git a/srcpkgs/ttfautohint/patches/musl_bool.patch b/srcpkgs/ttfautohint/patches/musl_bool.patch new file mode 100644 index 0000000000..4455203bc9 --- /dev/null +++ b/srcpkgs/ttfautohint/patches/musl_bool.patch @@ -0,0 +1,14 @@ +--- lib/llrb.h.orig 2018-01-13 08:59:09.826617752 -0800 ++++ lib/llrb.h 2018-01-13 09:19:04.165564680 -0800 +@@ -52,6 +52,11 @@ + #ifndef LLRB_H + #define LLRB_H + ++#ifndef _Bool ++#include ++#define _Bool bool ++#endif ++ + #define LLRB_VENDOR "william@25thandClement.com" + #define LLRB_VERSION 0x20130925 + diff --git a/srcpkgs/ttfautohint/template b/srcpkgs/ttfautohint/template new file mode 100644 index 0000000000..e470135406 --- /dev/null +++ b/srcpkgs/ttfautohint/template @@ -0,0 +1,17 @@ +# Template file for 'ttfautohint' +pkgname=ttfautohint +version=1.8.1 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="freetype-devel harfbuzz-devel qt-devel" +short_desc="Tools for automated hinting process and finely hand-hinting" +maintainer="Renato Aguiar " +license="GPL-2" +homepage="https://www.freetype.org/ttfautohint/" +distfiles="http://download.savannah.gnu.org/releases/freetype/ttfautohint-${version}.tar.gz" +checksum=12df5120be194d2731e2a3c596892aa218681614c4f924e24279baf69bb7d4f9 + +if [ -n "$CROSS_BUILD" ]; then + hostmakedepends+=" qt-host-tools qt-devel" +fi