diff options
author | root <root@rshg054.dnsready.net> | 2012-07-17 00:01:52 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-17 00:01:52 +0000 |
commit | 412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (patch) | |
tree | ee137173c889a2b7279200c20b168f9d9b9fdd64 /community-testing/openimageio | |
parent | 50a1eb604b2d5503a06d56b76347faa581160245 (diff) |
Tue Jul 17 00:01:52 UTC 2012
Diffstat (limited to 'community-testing/openimageio')
-rw-r--r-- | community-testing/openimageio/PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community-testing/openimageio/PKGBUILD b/community-testing/openimageio/PKGBUILD new file mode 100644 index 000000000..5a2e49e6a --- /dev/null +++ b/community-testing/openimageio/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 73765 2012-07-15 13:19:33Z ibiru $ +# Contributor: SpepS <dreamspepser at yahoo dot it> +# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> + +pkgname=openimageio +pkgver=1.0.6 +pkgrel=1 +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') +optdepends=('qt: iv image viewer' + 'python2: bindings support') +source=(https://github.com/OpenImageIO/oiio/tarball/Release-$pkgver) +md5sums=('fa6e3f4be98d8e1868b389410b56563a') + +build() { + cd "$srcdir"/$_pkgname*/src + + [[ -d build ]] && rm -r build + mkdir build && cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. + make +} + +package() { + cd "$srcdir"/$_pkgname*/src/build + + make DESTDIR=$pkgdir install + + mv $pkgdir/usr/lib/python $pkgdir/usr/lib/python2.7 + + # license + cd ../.. + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |