From 48e19c7537fa5979d0ea2a46aebf09f273ff3a9a Mon Sep 17 00:00:00 2001 From: Rmys Date: Tue, 26 Oct 2021 21:59:44 +0300 Subject: [PATCH] openexr ver. bump --- multimedia/misc/openexr/actions.py | 25 +++++++++++++------------ multimedia/misc/openexr/pspec.xml | 24 ++++++++++++++++-------- 2 files changed, 29 insertions(+), 20 deletions(-) diff --git a/multimedia/misc/openexr/actions.py b/multimedia/misc/openexr/actions.py index 7bba39dd7c..81b0a25e2c 100644 --- a/multimedia/misc/openexr/actions.py +++ b/multimedia/misc/openexr/actions.py @@ -7,29 +7,30 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools +from pisi.actionsapi import cmaketools from pisi.actionsapi import get def setup(): - pisitools.flags.add("-pthread -I/usr/include/OpenEXR -I/usr/include/libdrm") - pisitools.ldflags.add("-lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread") + #pisitools.flags.add("-pthread -I/usr/include/OpenEXR -I/usr/include/libdrm") + #pisitools.ldflags.add("-lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread") + shelltools.makedirs("build") + + shelltools.cd("build") + cmaketools.configure(sourceDir="..") - shelltools.cd("OpenEXR") - shelltools.system("./bootstrap") - autotools.configure("--enable-shared \ - --disable-static") - - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") def build(): - shelltools.cd("OpenEXR") - autotools.make() + shelltools.cd("build") + cmaketools.make() def install(): - shelltools.cd("OpenEXR") + shelltools.cd("build") + #shelltools.cd("OpenEXR") # documents and examples go to "/usr/share/OpenEXR" without these parameters docdir = "/usr/share/doc/%s" % get.srcNAME() examplesdir = "%s/examples" % docdir - autotools.rawInstall("DESTDIR=%s docdir=%s examplesdir=%s" % (get.installDIR(), docdir, examplesdir)) + cmaketools.rawInstall("DESTDIR=%s docdir=%s examplesdir=%s" % (get.installDIR(), docdir, examplesdir)) + #autotools.rawInstall("DESTDIR=%s docdir=%s examplesdir=%s" % (get.installDIR(), docdir, examplesdir)) shelltools.cd("..") pisitools.dodoc("README*","LICENSE*") diff --git a/multimedia/misc/openexr/pspec.xml b/multimedia/misc/openexr/pspec.xml index 2865729b88..df5c4ea5f0 100644 --- a/multimedia/misc/openexr/pspec.xml +++ b/multimedia/misc/openexr/pspec.xml @@ -13,9 +13,9 @@ library A high dynamic-range (HDR) image file format library OpenEXR is a high dynamic-range (HDR) image file format for use in computer imaging applications. OpenEXR's features include: Higher dynamic range and color precision than existing 8- and 10-bit image file formats; support for 16-bit floating-point, 32-bit floating-point, and 32-bit integer pixels; multiple lossless image compression algorithms; extensibility. - https://github.com/AcademySoftwareFoundation/openexr/archive/v2.5.3.tar.gz + https://github.com/AcademySoftwareFoundation/openexr/archive/v3.1.2.tar.gz - ilmbase-devel + imath-devel zlib-devel @@ -24,7 +24,7 @@ openexr - ilmbase + imath libgcc openexr-libs @@ -37,9 +37,9 @@ openexr-libs OpenEXR runtime libraries - ilmbase - zlib - libgcc + imath + zlib + libgcc /usr/lib/lib* @@ -51,7 +51,7 @@ openexr-docs OpenEXR example files - /usr/share/doc/openexr/examples + /usr/share/doc/OpenEXR/examples @@ -61,16 +61,24 @@ openexr mesa-glu-devel - ilmbase-devel + imath-devel /usr/include + /usr/lib/cmake /usr/lib/pkgconfig /usr/share/aclocal + + 2021-10-26 + 3.1.2 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-09-20 2.5.3