[arch-commits] Commit in anjuta/repos (4 files)

Jan de Groot jgc at archlinux.org
Fri Sep 30 09:05:17 UTC 2016


    Date: Friday, September 30, 2016 @ 09:05:16
  Author: jgc
Revision: 277457

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  anjuta/repos/testing-i686/
  anjuta/repos/testing-i686/PKGBUILD
    (from rev 277456, anjuta/trunk/PKGBUILD)
  anjuta/repos/testing-x86_64/
  anjuta/repos/testing-x86_64/PKGBUILD
    (from rev 277456, anjuta/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   61 ++++++++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   61 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 122 insertions(+)

Copied: anjuta/repos/testing-i686/PKGBUILD (from rev 277456, anjuta/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-09-30 09:05:16 UTC (rev 277457)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Harley Laue <losinggeneration at yahoo.com>
+
+pkgbase=anjuta
+pkgname=('libanjuta' 'anjuta')
+pkgver=3.22.0+1+g2bd433c
+pkgrel=1
+pkgdesc="GNOME Integrated Development Environment (IDE)"
+arch=(i686 x86_64)
+license=(GPL)
+makedepends=(gdl vte3 autogen devhelp glade libgda subversion neon vala dconf gtk-doc yelp-tools gnome-common intltool gobject-introspection itstool gjs git)
+url="http://www.anjuta.org/"
+options=('!emptydirs')
+_commit=2bd433c19394b9e2a04a41e2f2e5d89113627c40  # gnome-3-22
+source=("git://git.gnome.org/anjuta#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/^ANJUTA_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+  sed -i -e 's/\[0\.30\], \[0\.32\]/[0.30], [0.32], [0.34]/' configure.ac
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgbase
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --enable-glade-catalog --enable-compile-warnings=minimum --enable-gtk-doc \
+      PYTHON=/usr/bin/python2
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_libanjuta(){
+  pkgdesc="Anjuta runtime library"
+  depends=(gdl)
+  conflicts=('anjuta<3.4.4')
+
+  cd $pkgbase/libanjuta
+
+  # j1: Race during linking
+  make -j1 DESTDIR="$pkgdir" install
+}
+
+package_anjuta(){
+  pkgdesc="GNOME Integrated Development Environment (IDE)"
+  depends=(libanjuta vte3 autogen devhelp glade libgda subversion neon vala dconf)
+  groups=('gnome-extra')
+
+  cd $pkgbase
+  make -j1 DESTDIR="$pkgdir" install
+
+  cd libanjuta
+  make -j1 DESTDIR="$pkgdir" uninstall
+}

Copied: anjuta/repos/testing-x86_64/PKGBUILD (from rev 277456, anjuta/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-09-30 09:05:16 UTC (rev 277457)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Contributor: Harley Laue <losinggeneration at yahoo.com>
+
+pkgbase=anjuta
+pkgname=('libanjuta' 'anjuta')
+pkgver=3.22.0+1+g2bd433c
+pkgrel=1
+pkgdesc="GNOME Integrated Development Environment (IDE)"
+arch=(i686 x86_64)
+license=(GPL)
+makedepends=(gdl vte3 autogen devhelp glade libgda subversion neon vala dconf gtk-doc yelp-tools gnome-common intltool gobject-introspection itstool gjs git)
+url="http://www.anjuta.org/"
+options=('!emptydirs')
+_commit=2bd433c19394b9e2a04a41e2f2e5d89113627c40  # gnome-3-22
+source=("git://git.gnome.org/anjuta#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgbase
+  git describe --tags | sed 's/^ANJUTA_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgbase
+  sed -i -e 's/\[0\.30\], \[0\.32\]/[0.30], [0.32], [0.34]/' configure.ac
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgbase
+
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --enable-glade-catalog --enable-compile-warnings=minimum --enable-gtk-doc \
+      PYTHON=/usr/bin/python2
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package_libanjuta(){
+  pkgdesc="Anjuta runtime library"
+  depends=(gdl)
+  conflicts=('anjuta<3.4.4')
+
+  cd $pkgbase/libanjuta
+
+  # j1: Race during linking
+  make -j1 DESTDIR="$pkgdir" install
+}
+
+package_anjuta(){
+  pkgdesc="GNOME Integrated Development Environment (IDE)"
+  depends=(libanjuta vte3 autogen devhelp glade libgda subversion neon vala dconf)
+  groups=('gnome-extra')
+
+  cd $pkgbase
+  make -j1 DESTDIR="$pkgdir" install
+
+  cd libanjuta
+  make -j1 DESTDIR="$pkgdir" uninstall
+}



More information about the arch-commits mailing list