aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/gtk+2.0/APKBUILD18
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"