summaryrefslogtreecommitdiffstats
path: root/main/py-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-gtk')
-rw-r--r--main/py-gtk/APKBUILD10
-rw-r--r--main/py-gtk/automake.patch11
2 files changed, 17 insertions, 4 deletions
diff --git a/main/py-gtk/APKBUILD b/main/py-gtk/APKBUILD
index 03f8694b7..95e31d89b 100644
--- a/main/py-gtk/APKBUILD
+++ b/main/py-gtk/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py-gtk
pkgver=2.24.0
-pkgrel=6
+pkgrel=7
pkgdesc="Python bindings for the GTK widget set"
url="http://www.pygtk.org/"
arch="all"
@@ -11,6 +11,7 @@ makedepends="libglade-dev py-cairo-dev py-gobject-dev python-dev libffi-dev
autoconf automake libtool"
source="http://ftp.gnome.org/pub/gnome/sources/pygtk/${pkgver%.*}/pygtk-$pkgver.tar.bz2
pygtk-2.14.1-libdir-pc.patch
+ automake.patch
"
subpackages="$pkgname-dev $pkgname-doc $pkgname-demo"
@@ -25,8 +26,8 @@ prepare() {
done
# disable pyc
echo '#!/bin/sh' > py-compile
- libtoolize --force \
- && aclocal -I m4 && autoconf && automake || return 1
+ libtoolize --force && aclocal -I m4 && autoconf \
+ && automake --add-missing || return 1
}
build() {
@@ -59,4 +60,5 @@ demo() {
"$subpkgdir"/usr/lib/pygtk/2.0/
}
md5sums="a1051d5794fd7696d3c1af6422d17a49 pygtk-2.24.0.tar.bz2
-7ea85705916198f7cad29073ecd03d10 pygtk-2.14.1-libdir-pc.patch"
+7ea85705916198f7cad29073ecd03d10 pygtk-2.14.1-libdir-pc.patch
+4d32c4b66d124d48b73794841b104c74 automake.patch"
diff --git a/main/py-gtk/automake.patch b/main/py-gtk/automake.patch
new file mode 100644
index 000000000..cce028723
--- /dev/null
+++ b/main/py-gtk/automake.patch
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig 2012-12-31 21:43:12.278133549 +0000
++++ ./configure.ac 2012-12-31 21:43:22.924889943 +0000
+@@ -29,7 +29,7 @@
+ AC_SUBST(PYGTK_MICRO_VERSION, pygtk_micro_version)
+
+ AC_CONFIG_SRCDIR([gtk/gtkmodule.c])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADER(config.h)
+
+ AM_INIT_AUTOMAKE
+ AC_CHECK_FUNCS(bind_textdomain_codeset)