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

# 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='cairo32 harfbuzz32 libX11_32 libfribidi32'
SLACKDESC="pango32: pango32 $PKGVER (GTK text layout and renderer)  
pango32:  
pango32: Pango is a library for laying out and rendering of text, with an 
pango32: emphasis on internationalization. It can be used anywhere that text 
pango32: layout is needed, though most of the work on Pango so far has been done 
pango32: in the context of the GTK+ widget toolkit.  
pango32: 
pango32: 
pango32: 
pango32: 
pango32:
"

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

pkg_package() {
	rm -rf bin sbin usr/bin usr/sbin usr/include usr/share/locale usr/share/gtk-doc usr/share/man
}

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


