summaryrefslogtreecommitdiff
path: root/community-testing/openimageio
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-25 01:42:20 -0700
committerroot <root@rshg054.dnsready.net>2012-10-25 01:42:20 -0700
commita3b55a0c47a00ac40bc00a4ce87d93f809273840 (patch)
tree6fcc1360f835115b132c35ca978b1f804540a372 /community-testing/openimageio
parent120df4e0db159525806a9b33364483e76f9d51d3 (diff)
Thu Oct 25 01:42:05 PDT 2012
Diffstat (limited to 'community-testing/openimageio')
-rw-r--r--community-testing/openimageio/PKGBUILD12
1 files changed, 5 insertions, 7 deletions
diff --git a/community-testing/openimageio/PKGBUILD b/community-testing/openimageio/PKGBUILD
index b62f5f71f..3f19c52e5 100644
--- a/community-testing/openimageio/PKGBUILD
+++ b/community-testing/openimageio/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 77494 2012-10-11 11:31:19Z svenstaro $
+# $Id: PKGBUILD 78811 2012-10-25 01:48:03Z ebelanger $
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
pkgname=openimageio
pkgver=1.0.9
-pkgrel=1
+pkgrel=4
pkgdesc="A library for reading and writing images, including classes, utilities, and applications."
arch=(i686 x86_64)
url="http://www.openimageio.org/"
license=('custom')
depends=('openexr' 'boost-libs' 'jasper' 'glew')
-makedepends=('cmake' 'qt' 'python2' 'boost')
+makedepends=('cmake' 'qt' 'python2' 'boost' 'mesa')
optdepends=('qt: iv image viewer'
'python2: bindings support')
source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver)
@@ -21,16 +21,14 @@ build() {
[[ -d build ]] && rm -r build
mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ cmake -DCMAKE_INSTALL_PREFIX=/usr -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages ..
make
}
package() {
cd "$srcdir"/$_pkgname*/src/build
- make DESTDIR=$pkgdir install
-
- mv $pkgdir/usr/lib/python $pkgdir/usr/lib/python2.7
+ make DESTDIR="$pkgdir" install
# license
cd ../..