Skip to content

Instantly share code, notes, and snippets.

@gunslingerfry
Created May 15, 2018 00:14
Show Gist options
  • Save gunslingerfry/ce7753851fc322c2587187aa19481999 to your computer and use it in GitHub Desktop.
Save gunslingerfry/ce7753851fc322c2587187aa19481999 to your computer and use it in GitHub Desktop.
Build script for Kitty Terminal in Xenial
#!/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