openexr ver. bump

This commit is contained in:
Rmys
2021-10-26 21:59:44 +03:00
parent b1a16e478f
commit 48e19c7537
2 changed files with 29 additions and 20 deletions
+13 -12
View File
@@ -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*")
+16 -8
View File
@@ -13,9 +13,9 @@
<IsA>library</IsA>
<Summary>A high dynamic-range (HDR) image file format library</Summary>
<Description>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.</Description>
<Archive sha1sum="29ca69ddea74aa14a580140646adeea1e0427842" type="targz">https://github.com/AcademySoftwareFoundation/openexr/archive/v2.5.3.tar.gz</Archive>
<Archive sha1sum="8ba80c38b5b545eced08bdd733b0976c4a5268cc" type="targz">https://github.com/AcademySoftwareFoundation/openexr/archive/v3.1.2.tar.gz</Archive>
<BuildDependencies>
<Dependency versionFrom="2.5.3">ilmbase-devel</Dependency>
<Dependency>imath-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<!-- <Dependency>mesa-glu-devel</Dependency> -->
</BuildDependencies>
@@ -24,7 +24,7 @@
<Package>
<Name>openexr</Name>
<RuntimeDependencies>
<Dependency versionFrom="2.2.0">ilmbase</Dependency>
<Dependency>imath</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>openexr-libs</Dependency>
</RuntimeDependencies>
@@ -37,9 +37,9 @@
<Name>openexr-libs</Name>
<Summary>OpenEXR runtime libraries</Summary>
<RuntimeDependencies>
<Dependency>ilmbase</Dependency>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>imath</Dependency>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/lib*</Path>
@@ -51,7 +51,7 @@
<Name>openexr-docs</Name>
<Summary>OpenEXR example files</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/openexr/examples</Path>
<Path fileType="doc">/usr/share/doc/OpenEXR/examples</Path>
</Files>
</Package>
@@ -61,16 +61,24 @@
<RuntimeDependencies>
<Dependency release="current">openexr</Dependency>
<Dependency>mesa-glu-devel</Dependency>
<Dependency>ilmbase-devel</Dependency>
<Dependency>imath-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<History>
<Update release="7">
<Date>2021-10-26</Date>
<Version>3.1.2</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="6">
<Date>2020-09-20</Date>
<Version>2.5.3</Version>