Date: Saturday, June 5, 2021 @ 12:34:54 Author: svenstaro Revision: 956050
archrelease: copy trunk to community-x86_64 Added: openimageio/repos/community-x86_64/PKGBUILD (from rev 956049, openimageio/trunk/PKGBUILD) Deleted: openimageio/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-05 12:34:49 UTC (rev 956049) +++ PKGBUILD 2021-06-05 12:34:54 UTC (rev 956050) @@ -1,47 +0,0 @@ -# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> -# Contributor: SpepS <dreamspepser at yahoo dot it> - -pkgname=openimageio -pkgver=2.2.14.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' 'opencolorio1' 'intel-tbb' 'libpng' 'libraw' 'libwebp' - 'fmt' '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') -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=('063291c0bd742b79a7b6065a41856b84732af2e2e404265262aa9ba91d07209fb308ecf0403a139d7021b8062f9c3e1b92a725a7cad091af1bcf45499ae47a82') - -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 956049, openimageio/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-05 12:34:54 UTC (rev 956050) @@ -0,0 +1,47 @@ +# Maintainer: Sven-Hendrik Haase <svenst...@gmail.com> +# Contributor: SpepS <dreamspepser at yahoo dot it> + +pkgname=openimageio +pkgver=2.2.15.1 +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' 'intel-tbb' 'libpng' 'libraw' 'libwebp' + 'fmt' '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') +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=('c06df310f91938b25f1f66cd98d995dcaba51c6a0041b47882c52f5ad4a098a9016fc99f41de250dd1b1b7af3ad22f6ed63d5e76f95f1f1cf0f45c80eee9c8e0') + +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 +}