summaryrefslogtreecommitdiff
path: root/community/gnunet-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'community/gnunet-gtk')
-rw-r--r--community/gnunet-gtk/PKGBUILD18
-rw-r--r--community/gnunet-gtk/drop_gtk2.patch11
2 files changed, 22 insertions, 7 deletions
diff --git a/community/gnunet-gtk/PKGBUILD b/community/gnunet-gtk/PKGBUILD
index 2c72a660c..0d987eb07 100644
--- a/community/gnunet-gtk/PKGBUILD
+++ b/community/gnunet-gtk/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 55842 2011-09-23 16:15:44Z spupykin $
+# $Id: PKGBUILD 56777 2011-10-12 06:44:39Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: wahnby <wahnby@yahoo.fr>
pkgname=gnunet-gtk
pkgver=0.9.0pre3
-pkgrel=1
+pkgrel=3
pkgdesc="A frontend for GNUnet"
arch=('i686' 'x86_64' 'mips64el')
url="http://gnunet.org"
options=('!libtool')
license=('GPL')
-depends=('gnunet' 'libnotify' 'libglade' 'adns')
-makedepends=('pkgconfig' 'glade')
-source=(ftp://ftp.gnu.org/gnu/gnunet/$pkgname-$pkgver.tar.gz)
-md5sums=('42f90a00aee541cef576ead682d7fb44')
+depends=('gnunet' 'glade' 'adns')
+makedepends=('pkgconfig')
+source=(ftp://ftp.gnu.org/gnu/gnunet/$pkgname-$pkgver.tar.gz
+ drop_gtk2.patch)
+md5sums=('42f90a00aee541cef576ead682d7fb44'
+ 'f709c0195beffd0ca64d498be83a118b')
build() {
cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --with-gnunet=/usr --disable-libgksu2
+ patch -Np1 -i $srcdir/drop_gtk2.patch
+ autoreconf -fi
+ ./configure --prefix=/usr --with-gnunet=/usr
make
}
diff --git a/community/gnunet-gtk/drop_gtk2.patch b/community/gnunet-gtk/drop_gtk2.patch
new file mode 100644
index 000000000..1ae4fda1f
--- /dev/null
+++ b/community/gnunet-gtk/drop_gtk2.patch
@@ -0,0 +1,11 @@
+diff -Nur gnunet-gtk-0.9.0pre3.orig/configure.ac gnunet-gtk-0.9.0pre3/configure.ac
+--- gnunet-gtk-0.9.0pre3.orig/configure.ac 2011-10-12 06:30:21.001993062 +0000
++++ gnunet-gtk-0.9.0pre3/configure.ac 2011-10-12 06:30:50.695578118 +0000
+@@ -169,7 +169,6 @@
+ AC_MSG_CHECKING(for gtk)
+ without_gtk=true
+ AM_PATH_GTK_3_0(3.0.0,without_gtk=false,)
+-AM_PATH_GTK_2_0(2.6.0,without_gtk=false,)
+ AM_CONDITIONAL(HAVE_GTK, test x$without_gtk != xtrue)
+ if test $without_gtk != true
+ then