summaryrefslogtreecommitdiff
path: root/libre/openimageio/PKGBUILD
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2014-10-06 12:17:47 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2014-10-06 12:17:47 -0300
commit1773a1f57661e88602bfd0b458fa13a069fc1ffb (patch)
treecb5ac417a4e7f3665777b15a7386cfac68a4953d /libre/openimageio/PKGBUILD
parentf92a59b9a149b056da22a7e44117dd3fd5e2ef25 (diff)
parenta9d59dc497435e8c04dc1c0210268dcf85062b03 (diff)
downloadabslibre-1773a1f57661e88602bfd0b458fa13a069fc1ffb.tar.gz
abslibre-1773a1f57661e88602bfd0b458fa13a069fc1ffb.tar.bz2
abslibre-1773a1f57661e88602bfd0b458fa13a069fc1ffb.zip
Merge branch 'master' of git://projects.parabola.nu/abslibre
Diffstat (limited to 'libre/openimageio/PKGBUILD')
-rw-r--r--libre/openimageio/PKGBUILD66
1 files changed, 0 insertions, 66 deletions
diff --git a/libre/openimageio/PKGBUILD b/libre/openimageio/PKGBUILD
deleted file mode 100644
index 24a5b5990..000000000
--- a/libre/openimageio/PKGBUILD
+++ /dev/null
@@ -1,66 +0,0 @@
-# Contributor (Arch): SpepS <dreamspepser at yahoo dot it>
-# Maintainer (Arch): Sven-Hendrik Haase <sh@lutzhaase.com>
-# Maintainer: Márcio Silva <coadde@parabola.nu>
-
-pkgname=openimageio
-pkgver=1.4.12
-pkgrel=3.parabola3
-pkgdesc='A library for reading and writing images, including classes, utilities, and applications (built for the blender package)'
-arch=('i686' 'x86_64' 'mips64el')
-url="http://www.$pkgname.org/"
-license=('custom')
-depends=('boost-libs' 'freetype2' 'glew' 'libtiff' 'libwebp' 'opencolorio' 'openjpeg' 'openexr')
-makedepends=('boost' 'cmake' 'git' 'python2' 'qt4')
-optdepends=('qt4: iv image viewer'
- 'python2: bindings support')
-conflicts=("$pkgname-parabola")
-replaces=("$pkgname-parabola")
-source=("git://github.com/OpenImageIO/oiio.git#tag=Release-$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cd oiio
-
- msg 'renaming wrong OS name'
- _OS=$(uname -o)
- [[ $_OS == GNU ]] &&\
- sed -i 's|linux|GNU|i;
- ' src/{cmake/platform.cmake,make/detectplatform.mk}
- [[ $_OS == GNU/Linux ]] &&\
- sed -i 's|[{]uname[}][,]linux]|{uname -o},GNU/Linux|;\|platform| s|linux|GNU/Linux|i
- ' src/{cmake/platform.cmake,make/detectplatform.mk}
- [[ $_OS == GNU/kFreeBSD ]] &&\
- sed -i '\|STREQUAL| s|FreeBSD|kFreeBSD|;\|platform| s|freebsd|GNU/kFreeBSD|i
- ' src/cmake/platform.cmake
- sed -i 's|[{]uname[}][,]linux]|{uname -o},GNU/kFreeBSD|;\|platform| s|linux|GNU/kFreeBSD|i
- ' src/make/detectplatform.mk
-
- # fix for giflib 5.1.x
- sed -i 's|DGifCloseFile [(]m_gif_file[)] == GIF_ERROR|DGifCloseFile (m_gif_file, 0) == GIF_ERROR|' src/gif.imageio/gifinput.cpp
-}
-
-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
- make
-}
-
-package() {
- cd oiio/build
-
- make DESTDIR=$pkgdir install
-
- # license
- install -Dm644 ../LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et: