diff options
author | bartus | 2021-02-15 21:59:40 +0100 |
---|---|---|
committer | bartus | 2021-02-15 21:59:40 +0100 |
commit | 794e5e19acff7aa6c669bb0ea62099ee0e1dfd9c (patch) | |
tree | 463293fdbb9802cfc627be4fb77a37f056bb8b0a | |
download | aur-794e5e19acff7aa6c669bb0ea62099ee0e1dfd9c.tar.gz |
Init
-rw-r--r-- | .SRCINFO | 37 | ||||
-rw-r--r-- | PKGBUILD | 47 |
2 files changed, 84 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..90146e6a7da4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,37 @@ +pkgbase = openimageio-qfix + pkgdesc = A library for reading and writing images, including classes, utilities, and applications (build agaist opencolorio=2 + pkgver = 2.2.11.1 + pkgrel = 1 + url = http://www.openimageio.org/ + arch = x86_64 + license = custom + makedepends = cmake + makedepends = qt5-base + makedepends = python + makedepends = boost + makedepends = mesa + makedepends = freetype2 + makedepends = fontconfig + makedepends = libxrender + makedepends = ninja + makedepends = robin-map + depends = openexr + depends = boost-libs + depends = openjpeg2 + depends = glew + depends = libtiff + depends = opencolorio + depends = intel-tbb + depends = libpng + depends = libraw + depends = libwebp + depends = fmt + depends = pugixml + depends = pybind11 + optdepends = qt5-base: iv image viewer + optdepends = python: bindings support + source = openimageio-qfix-2.2.11.1.tar.gz::https://github.com/OpenImageIO/oiio/archive/Release-2.2.11.1.tar.gz + sha512sums = 73809587dd405e64e593d6223ef37d4b94c4f1e1d9682fd1bf09e8e4ee8bc9928ed500b7dcc03036e138e45e65ea1f43c11c53d1cb6436a34eb8d15b2415ada5 + +pkgname = openimageio-qfix + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3b7ff747b7a9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Sven-Hendrik Haase <svenstaro@gmail.com> +# Contributor: SpepS <dreamspepser at yahoo dot it> + +pkgname=openimageio-qfix +pkgver=2.2.11.1 +pkgrel=1 +pkgdesc="A library for reading and writing images, including classes, utilities, and applications (build agaist opencolorio=2" +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=('73809587dd405e64e593d6223ef37d4b94c4f1e1d9682fd1bf09e8e4ee8bc9928ed500b7dcc03036e138e45e65ea1f43c11c53d1cb6436a34eb8d15b2415ada5') + +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 +} |