diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-26 03:55:24 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-26 03:55:24 -0300 |
commit | 0284a7df273200d9461be031f7b03f72d70a306b (patch) | |
tree | 4b15e091042719da56291891a692c0989dcb2098 /libre/openimageio-parabola/PKGBUILD | |
parent | d3ee3f303722461f40efc017ac5b9653b807d41d (diff) | |
download | abslibre-0284a7df273200d9461be031f7b03f72d70a306b.tar.gz abslibre-0284a7df273200d9461be031f7b03f72d70a306b.tar.bz2 abslibre-0284a7df273200d9461be031f7b03f72d70a306b.zip |
openimageio-parabola: update pkg
Diffstat (limited to 'libre/openimageio-parabola/PKGBUILD')
-rw-r--r-- | libre/openimageio-parabola/PKGBUILD | 89 |
1 files changed, 36 insertions, 53 deletions
diff --git a/libre/openimageio-parabola/PKGBUILD b/libre/openimageio-parabola/PKGBUILD index e37ddf713..dff92555b 100644 --- a/libre/openimageio-parabola/PKGBUILD +++ b/libre/openimageio-parabola/PKGBUILD @@ -1,47 +1,27 @@ +# Contributor (Arch): SpepS <dreamspepser at yahoo dot it> +# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com> # Maintainer: Márcio Silva <coadde@parabola.nu> -# based of Arch pkg -pkgname=openimageio -pkgver=1.4.10 -pkgrel=1 -pkgdesc='A library for reading and writing images, including classes, utilities, and applications (built for the blender-libre package)' -arch=( - x86_64 - i686 -) -url=http://www.openimageio.org/ -license=custom -depends=( - boost-libs - freetype2 - giflib-lts - glew - libjpeg-turbo - libpng - libtiff - libwebp - opencolorio - openexr - openjpeg - openssl - zlib -) -makedepends=( - git - boost - cmake - python2 - qt4 -) -optdepends=( - 'qt4: iv image viewer' - 'python2: bindings support' -) -source=https://github.com/OpenImageIO/oiio/archive/Release-$pkgver.tar.gz -sha512sums=9565544f20aac2dd0dd9940f9a615899255cf0a6a242a7ece6eeb4f509f60b0f48d3a837da5b758ab31fcec525c59a1950d2c9b7b50d05ba84cda4214c24765e +_pkgname=openimageio +pkgname=$_pkgname-parabola +pkgver=1.4.12 +pkgrel=3 +pkgdesc='A library for reading and writing images, including classes, utilities, and applications (built for the blender-parabola package)' +arch=('i686' 'x86_64' 'mips64el') +url="http://www.$_pkgname.org/" +license=('custom') +depends=('boost-libs' 'glew' 'libtiff' 'libwebp' 'opencolorio' 'openexr' 'giflib-lts') # add giflib-lts to build pkg +makedepends=('boost' 'cmake' 'git' 'python2' 'qt4') +optdepends=('qt4: iv image viewer' + 'python2: bindings support') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") +replaces=("$_pkgname") +source=("git+git://github.com/OpenImageIO/oiio.git#tag=Release-$pkgver") +md5sums=('SKIP') prepare() { - cd oiio-Release-$pkgver + cd oiio msg 'renaming wrong OS name' _OS=$(uname -o) @@ -60,28 +40,31 @@ prepare() { # gif lts sed -i 's|gif_lib[.]h|gif_lib-lts.h| ' src/gif.imageio/gifinput.cpp - - [[ -d build ]] && rm -r build - mkdir build } build() { - cd oiio-Release-$pkgver/build + cd oiio + + [[ -d build ]] && rm -r build + mkdir build && cd build + cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr\ - -DOIIO_BUILD_TESTS=OFF\ - -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages\ - -DPYLIB_INCLUDE_SONAME=ON\ - -DPYLIB_LIB_PREFIX=OFF\ - -DUSE_EXTERNAL_TBB=OFF + -DCMAKE_INSTALL_PREFIX=/usr \ + -DOIIO_BUILD_TESTS=OFF \ + -DPYLIB_INSTALL_DIR=lib/python2.7/site-packages \ + -DPYLIB_INCLUDE_SONAME=ON \ + -DPYLIB_LIB_PREFIX=OFF make } package() { - cd oiio-Release-$pkgver/build - #cd oiio/build + cd oiio/build + make DESTDIR=$pkgdir install - install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # license + cd .. + install -Dm644 LICENSE $pkgdir/usr/share/licenses/$_pkgname/LICENSE } # vim:set ts=2 sw=2 et: |