mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-25 22:34:18 +08:00
Add glib intergration to harfbuzz
This commit is contained in:
parent
d57b583932
commit
0b88e9c88b
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user