summaryrefslogtreecommitdiffstats
path: root/gnome-tweak-tool/pygobject3.patch
blob: 17bd1db84303867d39323b9eee247205e5ec14f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From b903774ea5e87b2be10c7b6acf4408a9fc77df08 Mon Sep 17 00:00:00 2001
From: John Stowers <john.stowers@gmail.com>
Date: Sat, 20 Aug 2011 23:13:08 +0000
Subject: Fix build against pygobject-3.0

---
diff --git a/configure.ac b/configure.ac
index 8d27f7c..ad10e1d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,10 +6,11 @@ AM_PATH_PYTHON([2.6])
 GLIB_GSETTINGS
 
 DESKTOP_SCHEMAS_REQUIRED_VERSION=3.0.0
-PYGOBJECT_REQUIRED_VERSION=2.28.0
+PYGOBJECT_REQUIRED_VERSION=2.90.0
 
-PKG_CHECK_MODULES(GSETTINGS_DESKTOP_SCHEMAS, gsettings-desktop-schemas >= $DESKTOP_SCHEMAS_REQUIRED_VERSION)
-PKG_CHECK_MODULES(DEPENDENCIES, pygobject-2.0 >= $PYGOBJECT_REQUIRED_VERSION)
+PKG_CHECK_MODULES([GSETTINGS_DESKTOP_SCHEMAS], [gsettings-desktop-schemas >= $DESKTOP_SCHEMAS_REQUIRED_VERSION])
+PKG_CHECK_MODULES([PYGOBJECT3], [pygobject-3.0 >= $PYGOBJECT_REQUIRED_VERSION)],,
+    [PKG_CHECK_MODULES([PYGOBJECT2], [pygobject-2.0 >= 2.28.0])])
 
 AC_CHECK_PROG(GCONFTOOL,gconftool-2,gconftool-2,no)
 if test "$GCONFTOOL" = no ; then
--
cgit v0.9.0.2