diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-02-14 10:42:36 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-02-14 10:42:58 -0600 |
commit | d48ee60b8c9668c2b084f08d3d21b1ec251f4369 (patch) | |
tree | 06813d593b55c65cf8382a65f80962519bf93c13 | |
parent | a66ad3db8ceb1beee88578de56ad0040bed7e919 (diff) | |
download | aports-d48ee60b8c9668c2b084f08d3d21b1ec251f4369.tar.bz2 aports-d48ee60b8c9668c2b084f08d3d21b1ec251f4369.tar.xz |
main/gtk+2.0: update to 2.24.0 with ftbfs patch
-rw-r--r-- | main/gtk+2.0/APKBUILD | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/main/gtk+2.0/APKBUILD b/main/gtk+2.0/APKBUILD index 3730d35fae..08f9a4234c 100644 --- a/main/gtk+2.0/APKBUILD +++ b/main/gtk+2.0/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gtk+2.0 -pkgver=2.22.1 +pkgver=2.24.0 pkgrel=0 pkgdesc="The GTK+ Toolkit (v2)" url="http://www.gtk.org/" @@ -34,12 +34,19 @@ makedepends="pkgconfig pango-dev tiff-dev zlib-dev" -source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2" +source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2 + gtk-2.24.0-ftbfs.patch" depends_dev="atk-dev pango-dev cairo-dev glib-dev intltool gdk-pixbuf-dev" +_builddir="$srcdir"/gtk+-$pkgver +prepare() { + cd "$_builddir" + patch -p1 < "$srcdir"/gtk-2.24.0-ftbfs.patch +} + build() { - cd "$srcdir"/gtk+-$pkgver + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -50,8 +57,9 @@ build() { } package() { - cd "$srcdir"/gtk+-$pkgver + cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } -md5sums="fdce46ba354c155230b7d4090b17f7d9 gtk+-2.22.1.tar.bz2" +md5sums="3f67a9d8d939222df84facf2d0ecb275 gtk+-2.24.0.tar.bz2 +daf0a9e71372581d02475d5bfdeaf091 gtk-2.24.0-ftbfs.patch" |