[arch-commits] Commit in openimageio/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Apr 30 13:46:52 UTC 2020


    Date: Thursday, April 30, 2020 @ 13:46:51
  Author: svenstaro
Revision: 623326

archrelease: copy trunk to community-x86_64

Added:
  openimageio/repos/community-x86_64/PKGBUILD
    (from rev 623325, openimageio/trunk/PKGBUILD)
Deleted:
  openimageio/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 40 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-30 13:46:44 UTC (rev 623325)
+++ PKGBUILD	2020-04-30 13:46:51 UTC (rev 623326)
@@ -1,42 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=openimageio
-pkgver=2.1.11.2
-pkgrel=3
-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')
-makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'git' 'freetype2' 'fontconfig' 'libxrender')
-optdepends=('qt5-base: iv image viewer'
-            'python: bindings support')
-source=(git+git://github.com/OpenImageIO/oiio.git#tag=Release-${pkgver})
-md5sums=('SKIP')
-
-prepare() {
-  mkdir oiio/build
-}
-
-build() {
-  cd oiio/build
-
-  cmake .. \
-      -DUSE_PYTHON=ON \
-      -DPYTHON_VERSION=3.8 \
-      -DCMAKE_INSTALL_PREFIX=/usr \
-      -DCMAKE_INSTALL_LIBDIR=lib \
-      -DOIIO_BUILD_TESTS=ON \
-      -DOIIO_BUILD_TOOLS=ON \
-      -DSTOP_ON_WARNING=OFF
-  make
-}
-
-package() {
-  cd oiio/build
-
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 ../LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE".md
-}

Copied: openimageio/repos/community-x86_64/PKGBUILD (from rev 623325, openimageio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-30 13:46:51 UTC (rev 623326)
@@ -0,0 +1,40 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=openimageio
+pkgver=2.1.13.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')
+makedepends=('cmake' 'qt5-base' 'python' 'boost' 'mesa' 'git' 'freetype2' 'fontconfig' 'libxrender' 'ninja')
+optdepends=('qt5-base: iv image viewer'
+            'python: bindings support')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/OpenImageIO/oiio/archive/Release-2.1.13.0.tar.gz")
+sha512sums=('dcf1fe2f62e0e91316799206d66c767a7a727912de74ae9b50128a6b1bcb1bca993fef967f79d6a5a86da8f368e5d1287293864cdfc196bc973a2d6557d65c06')
+
+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 \
+      -DSTOP_ON_WARNING=OFF
+  ninja -C build
+}
+
+package() {
+  cd oiio-Release-$pkgver
+
+  DESTDIR="$pkgdir" ninja -C build install
+
+  install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE".md
+}



More information about the arch-commits mailing list