kiss-stj

My KISS Linux repo for software I use on my computers.
git clone https://git.stjo.hn/kiss-stj
Log | Files | Refs | README | LICENSE

commit 73865b76340e91f46fa3ffe78446cc20adf09c92
parent a62b082b3b4e4e80557f0c086a57c025fc73a48c
Author: St John Karp <contact@stjo.hn>
Date:   Sun, 26 Jun 2022 08:43:06 -0400

freetype-harfbuzz: Fork package from kiss-community/repo

Forked this package for the purpose of rebuilding it with introspection
support. No changes in this commit.

Diffstat:
Alibs/freetype-harfbuzz/README | 57+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Alibs/freetype-harfbuzz/build | 49+++++++++++++++++++++++++++++++++++++++++++++++++
Alibs/freetype-harfbuzz/checksums | 2++
Alibs/freetype-harfbuzz/depends | 3+++
Alibs/freetype-harfbuzz/sources | 2++
Alibs/freetype-harfbuzz/version | 1+
6 files changed, 114 insertions(+), 0 deletions(-)

diff --git a/libs/freetype-harfbuzz/README b/libs/freetype-harfbuzz/README @@ -0,0 +1,57 @@ +freetype-harfbuzz +________________________________________________________________________________ + ++------------------------------------------------------------------------------+ +| | +| This package is actually two packages: freetype and harfbuzz. To circumvent | +| the circular dependency between them, they have been merged together. | +| | ++------------------------------------------------------------------------------+ + +FreeType is a popular software development library used to render text onto +bitmaps, and provides support for other font-related operations. The FreeType +font rasterization engine is free and open-source software with the source code +dual-licensed under a BSD-like license and the GPL. FreeType supports a number +of font formats, including TrueType, Type 1, and OpenType and "is designed to +be small, efficient, highly customizable, and portable while capable of +producing high-quality output (glyph images)." [0] + +HarfBuzz is a software development library for text shaping, which is the +process of converting Unicode text to glyph indices and positions. The newer +version, New HarfBuzz (2012–), targets various font technologies while the first +version, Old HarfBuzz (2006–2012), targeted only OpenType fonts. [1] + +Upstream: https://www.freetype.org/ https://github.com/harfbuzz/harfbuzz + + +[000] Index +________________________________________________________________________________ + +* Installation ........................................................... [001] +* Usage .................................................................. [002] +* References ............................................................. [003] + + +[001] Installation +________________________________________________________________________________ + ++------------------------------------------------------------------------------+ +| | +| $ kiss b freetype-harfbuzz | +| | ++------------------------------------------------------------------------------+ + + +[002] Usage +________________________________________________________________________________ + +No documentation is currently provided with the package, refer to online +documentation for the time being. + + +[003] References +________________________________________________________________________________ + +[0] https://en.wikipedia.org/wiki/FreeType +[1] https://en.wikipedia.org/wiki/HarfBuzz + diff --git a/libs/freetype-harfbuzz/build b/libs/freetype-harfbuzz/build @@ -0,0 +1,49 @@ +#!/bin/sh -e + +build_freetype() ( + cd freetype + + meson \ + --prefix=/usr \ + -Ddefault_library=both \ + -Dbzip2=disabled \ + -Dzlib=disabled \ + "$@" \ + . output + + ninja -C output + ninja -C output install +) + +build_harfbuzz() ( + cd harfbuzz + + meson \ + --prefix=/usr \ + -Dpkg_config_path="$DESTDIR/usr/lib/pkgconfig" \ + -Ddefault_library=both \ + -Dglib=disabled \ + -Dfreetype=enabled \ + -Dgobject=disabled \ + -Dcairo=disabled \ + -Dicu=disabled \ + -Dbenchmark=disabled \ + -Dtests=disabled \ + . output + + ninja -C output + ninja -C output install +) + +# Point Freetype to the Harfbuzz files. +export CFLAGS="$CFLAGS -I$DESTDIR/usr/include/harfbuzz" +export CFLAGS="$CFLAGS -L$DESTDIR/usr/lib " +export PKG_CONFIG_PATH=$DESTDIR/usr/lib/pkgconfig + +# Point Harfbuzz to the Freetype files. +export CXXFLAGS="$CXXFLAGS -I$DESTDIR/usr/include/freetype2" +export CXXFLAGS="$CXXFLAGS -L$DESTDIR/usr/lib" + +build_freetype -Dharfbuzz=disabled +build_harfbuzz +build_freetype -Dharfbuzz=enabled --reconfigure diff --git a/libs/freetype-harfbuzz/checksums b/libs/freetype-harfbuzz/checksums @@ -0,0 +1,2 @@ +4766f20157cc4cf0cd292f80bf917f92d1c439b243ac3018debf6b9140c41a7f +32184860ddc0b264ff95010e1c64e596bd746fe4c2e34014a1185340cdddeba6 diff --git a/libs/freetype-harfbuzz/depends b/libs/freetype-harfbuzz/depends @@ -0,0 +1,3 @@ +libpng +meson make +pkgconf make diff --git a/libs/freetype-harfbuzz/sources b/libs/freetype-harfbuzz/sources @@ -0,0 +1,2 @@ +https://download-mirror.savannah.gnu.org/releases/freetype/freetype-MAJOR.MINOR.PATCH.tar.xz freetype +https://github.com/harfbuzz/harfbuzz/archive/IDENT.tar.gz harfbuzz diff --git a/libs/freetype-harfbuzz/version b/libs/freetype-harfbuzz/version @@ -0,0 +1 @@ +2.12.1+4.3.0 1