[arch-commits] Commit in openimageio/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Aug 22 00:02:26 UTC 2020
Date: Saturday, August 22, 2020 @ 00:02:26
Author: svenstaro
Revision: 686554
archrelease: copy trunk to community-x86_64
Added:
openimageio/repos/community-x86_64/PKGBUILD
(from rev 686553, openimageio/trunk/PKGBUILD)
Deleted:
openimageio/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 83 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 43 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-22 00:02:21 UTC (rev 686553)
+++ PKGBUILD 2020-08-22 00:02:26 UTC (rev 686554)
@@ -1,40 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-# Contributor: SpepS <dreamspepser at yahoo dot it>
-
-pkgname=openimageio
-pkgver=2.1.18.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')
-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-$pkgver.tar.gz")
-sha512sums=('4ce0f7f104e391bc20f1491dd5519aecb8044efcd0cacd1c4e941ec1e383276024b4e85c5db8c88d234568a65525beb50bf1fa81feed0dd401cb602eee5c782a')
-
-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
-}
Copied: openimageio/repos/community-x86_64/PKGBUILD (from rev 686553, openimageio/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-22 00:02:26 UTC (rev 686554)
@@ -0,0 +1,43 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+
+pkgname=openimageio
+pkgver=2.1.18.1
+pkgrel=2
+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-$pkgver.tar.gz")
+sha512sums=('4ce0f7f104e391bc20f1491dd5519aecb8044efcd0cacd1c4e941ec1e383276024b4e85c5db8c88d234568a65525beb50bf1fa81feed0dd401cb602eee5c782a')
+
+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
+
+ # 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