[arch-commits] Commit in opengtl/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue May 22 20:41:19 UTC 2012
Date: Tuesday, May 22, 2012 @ 16:41:18
Author: foutrelis
Revision: 159379
db-move: moved opengtl from [staging] to [testing] (i686)
Added:
opengtl/repos/testing-i686/
opengtl/repos/testing-i686/PKGBUILD
(from rev 159376, opengtl/repos/staging-i686/PKGBUILD)
Deleted:
opengtl/repos/staging-i686/
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: opengtl/repos/testing-i686/PKGBUILD (from rev 159376, opengtl/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2012-05-22 20:41:18 UTC (rev 159379)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Andries Radu <admiral0 at live.it>
+
+pkgname=opengtl
+pkgver=0.9.16
+pkgrel=2
+pkgdesc="A set of library for using and integrating transformation algorithms (such as filter or color conversion) in graphics applications"
+url="http://www.opengtl.org"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('gcc-libs' 'llvm')
+makedepends=('cmake' 'libpng')
+optdepends=('libpng: for using the png extension')
+source=(http://download.opengtl.org/OpenGTL-${pkgver}.tar.bz2)
+sha1sums=('3cfe4a08e5778c13f7e74dfc822adb68f97ad048')
+
+build() {
+ cd "${srcdir}"
+ # Fix build with LLVM 3.1
+ sed -i 's/LLVM_VERSION STREQUAL "3.0"/LLVM_VERSION STREQUAL "3.1"/' \
+ OpenGTL-${pkgver}/CMakeLists.txt
+ sed -i 's/ConstantArray::get/ConstantDataArray::getString/' \
+ OpenGTL-${pkgver}/OpenGTL/GTLCore/AST/Expression.cpp
+ mkdir build
+ cd build
+ cmake ../OpenGTL-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list