summaryrefslogtreecommitdiff
path: root/community/giggle
diff options
context:
space:
mode:
Diffstat (limited to 'community/giggle')
-rw-r--r--community/giggle/PKGBUILD6
-rw-r--r--community/giggle/gmodule.patch23
2 files changed, 28 insertions, 1 deletions
diff --git a/community/giggle/PKGBUILD b/community/giggle/PKGBUILD
index dc22aa950..9d7243b05 100644
--- a/community/giggle/PKGBUILD
+++ b/community/giggle/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=giggle
pkgver=0.7
pkgrel=1
pkgdesc="Git repository viewer"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://live.gnome.org/giggle"
license=('GPL')
depends=('git' 'gtksourceview3' 'vte3')
@@ -19,6 +19,10 @@ sha256sums=('ae2e2237fa0d0999d99d0a0ee9b7ec147e80bd2472d59a045b2b01eb02261f59')
build() {
cd $pkgname-$pkgver
+ # An upstream build fix.
+ patch -p1 -i "$srcdir/gmodule.patch"
+ autoconf
+
./configure \
--prefix=/usr
make
diff --git a/community/giggle/gmodule.patch b/community/giggle/gmodule.patch
new file mode 100644
index 000000000..2716ea2cd
--- /dev/null
+++ b/community/giggle/gmodule.patch
@@ -0,0 +1,23 @@
+From 6a4d71af9920df76a15e427671c90952fddbb411 Mon Sep 17 00:00:00 2001
+From: Vincent Untz <vuntz@gnome.org>
+Date: Thu, 19 Jan 2012 13:48:40 +0000
+Subject: build: Explicitly link to gmodule-2.0
+
+gmodule-2.0 is now gone from the pkg-config files for GTK+ 3 and others.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=667350
+---
+diff --git a/configure.ac b/configure.ac
+index 07f5b7b..aa11046 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -55,6 +55,7 @@ GTKSOURCE_REQUIRED_VERSION=3.0
+ PKG_CHECK_MODULES(GIGGLE, [
+ gio-2.0 >= $GLIB_REQUIRED_VERSION
+ glib-2.0 >= $GLIB_REQUIRED_VERSION
++ gmodule-2.0 >= $GLIB_REQUIRED_VERSION
+ gthread-2.0 >= $GLIB_REQUIRED_VERSION
+ gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED_VERSION
+ gdk-3.0 >= $GTK_REQUIRED_VERSION
+--
+cgit v0.9.0.2