libmikmod ported from pisi 1.2 update and check

This commit is contained in:
groni
2015-10-19 15:30:03 +02:00
parent 49564baa3f
commit da97dc8282
3 changed files with 165 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
#!/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 libtools
from pisi.actionsapi import get
WorkDir = "%s-%s" % (get.srcNAME(), get.srcVERSION().replace("_", "-"))
def setup():
shelltools.sym(".", "m4")
shelltools.export("CFLAGS", "%s -DDRV_RAW" % get.CFLAGS())
autotools.autoreconf("-vfi -Im4")
libtools.gnuconfig_update()
options = "--disable-esd \
--disable-af \
--disable-alsa \
--enable-oss \
--disable-static"
if get.buildTYPE() == "emul32":
options += " --bindir=/emul32/bin"
shelltools.export("CFLAGS", "%s -DDRV_RAW -m32" % get.CFLAGS())
shelltools.export("CXXFLAGS", "%s -m32" % get.CFLAGS())
shelltools.export("LDFLAGS", "%s -m32" % get.LDFLAGS())
autotools.configure(options)
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "NEWS", "README", "TODO")
pisitools.dohtml("docs/*.html")
+100
View File
@@ -0,0 +1,100 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libmikmod</Name>
<Homepage>http://mikmod.raphnet.net/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<Summary>A library to play a wide range of module formats</Summary>
<Description>libmikmod is a portable sound library, which used to be packaged with the MikMod module player, but is now released independentely. It is capable of playing samples as well as module files, using the OSS driver for output, as well as Alsa and EsounD. Supported module format include mod, s3m, xm, it, med, mtm and 669, to name a few.</Description>
<Archive sha1sum="f936d92ed9752d9f47a3340bdafc78159a270ca9" type="targz">http://sourceforge.net/projects/mikmod/files/libmikmod/3.3.7/libmikmod-3.3.7.tar.gz</Archive>
<BuildDependencies>
<Dependency>audiofile-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>libmikmod</Name>
<RuntimeDependencies>
<Dependency>pulseaudio-libs</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/libmikmod</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>libmikmod-devel</Name>
<Summary>Development files for libmikmod</Summary>
<RuntimeDependencies>
<Dependency release="current">libmikmod</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/libmikmod-config</Path>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/share/aclocal</Path>
</Files>
</Package>
<Package>
<Name>libmikmod-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libmikmod</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>audiofile-32bit</Dependency>
<Dependency>glibc-32bit</Dependency>
<Dependency>alsa-lib-32bit</Dependency>
<Dependency>pulseaudio-libs-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">libmikmod</Dependency>
<Dependency>audiofile-32bit</Dependency>
<Dependency>alsa-lib-32bit</Dependency>
<Dependency>pulseaudio-libs-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-10-19</Date>
<Version>3.3.7</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-05-31</Date>
<Version>3.3.6</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-31</Date>
<Version>3.3.5</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-08-01</Date>
<Version>3.2.0_beta2</Version>
<Comment>First release</Comment>
<Name>Anıl Özbek</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libmikmod</Name>
<Summary xml:lang="tr">Bir çok modül formatını çalabilen bir kitaplık</Summary>
<Description xml:lang="tr">libmikmod, MikMod modül çalıcısı ile kullanmılması amacıyla paketlenmiş bir taşınabilir ses kitaplığıdır, fakat artık bağımsız olarak dağıtılmaktadır. Ses örneklerini ses çıkışı için OSS sürücünü kullanarak çalabildiği gibi, Alsa ve EsounD için de kullanmaktadır. Desteklenen modül kipleri mod, s3m, xm, it, med, mtm ve 669 gibi kiplerdir.</Description>
<Description xml:lang="fr">libmikmod est une librairie son portable, qui était habituellement emballée avec le lecteur de module MikMod, mais qui est maintenant livrée de manière indépendante. Elle est capable de jouer des échantillons ainsi que des fichiers modules, utilisant aussi bien le pilote OSS, Alsa ou EsounD pour la sortie. Les formats de module gérés comprennent entre autres mod, s3m, xm, it, med, mtm et 669.</Description>
<Description xml:lang="es">libmikmod es ina librería portable de sonido, que solía estar incluido con el MikMod module player, pero ahora fue lanzado independientemente. Es capaz de reproducir archivos de sonidos y de módulos, usando para la salida tanto un controlador OSS, como también Alsa y EsounD. Formatos de módulos soportados abarcan mod, s3m, xm, it, med, mtm and 669, para nombrar algunos.</Description>
</Source>
<Package>
<Name>libmikmod-devel</Name>
<Summary xml:lang="tr">libmikmod için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libmikmod-32bit</Name>
<Summary xml:lang="tr">libmikmod için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>