summaryrefslogtreecommitdiff
path: root/harfbuzz-icu/Pkgfile
blob: 2b72d9dff0f23aacf569850d16e3df445180b221 (plain)
    1 # Description: An OpenType text shaping engine ICU library
    2 # URL: https://www.freedesktop.org/wiki/Software/HarfBuzz
    3 # Maintainer: Danny Rawlins, crux at romster dot me
    4 # Depends on: harfbuzz icu
    5 # Optional: graphite2
    6 
    7 name=harfbuzz-icu
    8 version=2.7.1
    9 release=1
   10 source=(https://github.com/harfbuzz/harfbuzz/archive/$version/harfbuzz-$version.tar.gz)
   11 
   12 build() {
   13 	cd harfbuzz-$version
   14 
   15 	echo "EXTRA_DIST = " > gtk-doc.make
   16 	autoreconf --force --install
   17 	./configure \
   18 		--prefix=/usr \
   19 		--with-icu=yes \
   20 		--with-graphite2=auto
   21 
   22 	make
   23 	make DESTDIR=$PKG install
   24 
   25 	rm \
   26 		$PKG/usr/bin/hb-ot-shape-closure \
   27 		$PKG/usr/bin/hb-shape \
   28 		$PKG/usr/bin/hb-subset \
   29 		$PKG/usr/bin/hb-view \
   30 		$PKG/usr/include/harfbuzz/hb-aat-layout.h \
   31 		$PKG/usr/include/harfbuzz/hb-aat.h \
   32 		$PKG/usr/include/harfbuzz/hb-blob.h \
   33 		$PKG/usr/include/harfbuzz/hb-buffer.h \
   34 		$PKG/usr/include/harfbuzz/hb-common.h \
   35 		$PKG/usr/include/harfbuzz/hb-deprecated.h \
   36 		$PKG/usr/include/harfbuzz/hb-draw.h \
   37 		$PKG/usr/include/harfbuzz/hb-face.h \
   38 		$PKG/usr/include/harfbuzz/hb-font.h \
   39 		$PKG/usr/include/harfbuzz/hb-ft.h \
   40 		$PKG/usr/include/harfbuzz/hb-glib.h \
   41 		$PKG/usr/include/harfbuzz/hb-map.h \
   42 		$PKG/usr/include/harfbuzz/hb-ot-color.h \
   43 		$PKG/usr/include/harfbuzz/hb-ot-deprecated.h \
   44 		$PKG/usr/include/harfbuzz/hb-ot-font.h \
   45 		$PKG/usr/include/harfbuzz/hb-ot-layout.h \
   46 		$PKG/usr/include/harfbuzz/hb-ot-math.h \
   47 		$PKG/usr/include/harfbuzz/hb-ot-meta.h \
   48 		$PKG/usr/include/harfbuzz/hb-ot-metrics.h \
   49 		$PKG/usr/include/harfbuzz/hb-ot-name.h \
   50 		$PKG/usr/include/harfbuzz/hb-ot-shape.h \
   51 		$PKG/usr/include/harfbuzz/hb-ot-var.h \
   52 		$PKG/usr/include/harfbuzz/hb-ot.h \
   53 		$PKG/usr/include/harfbuzz/hb-set.h \
   54 		$PKG/usr/include/harfbuzz/hb-shape-plan.h \
   55 		$PKG/usr/include/harfbuzz/hb-shape.h \
   56 		$PKG/usr/include/harfbuzz/hb-style.h \
   57 		$PKG/usr/include/harfbuzz/hb-subset.h \
   58 		$PKG/usr/include/harfbuzz/hb-unicode.h \
   59 		$PKG/usr/include/harfbuzz/hb-version.h \
   60 		$PKG/usr/include/harfbuzz/hb.h \
   61 		$PKG/usr/lib/cmake/harfbuzz/harfbuzz-config.cmake \
   62 		$PKG/usr/lib/libharfbuzz.la \
   63 		$PKG/usr/lib/libharfbuzz.so \
   64 		$PKG/usr/lib/libharfbuzz.so.0 \
   65 		$PKG/usr/lib/libharfbuzz.so.0.*.? \
   66 		$PKG/usr/lib/libharfbuzz-subset.la \
   67 		$PKG/usr/lib/libharfbuzz-subset.so \
   68 		$PKG/usr/lib/libharfbuzz-subset.so.0 \
   69 		$PKG/usr/lib/libharfbuzz-subset.so.0.*.? \
   70 		$PKG/usr/lib/pkgconfig/harfbuzz.pc \
   71 		$PKG/usr/lib/pkgconfig/harfbuzz-subset.pc
   72 
   73 	# if graphite2 is installed
   74 	rm -f $PKG/usr/include/harfbuzz/hb-graphite2.h
   75 }

Generated by cgit