summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorbartus2019-08-06 14:22:15 +0200
committerbartus2019-08-06 14:22:15 +0200
commitd6996efb09a0c8968022330c3db66ea2067b281f (patch)
treeb24d10348c000c17d28619dbb5106b3ad2666e50 /PKGBUILD
parentb493032db71a88fd6f430549b14684043f182815 (diff)
downloadaur-d6996efb09a0c8968022330c3db66ea2067b281f.tar.gz
Backport OIIO 2 support.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ba019384798..23c6af54457 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
# Maintainer : bartus <arch-user-repoᘓbartus.33mail.com>
pkgname=appleseed
-pkgrel=1
+pkgrel=2
pkgver=2.0.0
_pkgver=${pkgver}-beta
pkgdesc="physically-based global illumination rendering engine primarily designed for animation and visual effects. "
arch=(x86_64)
-url="http://appleseedhq.net"
+url="https://appleseedhq.net"
license=('MIT')
provides=('appleseed')
conflicts=('appleseed-git')
@@ -14,9 +14,11 @@ makedepends=(cmake)
options=()
source=("https://github.com/${pkgname}hq/${pkgname}/archive/${_pkgver}.tar.gz"
dir.patch
+ oiio2.patch
)
md5sums=('25030249df1403daf7b38359b2edf593'
- '3da34be53a016d68ff8abfebaed1dd4e')
+ '3da34be53a016d68ff8abfebaed1dd4e'
+ 'f539c5b703c9a29fbaabaa47fbf3fc63')
CMAKE_FLAGS="-DUSE_EXTERNAL_EXR=ON \
-DUSE_EXTERNAL_OCIO=ON \
@@ -43,7 +45,8 @@ prepare() {
grep -q avx /proc/cpuinfo && CMAKE_FLAGS="${CMAKE_FLAGS} -DUSE_AVX=ON"
grep -q avx2 /proc/cpuinfo && CMAKE_FLAGS="${CMAKE_FLAGS} -DUSE_AVX2=ON"
grep -q sse4_2 /proc/cpuinfo && CMAKE_FLAGS="${CMAKE_FLAGS} -DUSE_SSE42=ON"
- patch -Np1 -i ../dir.patch
+ patch -Np1 -i ${srcdir}/dir.patch
+ patch -Np1 -i ${srcdir}/oiio2.patch
}
build() {
cd ${pkgname}-${_pkgver}