Created
May 15, 2018 00:14
-
-
Save gunslingerfry/ce7753851fc322c2587187aa19481999 to your computer and use it in GitHub Desktop.
Build script for Kitty Terminal in Xenial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# harfbuzz | |
git clone https://github.com/harfbuzz/harfbuzz.git | |
cd harfbuzz | |
./autogen.sh | |
make -j8 | |
cd .. | |
# libpng16 | |
if ! [ -e libpng-1.6.34.tar.xz ]; then | |
wget "https://downloads.sourceforge.net/project/libpng/libpng16/1.6.34/libpng-1.6.34.tar.xz" | |
fi | |
tar -xvf libpng-1.6.34.tar.xz | |
cd libpng-1.6.34 | |
make clean | |
./configure | |
make -j8 | |
cd .. | |
CPATH=:$PWD/libpng-1.6.34:$PWD/harfbuzz/src PKG_CONFIG_PATH=$PWD/harfbuzz/src:$PWD/libpng-1.6.34 LDFLAGS="-L$PWD/libpng-1.6.34/.libs -L$PWD/harfbuzz/.libs" make -j8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment