[arch-commits] Commit in libasl/repos (6 files)
Evgeniy Alekseev
arcanis at archlinux.org
Mon Sep 11 08:12:28 UTC 2017
Date: Monday, September 11, 2017 @ 08:12:27
Author: arcanis
Revision: 256886
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
libasl/repos/community-staging-i686/
libasl/repos/community-staging-i686/PKGBUILD
(from rev 256885, libasl/trunk/PKGBUILD)
libasl/repos/community-staging-i686/suppress-deprecated-warnings.patch
(from rev 256885, libasl/trunk/suppress-deprecated-warnings.patch)
libasl/repos/community-staging-x86_64/
libasl/repos/community-staging-x86_64/PKGBUILD
(from rev 256885, libasl/trunk/PKGBUILD)
libasl/repos/community-staging-x86_64/suppress-deprecated-warnings.patch
(from rev 256885, libasl/trunk/suppress-deprecated-warnings.patch)
-------------------------------------------------------------+
community-staging-i686/PKGBUILD | 47 ++++++++++
community-staging-i686/suppress-deprecated-warnings.patch | 12 ++
community-staging-x86_64/PKGBUILD | 47 ++++++++++
community-staging-x86_64/suppress-deprecated-warnings.patch | 12 ++
4 files changed, 118 insertions(+)
Copied: libasl/repos/community-staging-i686/PKGBUILD (from rev 256885, libasl/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-09-11 08:12:27 UTC (rev 256886)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Andrejs Mivreņiks <gim at fastmail dot fm>
+
+pkgname=libasl
+pkgver=0.1.7
+pkgrel=5
+pkgdesc='Free and open source hardware accelerated multiphysics simulation platform (Advanced Simulation Library)'
+arch=('i686' 'x86_64')
+url='http://asl.org.il/'
+license=('AGPL3')
+depends=('boost-libs' 'opencl-icd-loader' 'libmatio' 'vtk' 'libjpeg' 'libpng' 'libtiff'
+ 'freetype2' 'libgl')
+makedepends=('cmake' 'opencl-headers' 'boost' 'mesa-libgl')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AvtechScientific/ASL/archive/v${pkgver}.tar.gz"
+ 'suppress-deprecated-warnings.patch')
+sha512sums=('337754adefa8619bbc2ab0e06fc811dd1cc550252b165241a265f87224aa84c5ee69fb3bf60324093df5b21aa87712e2210d4bcdd8593f0740183574528a30bd'
+ '6aecf660790ea2ba0d9de48aef4c4a1058b07d04cbc74ad6a9f127a51f02b39fdab5f8faa269d0bbbc003ea5cea6910f54a7d980fbf5e641629869e20528f70a')
+
+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
+}
+
Copied: libasl/repos/community-staging-i686/suppress-deprecated-warnings.patch (from rev 256885, libasl/trunk/suppress-deprecated-warnings.patch)
===================================================================
--- community-staging-i686/suppress-deprecated-warnings.patch (rev 0)
+++ community-staging-i686/suppress-deprecated-warnings.patch 2017-09-11 08:12:27 UTC (rev 256886)
@@ -0,0 +1,12 @@
+diff -ruN ASL-0.1.7-orig/CMakeLists.txt ASL-0.1.7/CMakeLists.txt
+--- ASL-0.1.7-orig/CMakeLists.txt 2017-08-07 17:47:37.522927767 +0300
++++ ASL-0.1.7/CMakeLists.txt 2017-08-07 17:47:58.382410158 +0300
+@@ -37,7 +37,7 @@
+ 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 -Wno-ignored-attributes")
+ endif()
+
+ # Enable supplied cmake includes and modules
Copied: libasl/repos/community-staging-x86_64/PKGBUILD (from rev 256885, libasl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-09-11 08:12:27 UTC (rev 256886)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Andrejs Mivreņiks <gim at fastmail dot fm>
+
+pkgname=libasl
+pkgver=0.1.7
+pkgrel=5
+pkgdesc='Free and open source hardware accelerated multiphysics simulation platform (Advanced Simulation Library)'
+arch=('i686' 'x86_64')
+url='http://asl.org.il/'
+license=('AGPL3')
+depends=('boost-libs' 'opencl-icd-loader' 'libmatio' 'vtk' 'libjpeg' 'libpng' 'libtiff'
+ 'freetype2' 'libgl')
+makedepends=('cmake' 'opencl-headers' 'boost' 'mesa-libgl')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/AvtechScientific/ASL/archive/v${pkgver}.tar.gz"
+ 'suppress-deprecated-warnings.patch')
+sha512sums=('337754adefa8619bbc2ab0e06fc811dd1cc550252b165241a265f87224aa84c5ee69fb3bf60324093df5b21aa87712e2210d4bcdd8593f0740183574528a30bd'
+ '6aecf660790ea2ba0d9de48aef4c4a1058b07d04cbc74ad6a9f127a51f02b39fdab5f8faa269d0bbbc003ea5cea6910f54a7d980fbf5e641629869e20528f70a')
+
+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
+}
+
Copied: libasl/repos/community-staging-x86_64/suppress-deprecated-warnings.patch (from rev 256885, libasl/trunk/suppress-deprecated-warnings.patch)
===================================================================
--- community-staging-x86_64/suppress-deprecated-warnings.patch (rev 0)
+++ community-staging-x86_64/suppress-deprecated-warnings.patch 2017-09-11 08:12:27 UTC (rev 256886)
@@ -0,0 +1,12 @@
+diff -ruN ASL-0.1.7-orig/CMakeLists.txt ASL-0.1.7/CMakeLists.txt
+--- ASL-0.1.7-orig/CMakeLists.txt 2017-08-07 17:47:37.522927767 +0300
++++ ASL-0.1.7/CMakeLists.txt 2017-08-07 17:47:58.382410158 +0300
+@@ -37,7 +37,7 @@
+ 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 -Wno-ignored-attributes")
+ endif()
+
+ # Enable supplied cmake includes and modules
More information about the arch-commits
mailing list