sdl2_ttf: fix cmake lib path and add devel requirement on harfbuzz (#9690)

Fixes #9637
This commit is contained in:
augiedoggie
2023-10-27 11:46:07 -06:00
committed by GitHub
parent d5f884604e
commit 89f8a77bb6

View File

@@ -9,7 +9,7 @@ without much effort."
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf"
COPYRIGHT="1997-2013 Sam Lantinga"
LICENSE="Zlib"
REVISION="1"
REVISION="2"
SOURCE_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-$portVersion.tar.gz"
CHECKSUM_SHA256="9dc71ed93487521b107a2c4a9ca6bf43fb62f6bddd5c26b055e6b91418a22053"
SOURCE_DIR="SDL2_ttf-$portVersion"
@@ -41,6 +41,7 @@ PROVIDES_devel="
"
REQUIRES_devel="
sdl2_ttf$secondaryArchSuffix == $portVersion base
devel:libharfbuzz$secondaryArchSuffix
"
BUILD_REQUIRES="
@@ -84,6 +85,9 @@ INSTALL()
libSDL2_ttf-2.0
fixPkgconfig
sed -i 's,.self/lib,.self/develop/lib,' \
$libDir/cmake/SDL2_ttf/sdl2_ttf-config.cmake
packageEntries devel \
$developDir \
$libDir/cmake