[arch-commits] Commit in openimageio/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Oct 1 15:07:28 UTC 2020
Date: Thursday, October 1, 2020 @ 15:07:20
Author: svenstaro
Revision: 714197
archrelease: copy trunk to community-x86_64
Added:
openimageio/repos/community-x86_64/PKGBUILD
(from rev 714196, openimageio/trunk/PKGBUILD)
Deleted:
openimageio/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 47 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-01 15:05:22 UTC (rev 714196)
+++ PKGBUILD 2020-10-01 15:07:20 UTC (rev 714197)
@@ -1,55 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=openimageio
-pkgver=2.2.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' '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"
- https://patch-diff.githubusercontent.com/raw/OpenImageIO/oiio/pull/2698.patch)
-sha512sums=('a23fa75d5de589ce6f73ff17870cd1df764bb92a0dbc32b36d0e799b30705e1f174e0763150d27611c0efa07a21cb7636508e3135942ee7c56d0d59940d3a053'
- 'c42c5a0098a39072c6b32dbdcc8752e697cbf9d41e5d94b343dd4484e747c88a0682a4138a5463e1412929bc1586c148e543776228227f9f1de6ab3b6ab14912')
-
-prepare() {
- cd oiio-Release-$pkgver
-
- patch -Np1 -i "$srcdir"/2698.patch
-}
-
-build() {
- cd oiio-Release-$pkgver
-
- cmake \
- -Bbuild \
- -GNinja \
- -DUSE_PYTHON=ON \
- -DPYTHON_VERSION=3.8 \
- -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 714196, openimageio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-01 15:07:20 UTC (rev 714197)
@@ -0,0 +1,47 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=openimageio
+pkgver=2.2.7.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' '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=('a36ffcf150cb1134aea33ec3e7ee2113c9df48c6860812a9e5ca519400211ba0fa5732153226f7e80cc20c2553834bd425adb93cdebbd5354612752f46ebc8e0')
+
+build() {
+ cd oiio-Release-$pkgver
+
+ cmake \
+ -Bbuild \
+ -GNinja \
+ -DUSE_PYTHON=ON \
+ -DPYTHON_VERSION=3.8 \
+ -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
+}
More information about the arch-commits
mailing list