Skip to content

Commit

Permalink
add harfbuzz as a dependedncy to freetype and sdl2-ttf
Browse files Browse the repository at this point in the history
  • Loading branch information
tpimh committed Mar 26, 2024
1 parent 96d3850 commit cf55e55
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions freetype2/PSPBUILD
Original file line number Diff line number Diff line change
@@ -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')
Expand Down
8 changes: 4 additions & 4 deletions sdl2-ttf/PSPBUILD
Original file line number Diff line number Diff line change
@@ -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=(
Expand Down Expand Up @@ -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; }
}

Expand Down

0 comments on commit cf55e55

Please sign in to comment.