summaryrefslogtreecommitdiff
path: root/extra/anjuta/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-05-07 22:31:25 -0300
commit9f7fb9c12e84f20cd108b933f1a51e216f76cd98 (patch)
tree06520d9024b40745b94f02d0d3419386e6496863 /extra/anjuta/PKGBUILD
parent6cc893589a6bd208f2b7711f985e17df7a6df816 (diff)
parenta86ff663185661ee304bb1f6d00d982102dd706d (diff)
Merge branch 'master' of gparabola:abslibre-mips64el
Diffstat (limited to 'extra/anjuta/PKGBUILD')
-rw-r--r--extra/anjuta/PKGBUILD36
1 files changed, 23 insertions, 13 deletions
diff --git a/extra/anjuta/PKGBUILD b/extra/anjuta/PKGBUILD
index b168f485b..d3c7e43b1 100644
--- a/extra/anjuta/PKGBUILD
+++ b/extra/anjuta/PKGBUILD
@@ -1,30 +1,42 @@
-# $Id: PKGBUILD 170895 2012-11-12 22:30:17Z heftig $
+# $Id: PKGBUILD 183314 2013-04-21 22:06:32Z heftig $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Harley Laue <losinggeneration@yahoo.com>
pkgbase=anjuta
pkgname=('libanjuta' 'anjuta')
-pkgver=3.6.2
+pkgver=3.8.1
pkgrel=1
pkgdesc="GNOME Integrated Development Environment (IDE)"
arch=('i686' 'x86_64' 'mips64el')
-license=('GPL')
-makedepends=('vte3' 'gdl' 'autogen' 'devhelp' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'vala' 'dconf' 'gnome-doc-utils' 'intltool' 'gobject-introspection' 'itstool')
+license=(GPL)
+makedepends=(gdl vte3 autogen devhelp glade libgda subversion gnome-icon-theme vala dconf
+ gtk-doc yelp-tools gnome-common intltool gobject-introspection itstool gjs
+ python)
url="http://www.anjuta.org/"
-source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz)
options=('!libtool' '!emptydirs')
-sha256sums=('2cf44120dcf22c4f4f25bbc65d3641c206e627776ab0f3a37ff0059844d581a2')
+source=(ftp://ftp.gnome.org/pub/gnome/sources/$pkgbase/${pkgver%.*}/$pkgbase-$pkgver.tar.xz
+ fix-compile-error.patch anjuta-glade.xml.diff)
+sha256sums=('ef5d8a5032d4c2025e1870bef044fa025f01096a86f8f226eb178688a960c5b9'
+ 'd072af4c1c52ce65f84026b83baa642a9bcfa06b10913b356b5cd99d98931b1d'
+ 'e480c41a92198c9158f7d66f248b83464e6d0745d5756dae581b204d5439cc4d')
build() {
cd "$pkgbase-$pkgver"
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var
+
+ patch -Np1 -i ../fix-compile-error.patch
+ patch -Np1 -i ../anjuta-glade.xml.diff
+
+ # Bump vala version
+ sed -i '/vala/s/-0\.18/-0.20/' configure.ac
+
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --enable-glade-catalog --enable-compile-warnings=minimum
make
}
package_libanjuta(){
pkgdesc="Anjuta runtime library"
- depends=('gdl')
+ depends=(gdl)
conflicts=('anjuta<3.4.4')
cd "$pkgbase-$pkgver/libanjuta"
@@ -35,7 +47,8 @@ package_libanjuta(){
package_anjuta(){
pkgdesc="GNOME Integrated Development Environment (IDE)"
- depends=('libanjuta' 'vte3' 'autogen' 'devhelp' 'glade' 'libgda' 'subversion' 'gnome-icon-theme' 'vala' 'dconf')
+ depends=(libanjuta vte3 autogen devhelp glade libgda subversion gnome-icon-theme vala dconf)
+ groups=('gnome-extra')
install=anjuta.install
@@ -44,7 +57,4 @@ package_anjuta(){
cd libanjuta
make -j1 DESTDIR="$pkgdir" uninstall
-
- sed -i "1s|#!/usr/bin/python$|&2|" \
- $pkgdir/usr/share/anjuta/project/{pygtk,python}/src/main.py
}