mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
46 lines
1.4 KiB
Bash
46 lines
1.4 KiB
Bash
|
# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com>
|
||
|
# Contributor: Dumitru Ursu <dima@ceata.org>
|
||
|
|
||
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||
|
# - patch to fix 32-bit ARM FTBFS
|
||
|
|
||
|
pkgname=opencolorio
|
||
|
pkgver=2.0.0
|
||
|
pkgrel=1
|
||
|
pkgdesc="A color management framework for visual effects and animation"
|
||
|
arch=('x86_64')
|
||
|
url="https://opencolorio.org"
|
||
|
license=('BSD')
|
||
|
depends=('freeglut' 'glew' 'lcms2' 'tinyxml' 'yaml-cpp' 'openexr' 'pystring')
|
||
|
makedepends=('boost' 'cmake' 'python' 'pybind11' 'ninja')
|
||
|
optdepends=('python: python bindings')
|
||
|
source=($pkgname-$pkgver.tar.gz::https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v$pkgver.tar.gz
|
||
|
0001-remove-duplicate-ProcessorCache-declaration.patch)
|
||
|
sha512sums=('7110a1a30a5fa64b81d7fc5e33234673aaddbad5e19ce7f21436c590edd7d2ce767650c9a934011a96e53132c030bd0b654fcf93ad79c1bfc8c050762c57f6d0'
|
||
|
'204c51ebf446e5fe83a9fa094b6037f1a5c0bb5240395176bed52f6b9f3082c3df13a4dc2589a924e1084ceea0692af9dd95a01d9461cd7d3bff511c66aba648')
|
||
|
|
||
|
prepare() {
|
||
|
cd OpenColorIO-$pkgver
|
||
|
patch -p1 -i ../0001-remove-duplicate-ProcessorCache-declaration.patch
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd OpenColorIO-$pkgver
|
||
|
|
||
|
cmake \
|
||
|
-GNinja \
|
||
|
-Bbuild \
|
||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||
|
-DCMAKE_INSTALL_LIBDIR=lib
|
||
|
ninja -C build
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd OpenColorIO-$pkgver
|
||
|
|
||
|
DESTDIR="$pkgdir" ninja -C build install
|
||
|
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||
|
}
|
||
|
|
||
|
# vim:set ts=2 sw=2 et:
|