soundtouch:moved into main for pisi 2.0
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
#!/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 libtools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "soundtouch"
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("source/SoundStretch/Makefile.*", "-O3", "")
|
||||
shelltools.system("sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac")
|
||||
shelltools.system("./bootstrap")
|
||||
autotools.configure("--enable-shared \
|
||||
--disable-dependency-tracking \
|
||||
--disable-static \
|
||||
--disable-integer-samples \
|
||||
--with-pic")
|
||||
|
||||
# Avoid rpath
|
||||
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
|
||||
pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s pkgdocdir=/usr/share/doc/%s" % (get.installDIR(), get.srcNAME()))
|
||||
|
||||
# Install compat symlinks for pkgconfig files
|
||||
pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/soundtouch-1.4.pc")
|
||||
pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/SoundTouch-1.0.pc")
|
||||
pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/SoundTouch-1.4.pc")
|
||||
|
||||
# Install docs
|
||||
pisitools.dodoc("COPYING.TXT", "README.html")
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>soundtouch</Name>
|
||||
<Homepage>http://www.surina.net/soundtouch</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Audio Processing Library</Summary>
|
||||
<Description>soundtouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or file.</Description>
|
||||
<Archive sha1sum="2cee2c63194227b4a58da01a7cd92b8632f139cd" type="targz">http://www.surina.net/soundtouch/soundtouch-1.8.0.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>soundtouch</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>soundtouch-devel</Name>
|
||||
<Summary>Development files for soundtouch</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">soundtouch</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-07-05</Date>
|
||||
<Version>1.8.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>Rebuild for buildhost</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>soundtouch</Name>
|
||||
<Description xml:lang="fr">Librairie de traitement audio open-source (libre) pour changer le Tempo, le Pitch et la vitesse de lecture de flux audio ou de fichiers.</Description>
|
||||
<Description xml:lang="es">Librería código libre para procesamiento de sonido para manipular Tempo, Pitch y Tasas de reproducción de flujos o archivos de audio</Description>
|
||||
<Summary xml:lang="tr">Ses işleme kitaplığı</Summary>
|
||||
<Description xml:lang="tr">soundtouch ses dosyalarının temposunu, oynatma hızını ve frekansını değiştirmek için kullanılabilen açık kaynaklı bir ses işleme kütüphanesidir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>soundtouch-devel</Name>
|
||||
<Summary xml:lang="tr">soundtouch için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user