repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit ece97ea1d6fbbdb5fc4a0e228bfedd1ff7f65790
parent 8bbaa75240be5d6d5cbfa6a7e13864a213fb7a21
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat, 11 Jan 2020 12:40:38 +0300

freetype-harfbuzz: add to testing - build with icu

Diffstat:
Atesting/freetype-harfbuzz/build | 40++++++++++++++++++++++++++++++++++++++++
Atesting/freetype-harfbuzz/checksums | 2++
Atesting/freetype-harfbuzz/depends | 18++++++++++++++++++
Atesting/freetype-harfbuzz/sources | 2++
Atesting/freetype-harfbuzz/version | 1+
5 files changed, 63 insertions(+), 0 deletions(-)

diff --git a/testing/freetype-harfbuzz/build b/testing/freetype-harfbuzz/build @@ -0,0 +1,40 @@ +#!/bin/sh -e + +build_freetype() ( + cd freetype + + CFLAGS="$CFLAGS -DDEFAULT_TT_INTERPRETER_VERSION=TT_INTERPRETER_VERSION_40" \ + ./configure \ + --prefix=/usr \ + --enable-freetype-config \ + --with-harfbuzz="$2" + + make + make DESTDIR="$1" install +) + +build_harfbuzz() ( + cd harfbuzz + + ./configure \ + --prefix=/usr \ + --with-glib=yes \ + --with-icu=yes + + make + make DESTDIR="$1" install +) + +build_freetype "$1" no + +# Point Harfbuzz to the Freetype files. +export FREETYPE_CFLAGS="-I$PWD/freetype/include" +export FREETYPE_LIBS="-L$1/usr/lib -lfreetype" + +build_harfbuzz "$1" + +# Point Freetype to the Harfbuzz files. +export HARFBUZZ_CFLAGS="-I$PWD/harfbuzz/src" +export HARFBUZZ_LIBS="-L$PWD/harfbuzz/src/.libs -lharfbuzz" + +build_freetype "$1" yes diff --git a/testing/freetype-harfbuzz/checksums b/testing/freetype-harfbuzz/checksums @@ -0,0 +1,2 @@ +16dbfa488a21fe827dc27eaf708f42f7aa3bb997d745d31a19781628c36ba26f freetype-2.10.1.tar.xz +9413b8d96132d699687ef914ebb8c50440efc87b3f775d25856d7ec347c03c12 harfbuzz-2.6.4.tar.xz diff --git a/testing/freetype-harfbuzz/depends b/testing/freetype-harfbuzz/depends @@ -0,0 +1,18 @@ +bzip2 +expat +glib +libX11 +libXau +libXdamage +libXext +libXfixes +libXrender +libXxf86vm +libdrm +libpng +libxcb +libxshmfence +mesa +pixman +zlib +icu diff --git a/testing/freetype-harfbuzz/sources b/testing/freetype-harfbuzz/sources @@ -0,0 +1,2 @@ +https://download-mirror.savannah.gnu.org/releases/freetype/freetype-2.10.1.tar.xz freetype +https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-2.6.4.tar.xz harfbuzz diff --git a/testing/freetype-harfbuzz/version b/testing/freetype-harfbuzz/version @@ -0,0 +1 @@ +2.10.1+2.6.4 2