openexr:moved into main repo for pisi 2.0

This commit is contained in:
2015-07-05 03:08:04 +03:00
parent 499ee3aa5b
commit 18d9611c8c
3 changed files with 142 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
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")
shelltools.system("./bootstrap")
autotools.configure("--enable-shared \
--disable-static")
def build():
autotools.make()
def install():
# 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))
pisitools.dodoc("AUTHORS", "ChangeLog","NEWS", "README","LICENSE")
+90
View File
@@ -0,0 +1,90 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>openexr</Name>
<Homepage>http://www.openexr.com</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>app:console</IsA>
<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="4a3db5ea527856145844556e0ee349f45ed4cbc7" type="targz">http://download.savannah.nongnu.org/releases/openexr/openexr-2.1.0.tar.gz</Archive>
<BuildDependencies>
<Dependency versionFrom="2.0.1">ilmbase-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>openexr</Name>
<RuntimeDependencies>
<Dependency versionFrom="2.0.1">ilmbase</Dependency>
<Dependency>openexr-libs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>openexr-libs</Name>
<Summary>OpenEXR runtime libraries</Summary>
<RuntimeDependencies>
<Dependency>ilmbase</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib/lib*</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>openexr-docs</Name>
<Summary>OpenEXR example files</Summary>
<Files>
<Path fileType="doc">/usr/share/doc/openexr/examples</Path>
</Files>
</Package>
<Package>
<Name>openexr-devel</Name>
<Summary>Development files for openexr</Summary>
<RuntimeDependencies>
<Dependency release="current">openexr</Dependency>
<Dependency>ilmbase-devel</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-25</Date>
<Version>2.1.0</Version>
<Comment>Rebuild</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-16</Date>
<Version>2.1.0</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
<Email>yusuf.aydemir@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-12</Date>
<Version>1.7.0</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+24
View File
@@ -0,0 +1,24 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>openexr</Name>
<Description xml:lang="tr">OpenEXR, bilgisayar görüntüleme uygulamalarında kullanılan yüksek dinamik görüntü erimidir. OpenEXR özellikleri şunları içerir: Mevcut 8 ve 10 bitlik görüntü dosya formatlarından daha yüksek dinamik görüntü erişimi, 16 ya da 32 bit piksel desteği ve kayıpsız görüntü sıkıştırma algoritması</Description>
<Description xml:lang="fr">OpenEXR est un formation de fichier d'image à haut rang dynamique (HDR - High Dynamic Range) utilisable pour les applications d'imagerie sur ordinateur. OpenEXR inclus notamment : Un rang dynamique plus grand que les formats d'image existants de 8 et 10 bit; le support pour pixel de 16 bit à virgule flottante, 32 bit à virgule flottante et d'entiers à 32 bit; de nombreux algorithmes de compression d'image sans perte, le fait d'être extensible.</Description>
<Description xml:lang="es">OpenEXR es un formato de archivo de imagen de alto fango dinámico (HDR) para uso en aplicaciones de computación de imágenes. OpenEXR contiene facilidades: rango dinámico y precisión de colores más alto que formatos existentes de 8- y 10-bit; soporta para punto flotante 16-bit, punto flotante 32-bit, y entero 32-bit pixels; algoritmos de compresión múltiple sin pérdida; extensible.</Description>
</Source>
<Package>
<Name>openexr-devel</Name>
<Summary xml:lang="tr">OpenEXR için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>openexr-libs</Name>
<Summary xml:lang="tr">OpenEXR çalışma zamanı kitaplıkları</Summary>
</Package>
<Package>
<Name>openexr-docs</Name>
<Summary xml:lang="tr">OpenEXR örnek dosyalar</Summary>
</Package>
</PISI>