Date: Wednesday, August 4, 2021 @ 21:25:19 Author: svenstaro Revision: 993781
archrelease: copy trunk to community-x86_64 Added: openimageio/repos/community-x86_64/PKGBUILD (from rev 993780, openimageio/trunk/PKGBUILD) Deleted: openimageio/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 47 insertions(+), 53 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-04 21:25:14 UTC (rev 993780) +++ PKGBUILD 2021-08-04 21:25:19 UTC (rev 993781) @@ -1,53 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> -# Contributor: SpepS <dreamspepser at yahoo dot it> - -pkgname=openimageio -pkgver=2.2.15.1 -pkgrel=6 -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' 'libpng' 'libraw' 'libwebp' - 'fmt' 'pugixml' 'pybind11' 'libheif' 'hdf5' 'freetype2') -# TODO: Consider adding these deps: 'openvdb' 'ffmpeg' 'ptex' 'opencv' -makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'fontconfig' 'libxrender' 'ninja' 'robin-map') -optdepends=('qt5-base: iv image viewer' - 'python: bindings support') -source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenImageIO/oiio/archive/Release-$pkgver.tar.gz" - openimageio-imath-3.1.patch::https://github.com/OpenImageIO/oiio/commit/05a5448c.patch) -sha512sums=('c06df310f91938b25f1f66cd98d995dcaba51c6a0041b47882c52f5ad4a098a9016fc99f41de250dd1b1b7af3ad22f6ed63d5e76f95f1f1cf0f45c80eee9c8e0' - 'b79a073667051923caf738c054fee09ac24d251e6834a31e147e0c45753413d07bd795709048709b71a86076c1ea4ba47417513ffcf46454e3fac45fd0a96d65') - -prepare() { - patch -d oiio-Release-$pkgver -p1 < openimageio-imath-3.1.patch # Fix build with imath 3.1 -} - -build() { - cd oiio-Release-$pkgver - - cmake \ - -Bbuild \ - -GNinja \ - -DUSE_PYTHON=ON \ - -DPYTHON_VERSION=3.9 \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DOIIO_BUILD_TESTS=ON \ - -DOIIO_BUILD_TOOLS=ON \ - -DBUILD_MISSING_FMT=OFF \ - -DUSE_EXTERNAL_PUGIXML=ON \ - -DSTOP_ON_WARNING=OFF - ninja -C build -} - -package() { - cd oiio-Release-$pkgver - - DESTDIR="$pkgdir" ninja -C build install - - # Remove vendored fonts - rm -r "$pkgdir"/usr/share/fonts - - install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE".md -} Copied: openimageio/repos/community-x86_64/PKGBUILD (from rev 993780, openimageio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-04 21:25:19 UTC (rev 993781) @@ -0,0 +1,47 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: SpepS <dreamspepser at yahoo dot it> + +pkgname=openimageio +pkgver=2.2.17.0 +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' 'libpng' 'libraw' 'libwebp' + 'fmt' 'pugixml' 'pybind11' 'libheif' 'hdf5' 'freetype2') +# TODO: Consider adding these deps: 'openvdb' 'ffmpeg' 'ptex' 'opencv' +makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'fontconfig' 'libxrender' 'ninja' 'robin-map') +optdepends=('qt5-base: iv image viewer' + 'python: bindings support') +source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenImageIO/oiio/archive/Release-$pkgver.tar.gz") +sha512sums=('f891a7a79124c4844cc59c01d58d3bdeca5b16b5ba3105f42984095c898f85fcf5cc5a5f4a849c32baca242164041b0960e8aa402771039723910440e4eecaf5') + +build() { + cd oiio-Release-$pkgver + + cmake \ + -Bbuild \ + -GNinja \ + -DUSE_PYTHON=ON \ + -DPYTHON_VERSION=3.9 \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DOIIO_BUILD_TESTS=ON \ + -DOIIO_BUILD_TOOLS=ON \ + -DBUILD_MISSING_FMT=OFF \ + -DUSE_EXTERNAL_PUGIXML=ON \ + -DSTOP_ON_WARNING=OFF + ninja -C build +} + +package() { + cd oiio-Release-$pkgver + + DESTDIR="$pkgdir" ninja -C build install + + # Remove vendored fonts + rm -r "$pkgdir"/usr/share/fonts + + install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE".md +}