libsoxr add to repo
This commit is contained in:
Executable
+38
@@ -0,0 +1,38 @@
|
|||||||
|
#!/usr/bin/python
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
|
# Licensed under the GNU General Public License, version 3.
|
||||||
|
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import autotools
|
||||||
|
from pisi.actionsapi import cmaketools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.system("mkdir build_")
|
||||||
|
shelltools.cd("build_")
|
||||||
|
|
||||||
|
shelltools.system("cmake .. \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||||
|
-DBUILD_EXAMPLES='OFF' \
|
||||||
|
-DBUILD_SHARED_LIBS='ON' \
|
||||||
|
-DWITH_AVFFT='OFF' \
|
||||||
|
-DWITH_LSR_BINDINGS='ON' \
|
||||||
|
-DWITH_PFFFT='ON' \
|
||||||
|
-DWITH_OPENMP='ON'")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
shelltools.cd("build_")
|
||||||
|
cmaketools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd("build_")
|
||||||
|
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
|
||||||
|
|
||||||
|
shelltools.cd("..")
|
||||||
|
pisitools.dodoc("AUTHORS", "COPYING.LGPL", "LICENCE", "NEWS", "README")
|
||||||
|
|
||||||
Executable
+56
@@ -0,0 +1,56 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>libsoxr</Name>
|
||||||
|
<Homepage>http://sourceforge.net/p/soxr/wiki/Home/</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Mathias Freire</Name>
|
||||||
|
<Email>mathiasfreire45@gmail.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPL</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio</Summary>
|
||||||
|
<Description>The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio</Description>
|
||||||
|
<Archive sha1sum="32ea46b1a8c0c15f835422892d02fce8286aec3c" type="tarxz">https://sourceforge.net/projects/soxr/files/soxr-0.1.3-Source.tar.xz</Archive>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsoxr</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>libgomp</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libsoxr-devel</Name>
|
||||||
|
<Summary>Header files for libsoxr.</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libsoxr</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-01-14</Date>
|
||||||
|
<Version>0.1.3</Version>
|
||||||
|
<Comment>First release.</Comment>
|
||||||
|
<Name>Idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user