summaryrefslogtreecommitdiff
path: root/libre/openimageio-parabola/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-02 23:28:39 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-02 23:28:39 -0300
commit10abf269ca1c3eda8334e515cc7d3f0f92c999dd (patch)
treeb2db6e6c0f65d5f7473abc2eff4a07cd1c054465 /libre/openimageio-parabola/PKGBUILD
parent7972ec1e5dfb7c2cbbfff2ffe51026003fdd331f (diff)
rename openimageio-parabola to openimageio
Diffstat (limited to 'libre/openimageio-parabola/PKGBUILD')
-rw-r--r--libre/openimageio-parabola/PKGBUILD70
1 files changed, 0 insertions, 70 deletions
diff --git a/libre/openimageio-parabola/PKGBUILD b/libre/openimageio-parabola/PKGBUILD
deleted file mode 100644
index ad8104e89..000000000
--- a/libre/openimageio-parabola/PKGBUILD
+++ /dev/null
@@ -1,70 +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
-pkgname=$_pkgname-parabola
-pkgver=1.4.12
-pkgrel=3.2
-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' 'freetype2' 'glew' 'libtiff' 'libwebp' 'openjpeg' '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
-
- 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
-
- # gif lts
- sed -i 's|gif_lib[.]h|gif_lib-lts.h|
- ' 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
- cd ..
- install -Dm644 LICENSE $pkgdir/usr/share/licenses/$_pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et: