extra/openimageio to 2.4.17.0-1

This commit is contained in:
Kevin Mihelich 2023-11-24 01:13:14 +00:00
parent abc097747f
commit 3f9cd57733
2 changed files with 42 additions and 5 deletions
extra/openimageio

View file

@ -0,0 +1,37 @@
pkgbase = openimageio
pkgdesc = A library for reading and writing images, including classes, utilities, and applications
pkgver = 2.4.17.0
pkgrel = 1
url = http://www.openimageio.org/
arch = x86_64
license = custom
makedepends = cmake
makedepends = qt5-base
makedepends = python
makedepends = boost
makedepends = mesa
makedepends = fontconfig
makedepends = libxrender
makedepends = ninja
makedepends = robin-map
makedepends = fmt
depends = openexr
depends = boost-libs
depends = openjpeg2
depends = glew
depends = libtiff
depends = opencolorio
depends = libpng
depends = libraw
depends = libwebp
depends = pugixml
depends = pybind11
depends = libheif
depends = hdf5
depends = freetype2
optdepends = qt5-base: iv image viewer
optdepends = python: bindings support
source = openimageio-2.4.17.0.tar.gz::https://github.com/OpenImageIO/oiio/archive/refs/tags/v2.4.17.0.tar.gz
sha512sums = a00b2836929cc0014fd2a9feb7abd2bf3a87ecce8959056f7d0641e79a9b21b8cfa13930d933ccd82912d4923794bacbde77b16913374d171d9b7b2cc0697b4a
pkgname = openimageio

View file

@ -6,7 +6,7 @@
# - disable lto via -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF
pkgname=openimageio
pkgver=2.4.15.0
pkgver=2.4.17.0
pkgrel=1
pkgdesc="A library for reading and writing images, including classes, utilities, and applications"
arch=('x86_64')
@ -20,16 +20,16 @@ optdepends=('qt5-base: iv image viewer'
'python: bindings support')
source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenImageIO/oiio/archive/refs/tags/v$pkgver.tar.gz"
'0001-disable-neon.patch')
sha512sums=('75b18d6f719797343c1b85a8441973f831b29bd4193c1c03ebb084f5e16389719c4df6c74352c06aa12975d321171e0da00dad2afb0e35ea50bcc8690c542d09'
sha512sums=('a00b2836929cc0014fd2a9feb7abd2bf3a87ecce8959056f7d0641e79a9b21b8cfa13930d933ccd82912d4923794bacbde77b16913374d171d9b7b2cc0697b4a'
'5cc9073dfdc735aab5b5e880b101b5c0e3469c3f290cda3b031f21b65fc28a5af567c09d005cb5008e4cdaeb84ec2c0ef33996471e85af295ff36e08c6638d9b')
prepare() {
cd oiio-$pkgver
cd OpenImageIO-$pkgver
patch -p1 -i ../0001-disable-neon.patch
}
build() {
cd oiio-$pkgver
cd OpenImageIO-$pkgver
local python_version=$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')
cmake \
@ -49,7 +49,7 @@ build() {
}
package() {
cd oiio-$pkgver
cd OpenImageIO-$pkgver
DESTDIR="$pkgdir" ninja -C build install