From 8b679a2e892310e461c3f5028dfaf60b25eea37f Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Fri, 8 Oct 2021 16:00:33 -0700 Subject: fix(theme): consistent theme --- vendor/sync | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) (limited to 'vendor') diff --git a/vendor/sync b/vendor/sync index 96ae888..2a49a2b 100755 --- a/vendor/sync +++ b/vendor/sync @@ -182,6 +182,96 @@ build_wlroots() echo $WLROOTS_TAG > wlroots/build.tag } +# ------------------------------------------------------------------------ +# harfbuzz + +HARFBUZZ_URL="https://github.com/harfbuzz/harfbuzz.git" +HARFBUZZ_TAG="3.0.0" + +build_harfbuzz() +{ + git clone $HARFBUZZ_URL + cd harfbuzz && git checkout $HARFBUZZ_TAG + meson \ + --prefix=$ROOT \ + --includedir=include/vendor \ + --libdir=lib/vendor \ + --buildtype=minsize \ + -Ddefault_library=static\ + -Dglib=disabled \ + -Dgobject=disabled \ + -Ddocs=disabled \ + -Db_lto="true"\ + build/ \ + && ninja -C build/ \ + && meson install -C build + + mv $ROOT/lib/vendor/pkgconfig/* $ROOT/lib/pkgconfig + rm -rf $ROOT/lib/vendor/pkgconfig + + cd $VENDOR + echo $HARFBUZZ_TAG > harfbuzz/build.tag +} + +# ------------------------------------------------------------------------ +# freetype2 + +FREETYPE_URL="git clone https://gitlab.freedesktop.org/freetype/freetype.git" +FREETYPE_TAG="3.0.0" + +build_harfbuzz() +{ + git clone $HARFBUZZ_URL + cd harfbuzz && git checkout $HARFBUZZ_TAG + meson \ + --prefix=$ROOT \ + --includedir=include/vendor \ + --libdir=lib/vendor \ + --buildtype=minsize \ + -Ddefault_library=static\ + -Dglib=disabled \ + -Dgobject=disabled \ + -Ddocs=disabled \ + -Db_lto="true"\ + build/ \ + && ninja -C build/ \ + && meson install -C build + + mv $ROOT/lib/vendor/pkgconfig/* $ROOT/lib/pkgconfig + rm -rf $ROOT/lib/vendor/pkgconfig + + cd $VENDOR + echo $HARFBUZZ_TAG > harfbuzz/build.tag +} + +# ------------------------------------------------------------------------ +# fontconfig + +FONTCONFIG_URL="https://github.com/freedesktop/fontconfig.git" +FONTCONFIG_TAG="2.3.94" + +build_fontconfig() +{ + git clone $FONTCONFIG_URL + cd fontconfig && git checkout $FONTCONFIG_TAG + meson \ + --prefix=$ROOT \ + --includedir=include/vendor \ + --libdir=lib/vendor \ + -Ddefault_library=static \ + -Dtools=disabled \ + -Dtests=disabled \ + build/ \ + && ninja -C build/ \ + && meson install -C build + + mv $ROOT/lib/vendor/pkgconfig/* $ROOT/lib/pkgconfig + rm -rf $ROOT/lib/vendor/pkgconfig + + cd $VENDOR + echo $FONTCONFIG_TAG > fontconfig/build.tag +} + # ------------------------------------------------------------------------ # utility functions @@ -205,4 +295,6 @@ update musl $MUSL_TAG update blas $BLAS_TAG update zlib $ZLIB_TAG update wlroots $WLROOTS_TAG +update fontconfig $FONTCONFIG_TAG +# update harfbuzz $HARFBUZZ_TAG # update glfw $GLFW_TAG -- cgit v1.2.1