summaryrefslogtreecommitdiff
path: root/extra/opengtl/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-06-17 01:18:25 -0700
committerroot <root@rshg054.dnsready.net>2013-06-17 01:18:25 -0700
commit3c8e479bfe9fab72058c833f2909a26232114733 (patch)
tree18202d3eaa2c9001216c161e395eb2d39a8d05fd /extra/opengtl/PKGBUILD
parent44c10f274ec720a1512b15457b9eeffea28c6041 (diff)
Mon Jun 17 01:18:13 PDT 2013
Diffstat (limited to 'extra/opengtl/PKGBUILD')
-rw-r--r--extra/opengtl/PKGBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/extra/opengtl/PKGBUILD b/extra/opengtl/PKGBUILD
index bacb75045..8d4402ab9 100644
--- a/extra/opengtl/PKGBUILD
+++ b/extra/opengtl/PKGBUILD
@@ -1,25 +1,32 @@
-# $Id: PKGBUILD 184417 2013-05-06 19:39:02Z foutrelis $
+# $Id: PKGBUILD 188593 2013-06-16 17:21:06Z foutrelis $
# Maintainer:
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Andries Radu <admiral0@live.it>
pkgname=opengtl
pkgver=0.9.18
-pkgrel=2
+pkgrel=3
pkgdesc="A set of libraries 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')
+depends=('gcc-libs' 'llvm-libs')
+makedepends=('cmake' 'libpng' 'llvm')
optdepends=('libpng: for using the png extension')
source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2
+ opengtl-0.9.18-llvm-3.3.patch
opengtl-0.9.18-memcpy.patch)
sha256sums=('f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8'
+ 'c43418bc039660ae86cb86b8b8175342793cb1361c699faa9b6342bc896e3d6c'
'357cc2e538bbaaffe7d58956959d8a7fbae09741d4a87488a5a8c51ec645d23a')
prepare() {
mkdir build
+
+ # Fix build with LLVM 3.3 (patch from Fedora)
+ patch -d OpenGTL-$pkgver -Np1 -i "$srcdir/opengtl-0.9.18-llvm-3.3.patch"
+
+ # Fix build with libpng 1.6
patch -d OpenGTL-$pkgver -Np1 -i "$srcdir/opengtl-0.9.18-memcpy.patch"
}