diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/pango/APKBUILD | 11 | ||||
-rw-r--r-- | main/pango/pango.pre-deinstall | 5 |
2 files changed, 10 insertions, 6 deletions
diff --git a/main/pango/APKBUILD b/main/pango/APKBUILD index 900477dea9..0ad0858fb5 100644 --- a/main/pango/APKBUILD +++ b/main/pango/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pango -pkgver=1.30.1 +pkgver=1.32.1 pkgrel=0 pkgdesc="A library for layout and rendering of text" url="http://www.pango.org/" @@ -8,17 +8,18 @@ arch="all" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= -makedepends="pkgconfig glib-dev cairo-dev libxft-dev gettext-dev libiconv-dev - expat-dev gobject-introspection-dev" +depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev" +makedepends="$depends_dev cairo-dev expat-dev gobject-introspection-dev + harfbuzz-dev" install="pango.post-install $pkgname.pre-deinstall" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" -depends_dev="glib-dev freetype-dev fontconfig-dev libxft-dev" build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ + --with-included-modules=basic-fc \ --localstatedir=/var || return 1 make || return 1 } @@ -30,4 +31,4 @@ package() { "$pkgdir"/usr/lib/pango/*/modules/*.la } -md5sums="ec3c1f236ee9bd4a982a5f46fcaff7b9 pango-1.30.1.tar.xz" +md5sums="73570ab28462fc43960a8d1ffdae43d0 pango-1.32.1.tar.xz" diff --git a/main/pango/pango.pre-deinstall b/main/pango/pango.pre-deinstall index 92127b59de..9a59403fc5 100644 --- a/main/pango/pango.pre-deinstall +++ b/main/pango/pango.pre-deinstall @@ -1,2 +1,5 @@ #!/bin/sh -rm -f /etc/pango/pango.modules + +if [ -e /etc/pango/pango.modules ]; then + rm -f /etc/pango/pango.modules +fi |