Add glib intergration to harfbuzz

This commit is contained in:
Jeremy Soller 2019-07-16 17:40:21 -06:00
parent d57b583932
commit 0b88e9c88b
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -1,6 +1,6 @@
VERSION=2.3.0
TAR=https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$VERSION.tar.bz2
BUILD_DEPENDS=(freetype libpng zlib)
BUILD_DEPENDS=(freetype gettext glib libiconv libpng pcre zlib)
function recipe_version {
echo "$VERSION"
@ -15,7 +15,7 @@ function recipe_update {
function recipe_build {
sysroot="$(realpath ../sysroot)"
export CFLAGS="-I$sysroot/include"
export LDFLAGS="-L$sysroot/lib"
export LDFLAGS="-L$sysroot/lib --static"
#wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
FREETYPE_CFLAGS="$("${PKG_CONFIG}" --cflags freetype2)"
FREETYPE_LIBS="$("${PKG_CONFIG}" --libs freetype2)"
@ -25,9 +25,10 @@ function recipe_build {
--prefix=/ \
--disable-shared \
--enable-static \
--with-glib=yes \
--with-freetype=yes \
--with-icu=no
make -j"$(nproc)" V=1
make -j"$(nproc)"
skip=1
}