Skip to content

Instantly share code, notes, and snippets.

@therealromster
Created March 5, 2016 02:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save therealromster/b0cb33ec4cf6f50782d0 to your computer and use it in GitHub Desktop.
Save therealromster/b0cb33ec4cf6f50782d0 to your computer and use it in GitHub Desktop.
harfbuzz-1.1
# Description: An OpenType text shaping engine
# URL: http://www.freedesktop.org/wiki/Software/HarfBuzz
# Maintainer: Fredrik Rinnestam, fredrik at crux dot nu
# Depends on: cairo
name=harfbuzz-1.1
version=1.1.2
release=1
source=(http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-$version.tar.bz2)
build() {
cd harfbuzz-$version
sed -i s/"SUBDIRS = api shaping"/"SUBDIRS = shaping"/g test/Makefile.in
./configure --prefix=/usr \
--with-glib \
--with-freetype \
--with-cairo \
--with-icu=no \
--includedir=/usr/include/harfbuzz-1.1
make
make DESTDIR=$PKG install
mv $PKG/usr/lib/pkgconfig/harfbuzz.pc $PKG/usr/lib/pkgconfig/harfbuzz-1.1.pc
rm -r $PKG/usr/{share/gtk-doc,share} $PKG/usr/bin $PKG/usr/lib/libharfbuzz.{so,so.0,la}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment