Skip to content
Snippets Groups Projects
Verified Commit 0b88e9c8 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add glib intergration to harfbuzz

parent d57b5839
No related branches found
No related tags found
No related merge requests found
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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment