[arch-commits] Commit in (11 files)

Evgeniy Alekseev arcanis at archlinux.org
Thu Sep 24 23:25:48 UTC 2015


    Date: Friday, September 25, 2015 @ 01:25:47
  Author: arcanis
Revision: 141584

move libasl to [community]

Added:
  libasl/
  libasl/repos/
  libasl/trunk/
  libasl/trunk/NEWS.md
  libasl/trunk/PKGBUILD
  libasl/trunk/suppress-deprecated-warnings.patch
  libmatio/
  libmatio/repos/
  libmatio/trunk/
  libmatio/trunk/ChangeLog
  libmatio/trunk/PKGBUILD

-------------------------------------------------+
 libasl/trunk/NEWS.md                            |   15 +++++++
 libasl/trunk/PKGBUILD                           |   47 ++++++++++++++++++++++
 libasl/trunk/suppress-deprecated-warnings.patch |   11 +++++
 libmatio/trunk/ChangeLog                        |    2 
 libmatio/trunk/PKGBUILD                         |   30 ++++++++++++++
 5 files changed, 105 insertions(+)

Added: libasl/trunk/NEWS.md
===================================================================
--- libasl/trunk/NEWS.md	                        (rev 0)
+++ libasl/trunk/NEWS.md	2015-09-24 23:25:47 UTC (rev 141584)
@@ -0,0 +1,15 @@
+# News and ChangeLog
+
+## 0.1.6
+
+- fixing linkage issues
+- fixing testing issues
+- fixing an installation bug
+
+
+## 0.1.5
+
+- supplying cl.hpp, since not provided by OpenCL 2.0 (causes harmless "deprecated" warnings)
+- bug fixes
+- improved tests
+- improved examples

Added: libasl/trunk/PKGBUILD
===================================================================
--- libasl/trunk/PKGBUILD	                        (rev 0)
+++ libasl/trunk/PKGBUILD	2015-09-24 23:25:47 UTC (rev 141584)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot ord>
+# Contributor: Andrejs Mivreņiks <gim at fastmail dot fm>
+
+pkgname=libasl
+pkgver=0.1.6
+pkgrel=1
+pkgdesc='Multiphysics simulation software package (Advanced Simulation Library)'
+arch=('i686' 'x86_64')
+url='http://asl.org.il/'
+license=('AGPL3')
+depends=('boost' 'libcl' 'libmatio' 'vtk')
+makedepends=('cmake' 'opencl-headers')
+changelog='NEWS.md'
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AvtechScientific/ASL/archive/v${pkgver}.tar.gz"
+        'suppress-deprecated-warnings.patch')
+md5sums=('1f283d066d57e11d4602016148181420'
+         '972d7ed8037a35d32125773ae70f6360')
+
+prepare() {
+  rm -rf "build"
+  mkdir "build"
+
+  # patch to suppress 'deprecated' warning messages
+  # caused by 'opencl-headers' since update to 2.0
+  cd "ASL-${pkgver}"
+  patch -p1 -i "${srcdir}/suppress-deprecated-warnings.patch"
+}
+
+build() {
+  cd "build"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DBUILD_SHARED_LIBS=ON \
+        -DWITH_EXAMPLES=ON \
+        -DWITH_MATIO=ON \
+        -DWITH_API_DOC=OFF \
+        -DWITH_TESTS=OFF \
+        "../ASL-${pkgver}"
+  make
+}
+
+package() {
+  cd "build"
+  make DESTDIR="${pkgdir}" install
+}
+


Property changes on: libasl/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: libasl/trunk/suppress-deprecated-warnings.patch
===================================================================
--- libasl/trunk/suppress-deprecated-warnings.patch	                        (rev 0)
+++ libasl/trunk/suppress-deprecated-warnings.patch	2015-09-24 23:25:47 UTC (rev 141584)
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt	2015-08-24 19:50:08.000000000 +0300
++++ b/CMakeLists.txt	2015-08-25 23:22:14.174394239 +0300
+@@ -37,7 +37,7 @@ if (CMAKE_VERSION VERSION_LESS 3.1.0)
+ 	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -std=c++11")
+ else()
+ 	set(CMAKE_CXX_STANDARD 11)
+-	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
++  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive -Wno-deprecated -Wno-deprecated-declarations")
+ endif()
+ 
+ # Enable supplied cmake includes and modules

Added: libmatio/trunk/ChangeLog
===================================================================
--- libmatio/trunk/ChangeLog	                        (rev 0)
+++ libmatio/trunk/ChangeLog	2015-09-24 23:25:47 UTC (rev 141584)
@@ -0,0 +1,2 @@
+1.5.2-3:
+move from AUR to [community]

Added: libmatio/trunk/PKGBUILD
===================================================================
--- libmatio/trunk/PKGBUILD	                        (rev 0)
+++ libmatio/trunk/PKGBUILD	2015-09-24 23:25:47 UTC (rev 141584)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Stefan Husmann <stefan-husmann at t-online dot de>
+# Contributor: Alexander Rødseth <rodseth at gmail dot com>
+# Contributor: William Rea <sillywilly at gmail dot com>
+
+pkgname=libmatio
+pkgver=1.5.2
+pkgrel=3
+pkgdesc='C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files'
+arch=('x86_64' 'i686')
+license=('custom:BSD')
+url='http://sourceforge.net/projects/matio'
+depends=('zlib' 'hdf5')
+options=('!libtool' '!emptydirs')
+source=("http://downloads.sourceforge.net/matio/matio-${pkgver}.tar.gz")
+changelog=ChangeLog
+md5sums=('85b007b99916c63791f28398f6a4c6f1')
+
+build() {
+  cd "matio-${pkgver}"
+  ./configure --prefix=/usr --enable-shared --with-hdf5
+  make
+}
+
+package() {
+  cd "matio-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}


Property changes on: libmatio/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list