diff --git a/multimedia/sound/libsoxr/actions.py b/multimedia/sound/libsoxr/actions.py new file mode 100755 index 0000000000..9b59cf32ed --- /dev/null +++ b/multimedia/sound/libsoxr/actions.py @@ -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") + diff --git a/multimedia/sound/libsoxr/pspec.xml b/multimedia/sound/libsoxr/pspec.xml new file mode 100755 index 0000000000..0971d57d6b --- /dev/null +++ b/multimedia/sound/libsoxr/pspec.xml @@ -0,0 +1,56 @@ + + + + + libsoxr + http://sourceforge.net/p/soxr/wiki/Home/ + + Mathias Freire + mathiasfreire45@gmail.com + + GPL + library + The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio + The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio + https://sourceforge.net/projects/soxr/files/soxr-0.1.3-Source.tar.xz + + + + libsoxr + + libgcc + libgomp + + + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/man + + + + + libsoxr-devel + Header files for libsoxr. + + libsoxr + + + /usr/include + /usr/lib/pkgconfig + + + + + + 2020-01-14 + 0.1.3 + First release. + Idris Kalp + idriskalp@gmail.com + + + + + +