### this file is sourced not run
PKGVER=1.42.4 # latest version that still uses autotools
PKGBUILD=1
PKGARCH=x86_64

# source: post BLFS 8.2 2016-06-01 updated to latest
TARBALL=pango-$PKGVER.tar.xz
MD5SUM=deb171a31a3ad76342d5195a1b5bbc7c
SRC_URL=http://ftp.gnome.org/pub/gnome/sources/pango/1.42/$TARBALL
BUNDLE=

SLACKREQ='cairo harfbuzz libX11 libfribidi'
SLACKDESC="pango: pango $PKGVER (GTK text layout and renderer)  
pango:  
pango: Pango is a library for laying out and rendering of text, with an 
pango: emphasis on internationalization. It can be used anywhere that text 
pango: layout is needed, though most of the work on Pango so far has been done 
pango: in the context of the GTK+ widget toolkit.  
pango: 
pango: 
pango: 
pango: 
pango:
"

### default pkg_download
### prepare
pkg_prepare() {
	pkg_prepare_default &&
	cd tmp/pango* &&
	patch -Np1 -i ../pkg/fontset-null-crash-fix.patch
}

### default pkg_package
pkg_build() {
	pkg_build_autoconf &&
	pkg_build_slackdesc &&
	
	# multilib
	mv -v /usr/share/gir-1.0/* /usr/share/gir-1.0-64 &&
	rm -r /usr/share/gir-1.0/
}


