portaudio:add pisi-2.0

This commit is contained in:
alihanozturk
2015-11-21 20:00:07 +02:00
parent 3929d2a76e
commit 54ab3ddc69
3 changed files with 121 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
#!/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
WorkDir = "portaudio"
def setup():
autotools.configure("--disable-static --prefix=/usr")
def build():
autotools.make()
def install():
autotools.rawInstall('DESTDIR="%s" libdir=/usr/lib' % get.installDIR())
pisitools.insinto("/%s/%s" % (get.docDIR(), get.srcNAME()), "doc/html")
pisitools.dodoc("LICENSE.txt", "README.txt")
+82
View File
@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>portaudio</Name>
<Homepage>http://www.portaudio.com</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>as-is</License>
<IsA>library</IsA>
<Summary>Portable audio library</Summary>
<Description>PortAudio is a free, cross platform, open-source, audio I/O library.</Description>
<Archive type="targz" sha1sum="526a7955de59016a06680ac24209ecb6ce05527d">http://www.portaudio.com/archives/pa_stable_v19_20140130.tgz</Archive>
<BuildDependencies>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>jack-audio-connection-kit-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- Add a patch from Fedora to make non mmap alsa (and thus pulseaudio) work -->
<!-- <Patch level="1">portaudio-non-mmap-alsa.patch</Patch> -->
</Patches>
</Source>
<Package>
<Name>portaudio</Name>
<RuntimeDependencies>
<Dependency>alsa-lib</Dependency>
<Dependency>jack-audio-connection-kit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<Package>
<Name>portaudio-devel</Name>
<Summary>Development files for portaudio</Summary>
<RuntimeDependencies>
<Dependency release="current">portaudio</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="doc">/usr/share/doc/portaudio/html</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-11-21</Date>
<Version>19.20140130</Version>
<Comment>Rebuild</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-06-01</Date>
<Version>19.20140130</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-02-05</Date>
<Version>19.20140130</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-29</Date>
<Version>19</Version>
<Comment>First release</Comment>
<Name>Fatih Turgel</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>portaudio</Name>
<Summary xml:lang="tr">Ses kütüphanesi</Summary>
<Description xml:lang="tr">Birden çok platformda kullanılabilinen açıkkodlu ses kütüphanesi</Description>
<Description xml:lang="fr">Une API audio multi-plateforme libre.</Description>
</Source>
<Package>
<Name>portaudio-devel</Name>
<Summary xml:lang="tr">portaudio için geliştirme dosyaları</Summary>
</Package>
</PISI>