2018-04-02 16:29:21 +10:00
|
|
|
# Description: An OpenType text shaping engine ICU library
|
|
|
|
# URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
|
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: harfbuzz icu
|
2019-08-11 19:51:41 +10:00
|
|
|
# Optional: graphite2
|
2018-04-02 16:29:21 +10:00
|
|
|
|
|
|
|
name=harfbuzz-icu
|
2020-06-26 08:46:08 +10:00
|
|
|
version=2.6.8
|
2018-04-02 16:29:21 +10:00
|
|
|
release=1
|
2020-04-25 21:50:00 +10:00
|
|
|
source=(https://github.com/harfbuzz/harfbuzz/releases/download/$version/harfbuzz-$version.tar.xz)
|
2018-04-02 16:29:21 +10:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd harfbuzz-$version
|
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2019-07-15 00:29:50 +10:00
|
|
|
--with-icu=yes \
|
|
|
|
--with-graphite2=auto
|
2018-04-02 16:29:21 +10:00
|
|
|
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm \
|
|
|
|
$PKG/usr/bin/hb-ot-shape-closure \
|
|
|
|
$PKG/usr/bin/hb-shape \
|
|
|
|
$PKG/usr/bin/hb-subset \
|
|
|
|
$PKG/usr/bin/hb-view \
|
2018-12-26 20:06:50 +11:00
|
|
|
$PKG/usr/include/harfbuzz/hb-aat-layout.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-aat.h \
|
2018-04-02 16:29:21 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-blob.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-buffer.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-common.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-deprecated.h \
|
2020-04-25 21:50:00 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-draw.h \
|
2018-04-02 16:29:21 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-face.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-font.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-ft.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-glib.h \
|
2018-06-22 22:12:04 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-map.h \
|
2018-11-03 23:37:41 +11:00
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-color.h \
|
2018-12-26 20:06:50 +11:00
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-deprecated.h \
|
2018-04-02 16:29:21 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-font.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-layout.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-math.h \
|
2019-08-25 23:55:46 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-meta.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-metrics.h \
|
2018-10-23 23:50:41 +11:00
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-name.h \
|
2018-04-02 16:29:21 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-shape.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-ot-var.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-ot.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-set.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-shape-plan.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-shape.h \
|
2020-06-26 08:46:08 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-style.h \
|
2018-04-02 16:29:21 +10:00
|
|
|
$PKG/usr/include/harfbuzz/hb-subset.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-unicode.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb-version.h \
|
|
|
|
$PKG/usr/include/harfbuzz/hb.h \
|
|
|
|
$PKG/usr/lib/cmake/harfbuzz/harfbuzz-config.cmake \
|
|
|
|
$PKG/usr/lib/libharfbuzz.la \
|
|
|
|
$PKG/usr/lib/libharfbuzz.so \
|
|
|
|
$PKG/usr/lib/libharfbuzz.so.0 \
|
|
|
|
$PKG/usr/lib/libharfbuzz.so.0.*.? \
|
|
|
|
$PKG/usr/lib/libharfbuzz-subset.la \
|
|
|
|
$PKG/usr/lib/libharfbuzz-subset.so \
|
|
|
|
$PKG/usr/lib/libharfbuzz-subset.so.0 \
|
|
|
|
$PKG/usr/lib/libharfbuzz-subset.so.0.*.? \
|
|
|
|
$PKG/usr/lib/pkgconfig/harfbuzz.pc \
|
|
|
|
$PKG/usr/lib/pkgconfig/harfbuzz-subset.pc
|
|
|
|
|
|
|
|
rm -r $PKG/usr/share/gtk-doc
|
2019-08-11 19:51:41 +10:00
|
|
|
|
|
|
|
# if graphite2 is installed
|
|
|
|
rm -f $PKG/usr/include/harfbuzz/hb-graphite2.h
|
2018-04-02 16:29:21 +10:00
|
|
|
}
|