From 03423e0583057cbe5a16f8439183e2dbc0e8dd7c Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 9 Dec 2019 19:17:24 +0300 Subject: secondary commit --- xorg/freetype-harfbuzz/build | 40 ++++++++++++++++++++++++++++++++++++++++ xorg/freetype-harfbuzz/checksums | 2 ++ xorg/freetype-harfbuzz/depends | 17 +++++++++++++++++ xorg/freetype-harfbuzz/sources | 2 ++ xorg/freetype-harfbuzz/version | 1 + 5 files changed, 62 insertions(+) create mode 100755 xorg/freetype-harfbuzz/build create mode 100644 xorg/freetype-harfbuzz/checksums create mode 100644 xorg/freetype-harfbuzz/depends create mode 100644 xorg/freetype-harfbuzz/sources create mode 100644 xorg/freetype-harfbuzz/version (limited to 'xorg/freetype-harfbuzz') diff --git a/xorg/freetype-harfbuzz/build b/xorg/freetype-harfbuzz/build new file mode 100755 index 00000000..d42d5ac0 --- /dev/null +++ b/xorg/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=no + + 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/xorg/freetype-harfbuzz/checksums b/xorg/freetype-harfbuzz/checksums new file mode 100644 index 00000000..3a91c887 --- /dev/null +++ b/xorg/freetype-harfbuzz/checksums @@ -0,0 +1,2 @@ +16dbfa488a21fe827dc27eaf708f42f7aa3bb997d745d31a19781628c36ba26f freetype-2.10.1.tar.xz +9413b8d96132d699687ef914ebb8c50440efc87b3f775d25856d7ec347c03c12 harfbuzz-2.6.4.tar.xz diff --git a/xorg/freetype-harfbuzz/depends b/xorg/freetype-harfbuzz/depends new file mode 100644 index 00000000..a7f66b10 --- /dev/null +++ b/xorg/freetype-harfbuzz/depends @@ -0,0 +1,17 @@ +bzip2 +expat +glib +libX11 +libXau +libXdamage +libXext +libXfixes +libXrender +libXxf86vm +libdrm +libpng +libxcb +libxshmfence +mesa +pixman +zlib diff --git a/xorg/freetype-harfbuzz/sources b/xorg/freetype-harfbuzz/sources new file mode 100644 index 00000000..676c90a1 --- /dev/null +++ b/xorg/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/xorg/freetype-harfbuzz/version b/xorg/freetype-harfbuzz/version new file mode 100644 index 00000000..0f9afd68 --- /dev/null +++ b/xorg/freetype-harfbuzz/version @@ -0,0 +1 @@ +2.10.1+2.6.4 1 -- cgit v1.2.3