Date: Saturday, December 10, 2022 @ 06:28:36
Author: svenstaro
Revision: 1357305
archrelease: copy trunk to community-x86_64
Added:
openimageio/repos/community-x86_64/PKGBUILD
(from rev 1357304, openimageio/trunk/PKGBUILD)
Deleted:
openimageio/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-10 06:28:25 UTC (rev 1357304)
+++ PKGBUILD 2022-12-10 06:28:36 UTC (rev 1357305)
@@ -1,47 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=openimageio
-pkgver=2.4.6.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'
- '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' 'fmt')
-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")
-sha512sums=('6e4e5294209c533eb9cf7c8df89b531bc77547df28af0d7964e255ce78142c201d5aa92a1f5f3b17348fdfc7d2a7aa9f2121acdf22fa98a6a872f0d31936bdf5')
-
-build() {
- cd oiio-$pkgver
-
- cmake \
- -Bbuild \
- -GNinja \
- -DUSE_PYTHON=ON \
- -DPYTHON_VERSION=3.10 \
- -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-$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 1357304,
openimageio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-10 06:28:36 UTC (rev 1357305)
@@ -0,0 +1,47 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=openimageio
+pkgver=2.4.6.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'
'libpng' 'libraw' 'libwebp'
+ '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' 'fmt')
+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")
+sha512sums=('b151be99f2124a81f8d7e34d48639f44c6d5bd4e8cdfb2bebce1daa17471bc3337b614539676fb051bd1f3deee833c2372e20622aec798512c10f61e28bf8f0d')
+
+build() {
+ cd oiio-$pkgver
+
+ cmake \
+ -Bbuild \
+ -GNinja \
+ -DUSE_PYTHON=ON \
+ -DPYTHON_VERSION=3.10 \
+ -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-$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
+}