summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTércio Martins2021-01-15 20:56:43 -0300
committerTércio Martins2021-01-15 20:56:43 -0300
commit3207a49022479aa0c0108c8b97a60a19ebd42a99 (patch)
tree36522163903b1188e761322f12dfe63c075ddbd2
parentc8def8557868bbd676419561d425e493b6c69fb8 (diff)
downloadaur-3207a49022479aa0c0108c8b97a60a19ebd42a99.tar.gz
Update dependency list
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD22
2 files changed, 14 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 372df8ea8d4..990f83628b0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = openimageio-git
pkgdesc = A library for reading and writing images, including classes, utilities, and applications
- pkgver = spi.Arn3.6.72.1.r1021.gf2d7aaf1
+ pkgver = spi.Arn3.6.72.1.r1065.g6a368f469
pkgrel = 1
url = http://www.openimageio.org/
arch = x86_64
@@ -13,19 +13,14 @@ pkgbase = openimageio-git
makedepends = freetype2
makedepends = fontconfig
makedepends = libxrender
- makedepends = ninja
makedepends = robin-map
- depends = openexr
depends = boost-libs
- depends = openjpeg2
- depends = glew
- depends = libtiff
- depends = opencolorio-git
+ depends = fmt
depends = intel-tbb
- depends = libpng
+ depends = opencolorio-git
+ depends = openjpeg2
depends = libraw
depends = libwebp
- depends = fmt
depends = pugixml
depends = pybind11
optdepends = qt5-base: iv image viewer
diff --git a/PKGBUILD b/PKGBUILD
index 0b2bd576258..5970eda7543 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,15 @@
# Contributor: SpepS <dreamspepser at yahoo dot it>
pkgname=openimageio-git
-pkgver=spi.Arn3.6.72.1.r1021.gf2d7aaf1
+pkgver=spi.Arn3.6.72.1.r1065.g6a368f469
pkgrel=1
pkgdesc="A library for reading and writing images, including classes, utilities, and applications"
arch=(x86_64)
url="http://www.openimageio.org/"
license=('custom')
-depends=('openexr' 'boost-libs' 'openjpeg2' 'glew' 'libtiff' 'opencolorio-git' 'intel-tbb' 'libpng' 'libraw' 'libwebp'
- 'fmt' 'pugixml' 'pybind11')
+depends=('boost-libs' 'fmt' 'intel-tbb' 'opencolorio-git' 'openjpeg2' 'libraw' 'libwebp' 'pugixml' 'pybind11')
# TODO: Consider adding these deps: 'openvdb' 'ffmpeg' 'ptex' 'libheif' 'hdf5' 'opencv'
-makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'freetype2' 'fontconfig' 'libxrender' 'ninja' 'robin-map')
+makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'freetype2' 'fontconfig' 'libxrender' 'robin-map')
optdepends=('qt5-base: iv image viewer'
'python: bindings support')
provides=('openimageio')
@@ -29,26 +28,25 @@ build() {
cmake \
-Bbuild \
- -GNinja \
- -DUSE_PYTHON=ON \
- -DPYTHON_VERSION=3 \
+ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
- -DOIIO_BUILD_TESTS=ON \
+ -DUSE_PYTHON=ON \
+ -DPYTHON_VERSION=3 \
-DOIIO_BUILD_TOOLS=ON \
-DBUILD_MISSING_FMT=OFF \
-DUSE_EXTERNAL_PUGIXML=ON \
-DSTOP_ON_WARNING=OFF
- ninja -C build
+ cmake --build build/
}
package() {
- cd oiio
+ cd oiio/build
- DESTDIR="$pkgdir" ninja -C build install
+ make DESTDIR="$pkgdir" install
# Remove vendored fonts
rm -r "$pkgdir"/usr/share/fonts
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE".md
+ install -Dm644 ../LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE".md
}