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 autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools from pisi.actionsapi import shelltools
from pisi.actionsapi import cmaketools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup(): def setup():
pisitools.flags.add("-pthread -I/usr/include/OpenEXR -I/usr/include/libdrm") #pisitools.flags.add("-pthread -I/usr/include/OpenEXR -I/usr/include/libdrm")
pisitools.ldflags.add("-lImath -lHalf -lIex -lIexMath -lIlmThread -lpthread") #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(): def build():
shelltools.cd("OpenEXR") shelltools.cd("build")
autotools.make() cmaketools.make()
def install(): def install():
shelltools.cd("OpenEXR") shelltools.cd("build")
#shelltools.cd("OpenEXR")
# documents and examples go to "/usr/share/OpenEXR" without these parameters # documents and examples go to "/usr/share/OpenEXR" without these parameters
docdir = "/usr/share/doc/%s" % get.srcNAME() docdir = "/usr/share/doc/%s" % get.srcNAME()
examplesdir = "%s/examples" % docdir 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("..") shelltools.cd("..")
pisitools.dodoc("README*","LICENSE*") pisitools.dodoc("README*","LICENSE*")
+16 -8
View File
@@ -13,9 +13,9 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>A high dynamic-range (HDR) image file format library</Summary> <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> <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> <BuildDependencies>
<Dependency versionFrom="2.5.3">ilmbase-devel</Dependency> <Dependency>imath-devel</Dependency>
<Dependency>zlib-devel</Dependency> <Dependency>zlib-devel</Dependency>
<!-- <Dependency>mesa-glu-devel</Dependency> --> <!-- <Dependency>mesa-glu-devel</Dependency> -->
</BuildDependencies> </BuildDependencies>
@@ -24,7 +24,7 @@
<Package> <Package>
<Name>openexr</Name> <Name>openexr</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency versionFrom="2.2.0">ilmbase</Dependency> <Dependency>imath</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
<Dependency>openexr-libs</Dependency> <Dependency>openexr-libs</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
@@ -37,9 +37,9 @@
<Name>openexr-libs</Name> <Name>openexr-libs</Name>
<Summary>OpenEXR runtime libraries</Summary> <Summary>OpenEXR runtime libraries</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>ilmbase</Dependency> <Dependency>imath</Dependency>
<Dependency>zlib</Dependency> <Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency> <Dependency>libgcc</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib/lib*</Path> <Path fileType="library">/usr/lib/lib*</Path>
@@ -51,7 +51,7 @@
<Name>openexr-docs</Name> <Name>openexr-docs</Name>
<Summary>OpenEXR example files</Summary> <Summary>OpenEXR example files</Summary>
<Files> <Files>
<Path fileType="doc">/usr/share/doc/openexr/examples</Path> <Path fileType="doc">/usr/share/doc/OpenEXR/examples</Path>
</Files> </Files>
</Package> </Package>
@@ -61,16 +61,24 @@
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">openexr</Dependency> <Dependency release="current">openexr</Dependency>
<Dependency>mesa-glu-devel</Dependency> <Dependency>mesa-glu-devel</Dependency>
<Dependency>ilmbase-devel</Dependency> <Dependency>imath-devel</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="header">/usr/include</Path> <Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/cmake</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path> <Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path> <Path fileType="data">/usr/share/aclocal</Path>
</Files> </Files>
</Package> </Package>
<History> <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"> <Update release="6">
<Date>2020-09-20</Date> <Date>2020-09-20</Date>
<Version>2.5.3</Version> <Version>2.5.3</Version>