[arch-commits] Commit in libsoxr/repos (6 files)

Anatol Pomozov anatolik at archlinux.org
Fri Apr 3 01:06:02 UTC 2015


    Date: Friday, April 3, 2015 @ 03:06:02
  Author: anatolik
Revision: 130553

archrelease: copy trunk to community-i686, community-x86_64

Added:
  libsoxr/repos/community-i686/
  libsoxr/repos/community-i686/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch
    (from rev 130552, libsoxr/trunk/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch)
  libsoxr/repos/community-i686/PKGBUILD
    (from rev 130552, libsoxr/trunk/PKGBUILD)
  libsoxr/repos/community-x86_64/
  libsoxr/repos/community-x86_64/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch
    (from rev 130552, libsoxr/trunk/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch)
  libsoxr/repos/community-x86_64/PKGBUILD
    (from rev 130552, libsoxr/trunk/PKGBUILD)

----------------------------------------------------------------------------------+
 community-i686/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch   |   26 ++++
 community-i686/PKGBUILD                                                          |   55 ++++++++++
 community-x86_64/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch |   26 ++++
 community-x86_64/PKGBUILD                                                        |   55 ++++++++++
 4 files changed, 162 insertions(+)

Copied: libsoxr/repos/community-i686/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch (from rev 130552, libsoxr/trunk/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch)
===================================================================
--- community-i686/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch	                        (rev 0)
+++ community-i686/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch	2015-04-03 01:06:02 UTC (rev 130553)
@@ -0,0 +1,26 @@
+From fb8657b4469f864f9722d28bbb86c9b8a53446ac Mon Sep 17 00:00:00 2001
+From: Rob Sykes <rob at rob-Ideapad-S205.(none)>
+Date: Sun, 7 Apr 2013 07:39:36 +0100
+Subject: [PATCH 1/1] fix ineffectual SOXR_MINIMUM_PHASE and
+ SOXR_INTERMEDIATE_PHASE in soxr_quality_spec recipe
+
+---
+ src/soxr.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/soxr.c b/src/soxr.c
+index 93dd9c1..36b0251 100644
+--- a/src/soxr.c
++++ b/src/soxr.c
+@@ -85,7 +85,7 @@ soxr_quality_spec_t soxr_quality_spec(unsigned long recipe, unsigned long flags)
+     quality = 6;
+   else if (quality > 10)
+     quality = 0;
+-  p->phase_response = "\62\31\144"[(recipe & 0x30)>>8];
++  p->phase_response = "\62\31\144"[(recipe & 0x30) >> 4];
+   p->stopband_begin = 1;
+   p->precision = !quality? 0: quality < 3? 16 : quality < 8? 4 + quality * 4 : 55 - quality * 4;
+   rej = p->precision * linear_to_dB(2.);
+-- 
+2.3.5
+

Copied: libsoxr/repos/community-i686/PKGBUILD (from rev 130552, libsoxr/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-04-03 01:06:02 UTC (rev 130553)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: JSpaces <jspace -aT- unseen -d0T- is>
+# Contributor: Triode <triode1 -aT- btinternet -d0t- com>
+
+pkgname=libsoxr
+pkgver=0.1.1
+pkgrel=3
+pkgdesc='The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio'
+arch=(i686 x86_64) 
+url='http://sourceforge.net/p/soxr/wiki/Home/'
+license=(GPL)
+depends=(gcc-libs)
+makedepends=(cmake)
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz
+        0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch)
+sha1sums=('f5d90e375db3914a522fef477898bde8c70243e7'
+          '73e6a3418001ce01aa16c3d8e29e2535d0158111')
+
+prepare() {
+  cd soxr-$pkgver-Source
+  patch -p1 < "$srcdir"/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch
+}
+
+build() {
+  cd soxr-$pkgver-Source
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_EXAMPLES=OFF \
+    -DBUILD_SHARED_LIBS=ON \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DVISIBILITY_HIDDENL=ON \
+    -DWITH_AVFFT=ON \
+    -DWITH_DOUBLE_PRECISION=ON \
+    -DWITH_LSR_BINDINGS=ON \
+    -DWITH_OPENMP=ON \
+    -DWITH_PFFFT=ON \
+    -DWITH_SIMD=ON \
+    .
+  make
+}
+
+check() {
+  cd soxr-$pkgver-Source
+  make test
+}
+
+package() {
+  cd soxr-$pkgver-Source
+  
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -r "$pkgdir"/usr/share/doc/$pkgname/
+}

Copied: libsoxr/repos/community-x86_64/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch (from rev 130552, libsoxr/trunk/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch)
===================================================================
--- community-x86_64/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch	                        (rev 0)
+++ community-x86_64/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch	2015-04-03 01:06:02 UTC (rev 130553)
@@ -0,0 +1,26 @@
+From fb8657b4469f864f9722d28bbb86c9b8a53446ac Mon Sep 17 00:00:00 2001
+From: Rob Sykes <rob at rob-Ideapad-S205.(none)>
+Date: Sun, 7 Apr 2013 07:39:36 +0100
+Subject: [PATCH 1/1] fix ineffectual SOXR_MINIMUM_PHASE and
+ SOXR_INTERMEDIATE_PHASE in soxr_quality_spec recipe
+
+---
+ src/soxr.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/soxr.c b/src/soxr.c
+index 93dd9c1..36b0251 100644
+--- a/src/soxr.c
++++ b/src/soxr.c
+@@ -85,7 +85,7 @@ soxr_quality_spec_t soxr_quality_spec(unsigned long recipe, unsigned long flags)
+     quality = 6;
+   else if (quality > 10)
+     quality = 0;
+-  p->phase_response = "\62\31\144"[(recipe & 0x30)>>8];
++  p->phase_response = "\62\31\144"[(recipe & 0x30) >> 4];
+   p->stopband_begin = 1;
+   p->precision = !quality? 0: quality < 3? 16 : quality < 8? 4 + quality * 4 : 55 - quality * 4;
+   rej = p->precision * linear_to_dB(2.);
+-- 
+2.3.5
+

Copied: libsoxr/repos/community-x86_64/PKGBUILD (from rev 130552, libsoxr/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-04-03 01:06:02 UTC (rev 130553)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Anatol Pomozov
+# Contributor: JSpaces <jspace -aT- unseen -d0T- is>
+# Contributor: Triode <triode1 -aT- btinternet -d0t- com>
+
+pkgname=libsoxr
+pkgver=0.1.1
+pkgrel=3
+pkgdesc='The SoX Resampler library that aims to give fast and high quality results for any constant resampling ratio'
+arch=(i686 x86_64) 
+url='http://sourceforge.net/p/soxr/wiki/Home/'
+license=(GPL)
+depends=(gcc-libs)
+makedepends=(cmake)
+options=(!emptydirs)
+source=(http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz
+        0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch)
+sha1sums=('f5d90e375db3914a522fef477898bde8c70243e7'
+          '73e6a3418001ce01aa16c3d8e29e2535d0158111')
+
+prepare() {
+  cd soxr-$pkgver-Source
+  patch -p1 < "$srcdir"/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch
+}
+
+build() {
+  cd soxr-$pkgver-Source
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DBUILD_EXAMPLES=OFF \
+    -DBUILD_SHARED_LIBS=ON \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DVISIBILITY_HIDDENL=ON \
+    -DWITH_AVFFT=ON \
+    -DWITH_DOUBLE_PRECISION=ON \
+    -DWITH_LSR_BINDINGS=ON \
+    -DWITH_OPENMP=ON \
+    -DWITH_PFFFT=ON \
+    -DWITH_SIMD=ON \
+    .
+  make
+}
+
+check() {
+  cd soxr-$pkgver-Source
+  make test
+}
+
+package() {
+  cd soxr-$pkgver-Source
+  
+  make DESTDIR="$pkgdir" install
+  install -Dm644 LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -r "$pkgdir"/usr/share/doc/$pkgname/
+}



More information about the arch-commits mailing list