From d9ea12e9874f8ed62318aa61d66337814c8ac5f7 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Tue, 18 Jan 2022 14:31:45 +0300 Subject: [PATCH] libsamplerate. --- multimedia/sound/libsamplerate/actions.py | 21 ++++++++++++--------- multimedia/sound/libsamplerate/pspec.xml | 15 +++++++++++---- 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/multimedia/sound/libsamplerate/actions.py b/multimedia/sound/libsamplerate/actions.py index d74b106275..9b9a527174 100644 --- a/multimedia/sound/libsamplerate/actions.py +++ b/multimedia/sound/libsamplerate/actions.py @@ -2,21 +2,24 @@ # -*- coding: utf-8 -*- # # Licensed under the GNU General Public License, version 3. -# See the file http://www.gnu.org/licenses/gpl.txt +# See the file https://www.gnu.org/licenses/gpl-3.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools -from pisi.actionsapi import libtools from pisi.actionsapi import get +j = ''.join([ + ' --enable-shared', + ' --enable-sndfile', + ' --disable-fftw', + ' --disable-static', + ' --disable-dependency-tracking', + ' --with-pic ' + ]) + def setup(): autotools.autoreconf("-fiv") - autotools.configure("--with-pic \ - --enable-sndfile \ - --disable-static \ - --enable-shared \ - --disable-fftw \ - --disable-dependency-tracking") + autotools.configure(j) # Remove RPATH pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"") @@ -28,4 +31,4 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README") + pisitools.dodoc("AUTHORS", "NEWS") diff --git a/multimedia/sound/libsamplerate/pspec.xml b/multimedia/sound/libsamplerate/pspec.xml index 32d1fb0c15..fedad55296 100644 --- a/multimedia/sound/libsamplerate/pspec.xml +++ b/multimedia/sound/libsamplerate/pspec.xml @@ -1,9 +1,9 @@ - + libsamplerate - http://www.mega-nerd.com/SRC/ + https://github.com/libsndfile/libsamplerate PisiLinux Community admins@pisilinux.org @@ -12,12 +12,12 @@ app:console Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio Secret Rabbit Code is a sample rate converter for audio. It is capable of arbitrary and time varying conversions. It can downsample by a factor of 12 and upsample by the same factor. The ratio of input and output sample rates can be a real number. The conversion ratio can also vary with time for speeding up and slowing down effects. - http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz + https://github.com/libsndfile/libsamplerate/releases/download/0.2.2/libsamplerate-0.2.2.tar.xz libsndfile-devel - dontbuild-tests-examples.patch + @@ -46,6 +46,13 @@ + + 2022-01-18 + 0.2.2 + Version bump. + PisiLinux Community + admins@pisilinux.org + 2020-01-12 0.1.9