From ad49354258cc52b6b382a8f420ac56910eb1fba2 Mon Sep 17 00:00:00 2001 From: Dima Pulkinen Date: Tue, 26 Mar 2024 14:42:47 +0200 Subject: [PATCH] add harfbuzz as a dependedncy to freetype and sdl2-ttf --- freetype2/PSPBUILD | 4 ++-- sdl2-ttf/PSPBUILD | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/freetype2/PSPBUILD b/freetype2/PSPBUILD index b71dcac5..beef7415 100644 --- a/freetype2/PSPBUILD +++ b/freetype2/PSPBUILD @@ -1,11 +1,11 @@ pkgname=freetype2 pkgver=2.11.0 -pkgrel=3 +pkgrel=4 pkgdesc="a freely available software library to render fonts" arch=('mips') url="https://www.freetype.org/" license=('custom:Freetype' 'GPL2') -depends=('zlib' 'bzip2' 'libpng') +depends=('zlib' 'bzip2' 'libpng' 'harfbuzz') makedepends=() optdepends=() group=('all') diff --git a/sdl2-ttf/PSPBUILD b/sdl2-ttf/PSPBUILD index 477862cd..1f809072 100644 --- a/sdl2-ttf/PSPBUILD +++ b/sdl2-ttf/PSPBUILD @@ -1,11 +1,11 @@ pkgname=sdl2-ttf pkgver=2.20.2 -pkgrel=1 +pkgrel=2 pkgdesc="a companion library to SDL2 for working with TrueType (tm) fonts" arch=('mips') url="https://www.libsdl.org/projects/SDL_ttf/" license=('MIT') -depends=('sdl2' 'freetype2') +depends=('sdl2' 'freetype2' 'harfbuzz') makedepends=() optdepends=() source=( @@ -35,8 +35,8 @@ build() { mkdir -p build cd build cmake -Wno-dev -DCMAKE_TOOLCHAIN_FILE="${PSPDEV}/psp/share/pspdev.cmake" -DCMAKE_INSTALL_PREFIX=/psp \ - -DBUILD_SHARED_LIBS=OFF -DSDL2TTF_SAMPLES=OFF -DSDL2TTF_VENDORED=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=OFF \ - -DSDL2TTF_INSTALL=ON "${XTRA_OPTS[@]}" .. || { exit 1; } + -DSDL2TTF_HARFBUZZ=ON -DBUILD_SHARED_LIBS=OFF -DSDL2TTF_SAMPLES=OFF -DSDL2TTF_VENDORED=OFF \ + -DCMAKE_POSITION_INDEPENDENT_CODE=OFF -DSDL2TTF_INSTALL=ON "${XTRA_OPTS[@]}" .. || { exit 1; } make --quiet $MAKEFLAGS || { exit 1; } }