summaryrefslogtreecommitdiff
path: root/extra/opengtl/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/opengtl/PKGBUILD')
-rw-r--r--extra/opengtl/PKGBUILD19
1 files changed, 12 insertions, 7 deletions
diff --git a/extra/opengtl/PKGBUILD b/extra/opengtl/PKGBUILD
index f42151c26..17a5926d3 100644
--- a/extra/opengtl/PKGBUILD
+++ b/extra/opengtl/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 183549 2013-04-23 00:30:16Z eric $
+# $Id: PKGBUILD 184417 2013-05-06 19:39:02Z foutrelis $
# Maintainer:
# Contributor: Ronald van Haren <ronald.archlinux.org>
# Contributor: Andries Radu <admiral0@live.it>
pkgname=opengtl
pkgver=0.9.18
-pkgrel=1
+pkgrel=2
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' 'mips64el')
@@ -13,13 +13,18 @@ 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)
-sha256sums=('f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8')
+source=(http://download.opengtl.org/OpenGTL-$pkgver.tar.bz2
+ opengtl-0.9.18-memcpy.patch)
+sha256sums=('f094b3d2a1a60519975bb3badc05e704f2b93c7a3d2cb753041f2ff27cfcd9f8'
+ '357cc2e538bbaaffe7d58956959d8a7fbae09741d4a87488a5a8c51ec645d23a')
-build() {
- cd "$srcdir"
+prepare() {
mkdir build
- cd build
+ patch -d OpenGTL-$pkgver -Np1 -i "$srcdir/opengtl-0.9.18-memcpy.patch"
+}
+
+build() {
+ cd "$srcdir/build"
cmake ../OpenGTL-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \