[arch-commits] Commit in openimageio/repos (2 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sun Jan 15 23:32:37 UTC 2017
Date: Sunday, January 15, 2017 @ 23:32:37
Author: svenstaro
Revision: 207522
archrelease: copy trunk to community-staging-i686
Added:
openimageio/repos/community-staging-i686/
openimageio/repos/community-staging-i686/PKGBUILD
(from rev 207521, openimageio/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: openimageio/repos/community-staging-i686/PKGBUILD (from rev 207521, openimageio/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-01-15 23:32:37 UTC (rev 207522)
@@ -0,0 +1,45 @@
+# $Id$
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+
+pkgname=openimageio
+pkgver=1.7.10
+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' 'libtiff' 'opencolorio' 'intel-tbb' 'openssl')
+makedepends=('cmake' 'qt4' 'python2' 'boost' 'mesa' 'git')
+optdepends=('qt4: iv image viewer'
+ 'python2: bindings support')
+source=(git+git://github.com/OpenImageIO/oiio.git#tag=Release-${pkgver})
+md5sums=('SKIP')
+
+build() {
+ cd oiio
+
+ [[ -d build ]] && rm -r build
+ mkdir build && cd build
+
+ # Python is currently broken :(
+ cmake .. \
+ -DUSE_PYTHON=ON \
+ -DUSE_PYTHON3=ON \
+ -DUSE_OPENSSL=ON \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \
+ -DOIIO_BUILD_TESTS=ON \
+ -DOIIO_BUILD_TOOLS=ON
+ make
+}
+
+package() {
+ cd oiio/build
+
+ make DESTDIR="$pkgdir" install
+
+ # license
+ cd ..
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list