summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnome-tweak-tool/.md5sum.i6861
-rw-r--r--gnome-tweak-tool/.md5sum.x86_641
-rw-r--r--gnome-tweak-tool/Pkgfile6
-rw-r--r--gnome-tweak-tool/pygobject3.patch27
4 files changed, 34 insertions, 1 deletions
diff --git a/gnome-tweak-tool/.md5sum.i686 b/gnome-tweak-tool/.md5sum.i686
index 13db796..dd993ef 100644
--- a/gnome-tweak-tool/.md5sum.i686
+++ b/gnome-tweak-tool/.md5sum.i686
@@ -1 +1,2 @@
a45628c16e1c7421cd3ae7ece17474e3 gnome-tweak-tool-3.1.0.tar.xz
+4b21a091ba316346efac87d4e5636258 pygobject3.patch
diff --git a/gnome-tweak-tool/.md5sum.x86_64 b/gnome-tweak-tool/.md5sum.x86_64
index 13db796..dd993ef 100644
--- a/gnome-tweak-tool/.md5sum.x86_64
+++ b/gnome-tweak-tool/.md5sum.x86_64
@@ -1 +1,2 @@
a45628c16e1c7421cd3ae7ece17474e3 gnome-tweak-tool-3.1.0.tar.xz
+4b21a091ba316346efac87d4e5636258 pygobject3.patch
diff --git a/gnome-tweak-tool/Pkgfile b/gnome-tweak-tool/Pkgfile
index 75a62fa..fdf1fb8 100644
--- a/gnome-tweak-tool/Pkgfile
+++ b/gnome-tweak-tool/Pkgfile
@@ -8,10 +8,14 @@
name=gnome-tweak-tool
version=3.1.0
release=1
-source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz)
+source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.xz
+ pygobject3.patch)
build() {
cd $name-$version
+ patch -p1 < ../pygobject3.patch
+ aclocal
+ autoconf
PYTHON=python2 ./configure --prefix=/usr
make
make DESTDIR=$PKG install
diff --git a/gnome-tweak-tool/pygobject3.patch b/gnome-tweak-tool/pygobject3.patch
new file mode 100644
index 0000000..17bd1db
--- /dev/null
+++ b/gnome-tweak-tool/pygobject3.patch
@@ -0,0 +1,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