extra/opensubdiv to 3.6.0-1

This commit is contained in:
Kevin Mihelich 2024-02-16 14:00:28 +00:00
parent a8db271355
commit 676fd2d1b8
2 changed files with 36 additions and 15 deletions

32
extra/opensubdiv/.SRCINFO Normal file
View file

@ -0,0 +1,32 @@
pkgbase = opensubdiv
pkgdesc = An Open-Source subdivision surface library
pkgver = 3.6.0
pkgrel = 1
url = http://graphics.pixar.com/opensubdiv
arch = x86_64
license = APACHE
makedepends = cmake
makedepends = doxygen
makedepends = glfw
makedepends = glew
makedepends = python
makedepends = python-pygments
makedepends = python-docutils
makedepends = opencl-headers
makedepends = cuda
makedepends = libglvnd
depends = ptex
depends = intel-tbb
depends = libxcursor
depends = xorg-xrandr
depends = libxinerama
depends = libxi
options = !lto
source = https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v3_6_0.tar.gz
source = cuda11.patch
source = opensubdiv-tbb2021.patch::https://github.com/PixarAnimationStudios/OpenSubdiv/commit/9079a517.patch
sha512sums = a976733a26e2c0f6510f59d4372b1b33f5404a9d536bcbd6ae3a1a0ffd1bba5495df7108bebc854d5c069575772c97c0d00f0f16f79e87611376ba84e9ae7a4b
sha512sums = 9006762976c15a57d30607189d52d0e620b5024da478dcd41a79a88b350740144a88c1a4f455bfb1b79a9f605e0587c1c828a9b0813301acec8bbb516c2bb292
sha512sums = dc21ef5632b81a01de33931cece59c34d078be358720dd9cbcfe1a06961a45b2c859efc55117ca309f8d74ec56202746085a7b74df356df2c712edfb451743df
pkgname = opensubdiv

View file

@ -4,29 +4,18 @@
# - remove makedepend on cuda
pkgname=opensubdiv
pkgver=3.5.0
pkgrel=2
pkgver=3.6.0
pkgrel=1
pkgdesc="An Open-Source subdivision surface library"
arch=(x86_64)
url="http://graphics.pixar.com/opensubdiv"
license=('APACHE')
depends=('ptex' 'intel-tbb' 'libxcursor' 'xorg-xrandr' 'libxinerama' 'libxi')
makedepends=('cmake' 'doxygen' 'glfw' 'glew' 'python' 'python-pygments' 'python-docutils' 'opencl-headers' 'libglvnd')
source=("https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${pkgver//./_}.tar.gz"
cuda11.patch
opensubdiv-tbb2021.patch::https://github.com/PixarAnimationStudios/OpenSubdiv/commit/9079a517.patch)
sha512sums=('7ede8f3f335a6306486d649199117401ab4285d360a3b53a536f25046d94741b5e7eacbc06a55d8a0bd5798c810c1b3cfd7964859f04f95363ad26411310b320'
'9006762976c15a57d30607189d52d0e620b5024da478dcd41a79a88b350740144a88c1a4f455bfb1b79a9f605e0587c1c828a9b0813301acec8bbb516c2bb292'
'c65770d3e65a63c88aa1061e10c5dd6be8616a2479bd5f6d3928c97a5895cfa7d0aac455121db7ee610b9731bfbf07c3f8a26e9cd47623cd1baa046d9aa68cdf')
source=("https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${pkgver//./_}.tar.gz")
sha512sums=('a976733a26e2c0f6510f59d4372b1b33f5404a9d536bcbd6ae3a1a0ffd1bba5495df7108bebc854d5c069575772c97c0d00f0f16f79e87611376ba84e9ae7a4b')
options=(!lto)
prepare() {
cd "OpenSubdiv-${pkgver//./_}"
patch -Np1 -i "${srcdir}"/cuda11.patch
patch -Np1 -i "${srcdir}"/opensubdiv-tbb2021.patch # Support TBB 2021
}
build() {
cd "OpenSubdiv-${pkgver//./_}"