mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
sdl2_ttf: fix cmake lib path and add devel requirement on harfbuzz (#9690)
Fixes #9637
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user