summaryrefslogtreecommitdiffstats
path: root/gobject-introspection/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gobject-introspection/Pkgfile')
-rw-r--r--gobject-introspection/Pkgfile10
1 files changed, 9 insertions, 1 deletions
diff --git a/gobject-introspection/Pkgfile b/gobject-introspection/Pkgfile
index 8f4ee6e..2cdf379 100644
--- a/gobject-introspection/Pkgfile
+++ b/gobject-introspection/Pkgfile
@@ -8,11 +8,19 @@
name=gobject-introspection
version=1.29.0
release=1
-source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)
+source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz
+ glib-2.0.c)
build() {
cd $name-$version
+ # From Ubuntu:
+ # Roll back to gir/glib-2.0 as of before upstream commit 6d30588c1.
+ # Later commits have a GVariant which current pygobject does not
+ # deal with. This is fixed in the invoke-rewrite branch of
+ # pygobject, so until this lands we need the older annotations.
+ cp ../glib-2.0.c gir/
+
PYTHON=/usr/bin/python2 ./configure --prefix=/usr
make