libsoxr.
This commit is contained in:
@@ -2,37 +2,36 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
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("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'")
|
||||
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()
|
||||
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")
|
||||
shelltools.cd("build_")
|
||||
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("AUTHORS", "COPYING.LGPL", "LICENCE", "NEWS", "README")
|
||||
|
||||
|
||||
@@ -1,59 +1,57 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsoxr</Name>
|
||||
<Homepage>http://sourceforge.net/p/soxr/wiki/Home/</Homepage>
|
||||
<Homepage>https://sourceforge.net/p/soxr/wiki/Home/</Homepage>
|
||||
<Packager>
|
||||
<Name>Mathias Freire</Name>
|
||||
<Email>mathiasfreire45@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>GPL</License>
|
||||
<IsA>library</IsA>
|
||||
<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>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
<Archive sha1sum="32ea46b1a8c0c15f835422892d02fce8286aec3c" type="tarxz">https://sourceforge.net/projects/soxr/files/soxr-0.1.3-Source.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
|
||||
<Package>
|
||||
<Name>libsoxr</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libgomp</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<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>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<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>
|
||||
<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