moved into main repo for pisi 2.0
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
#!/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():
|
||||
shelltools.sym("makefiles/configure.in", "configure.in")
|
||||
shelltools.sym("makefiles/Makefile.am", "Makefile.am")
|
||||
shelltools.sym("makefiles/makefile.linux", "Makefile")
|
||||
#shelltools.sym("contrib/gcc/sdl-mngplay/acinclude.m4", "acinclude.m4")
|
||||
|
||||
shelltools.system("sed -i -e 's/unroll-loops/& -fPIC/' Makefile ")
|
||||
|
||||
autotools.autoreconf("-fiv")
|
||||
autotools.configure("--with-jpeg \
|
||||
--with-lcms \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking")
|
||||
|
||||
if get.buildTYPE() == "emul32":
|
||||
options = " --libdir=/usr/lib32 \
|
||||
--with-jpeg \
|
||||
--disable-static \
|
||||
--disable-dependency-tracking"
|
||||
shelltools.export("CFLAGS", "%s -m32" % get.CFLAGS())
|
||||
autotools.configure(options)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.doman("doc/man/*")
|
||||
pisitools.dodoc("CHANGES", "LICENSE", "README*", "doc/doc.readme", "doc/misc/*", "doc/libmng.txt")
|
||||
@@ -0,0 +1,84 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmng</Name>
|
||||
<Homepage>http://www.libmng.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Multiple Image Networkgraphics lib (animated png's)</Summary>
|
||||
<Description>Libmng -The reference library for reading, displaying, writing and examining Multiple-Image Network Graphics. MNG is the animation extension to the popular PNG image-format.</Description>
|
||||
<Archive sha1sum="ed63ebddb3d556a730024e2d6a6e00b8c0f5bc41" type="targz">http://sourceforge.net/projects/libmng/files/libmng-devel/2.0.2/libmng-2.0.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>lcms-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libmng</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmng-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libmng</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="header">/usr/include/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libmng-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for libmng</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib-32bit </Dependency>
|
||||
<Dependency>lcms2-32bit</Dependency>
|
||||
<Dependency>libjpeg-turbo-32bit </Dependency>
|
||||
<Dependency release="current">libmng</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-19</Date>
|
||||
<Version>2.0.2</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-31</Date>
|
||||
<Version>2.0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-12-16</Date>
|
||||
<Version>1.0.10</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libmng</Name>
|
||||
<Summary xml:lang="tr">Çoklu resim Networkgraphics (Animasyonlu png)</Summary>
|
||||
<Description xml:lang="tr">Libmng, Çoklu Görüntü Ağ Grafiklerini (MNG) okuma, görüntüleme, yazma ve denemek için başvuru kütüphanesidir. MNG popüler PNG görüntü formatı için animasyon uzantısıdır.</Description>
|
||||
<Description xml:lang="fr">Libmng - La librairie de référence pour lire, afficher, écrire et examiner des Multiple-Image Network Graphics (graphiques orientés réseaux composés d'images multiples). MNG est l'extension d'animation pour le format d'image populaire PNG.</Description>
|
||||
<Description xml:lang="es">Libmng -librería de referencia para lectura, visualización, escritura y análisis de gráficos tipo Multiple-Image Network. MNG es la extensión de animación al formato popular de imágenes PNG.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user