[arch-commits] Commit in openbabel/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Dec 7 08:16:37 UTC 2015


    Date: Monday, December 7, 2015 @ 09:16:36
  Author: bpiotrowski
Revision: 253295

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

Added:
  openbabel/repos/staging-i686/
  openbabel/repos/staging-i686/PKGBUILD
    (from rev 253294, openbabel/trunk/PKGBUILD)
  openbabel/repos/staging-i686/gcc-5.patch
    (from rev 253294, openbabel/trunk/gcc-5.patch)
  openbabel/repos/staging-x86_64/
  openbabel/repos/staging-x86_64/PKGBUILD
    (from rev 253294, openbabel/trunk/PKGBUILD)
  openbabel/repos/staging-x86_64/gcc-5.patch
    (from rev 253294, openbabel/trunk/gcc-5.patch)

----------------------------+
 staging-i686/PKGBUILD      |   39 +++++++++++++++++++++++++++++++++++++++
 staging-i686/gcc-5.patch   |   12 ++++++++++++
 staging-x86_64/PKGBUILD    |   39 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/gcc-5.patch |   12 ++++++++++++
 4 files changed, 102 insertions(+)

Copied: openbabel/repos/staging-i686/PKGBUILD (from rev 253294, openbabel/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-12-07 08:16:36 UTC (rev 253295)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
+pkgname=openbabel
+pkgver=2.3.2
+pkgrel=5
+pkgdesc="A library designed to interconvert between many file formats used in molecular modeling and computational chemistry"
+arch=('i686' 'x86_64')
+url="http://openbabel.org/wiki/Main_Page"
+license=('GPL')
+depends=('gcc-libs' 'libxml2' 'libsm')
+makedepends=('cmake' 'eigen2' 'wxgtk2.8' 'boost')
+optdepends=('eigen2: to use bindings'
+            'wxgtk2.8: GUI interface')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'gcc-5.patch')
+md5sums=('9b0007560d9d838b40ab4ad06daf5610'
+         '0821ec915b2ab52d54658dc83f5a93d8')
+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+# Fix build with GCC 5 (Fedora)
+  patch -p0 -i "$srcdir"/gcc-5.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.8
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: openbabel/repos/staging-i686/gcc-5.patch (from rev 253294, openbabel/trunk/gcc-5.patch)
===================================================================
--- staging-i686/gcc-5.patch	                        (rev 0)
+++ staging-i686/gcc-5.patch	2015-12-07 08:16:36 UTC (rev 253295)
@@ -0,0 +1,12 @@
+--- include/openbabel/shared_ptr.h.gcc5	2015-02-04 20:04:57.000000000 +0100
++++ include/openbabel/shared_ptr.h	2015-02-07 22:10:37.433163644 +0100
+@@ -21,7 +21,7 @@ GNU General Public License for more deta
+   #define sharedptr boost::shared_ptr
+ #else
+   #include <memory>
+-  #if __GNUC__ == 4  //&& __GNUC_MINOR__ < 3  removed at the suggestion of Konstantin Tokarev
++  #if __GNUC__ >= 4  //&& __GNUC_MINOR__ < 3  removed at the suggestion of Konstantin Tokarev
+     #include <tr1/memory>
+   #endif
+   using std::tr1::shared_ptr;
+

Copied: openbabel/repos/staging-x86_64/PKGBUILD (from rev 253294, openbabel/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-12-07 08:16:36 UTC (rev 253295)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+
+pkgname=openbabel
+pkgver=2.3.2
+pkgrel=5
+pkgdesc="A library designed to interconvert between many file formats used in molecular modeling and computational chemistry"
+arch=('i686' 'x86_64')
+url="http://openbabel.org/wiki/Main_Page"
+license=('GPL')
+depends=('gcc-libs' 'libxml2' 'libsm')
+makedepends=('cmake' 'eigen2' 'wxgtk2.8' 'boost')
+optdepends=('eigen2: to use bindings'
+            'wxgtk2.8: GUI interface')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz" 'gcc-5.patch')
+md5sums=('9b0007560d9d838b40ab4ad06daf5610'
+         '0821ec915b2ab52d54658dc83f5a93d8')
+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+# Fix build with GCC 5 (Fedora)
+  patch -p0 -i "$srcdir"/gcc-5.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-2.8
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: openbabel/repos/staging-x86_64/gcc-5.patch (from rev 253294, openbabel/trunk/gcc-5.patch)
===================================================================
--- staging-x86_64/gcc-5.patch	                        (rev 0)
+++ staging-x86_64/gcc-5.patch	2015-12-07 08:16:36 UTC (rev 253295)
@@ -0,0 +1,12 @@
+--- include/openbabel/shared_ptr.h.gcc5	2015-02-04 20:04:57.000000000 +0100
++++ include/openbabel/shared_ptr.h	2015-02-07 22:10:37.433163644 +0100
+@@ -21,7 +21,7 @@ GNU General Public License for more deta
+   #define sharedptr boost::shared_ptr
+ #else
+   #include <memory>
+-  #if __GNUC__ == 4  //&& __GNUC_MINOR__ < 3  removed at the suggestion of Konstantin Tokarev
++  #if __GNUC__ >= 4  //&& __GNUC_MINOR__ < 3  removed at the suggestion of Konstantin Tokarev
+     #include <tr1/memory>
+   #endif
+   using std::tr1::shared_ptr;
+



More information about the arch-commits mailing list