summaryrefslogtreecommitdiffstats
path: root/main/pango
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-26 09:23:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-26 09:58:19 +0000
commit95b8bea0f1d03f25f72b5c05a26f7a86851792aa (patch)
tree5ca6f3c0301c63c03822975f8ce3e19d48a8e63b /main/pango
parent1eae45f07c7ccb5f949528ca2e72cce2774a7864 (diff)
downloadaports-95b8bea0f1d03f25f72b5c05a26f7a86851792aa.tar.bz2
aports-95b8bea0f1d03f25f72b5c05a26f7a86851792aa.tar.xz
main/pango: upgrade to 1.32.1
Diffstat (limited to 'main/pango')
-rw-r--r--main/pango/APKBUILD11
-rw-r--r--main/pango/pango.pre-deinstall5
2 files changed, 10 insertions, 6 deletions
diff --git a/main/pango/APKBUILD b/main/pango/APKBUILD
index 900477dea..0ad0858fb 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 92127b59d..9a59403fc 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