[arch-commits] Commit in libsoxr/trunk (2 files)

Anatol Pomozov anatolik at archlinux.org
Tue Sep 8 19:39:56 UTC 2015


    Date: Tuesday, September 8, 2015 @ 21:39:56
  Author: anatolik
Revision: 245609

upgpkg: libsoxr 0.1.2-1

Modified:
  libsoxr/trunk/PKGBUILD
Deleted:
  libsoxr/trunk/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch

-----------------------------------------------------------------+
 0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch |   26 ----------
 PKGBUILD                                                        |   15 +----
 2 files changed, 4 insertions(+), 37 deletions(-)

Deleted: 0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch
===================================================================
--- 0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch	2015-09-08 19:35:29 UTC (rev 245608)
+++ 0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch	2015-09-08 19:39:56 UTC (rev 245609)
@@ -1,26 +0,0 @@
-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
-

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-08 19:35:29 UTC (rev 245608)
+++ PKGBUILD	2015-09-08 19:39:56 UTC (rev 245609)
@@ -4,8 +4,8 @@
 # Contributor: Triode <triode1 -aT- btinternet -d0t- com>
 
 pkgname=libsoxr
-pkgver=0.1.1
-pkgrel=3
+pkgver=0.1.2
+pkgrel=1
 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/'
@@ -13,16 +13,9 @@
 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')
+source=(http://downloads.sourceforge.net/project/soxr/soxr-$pkgver-Source.tar.xz)
+sha1sums=('3b990f91dc8dc08e70626cd5fb90deda0239c211')
 
-prepare() {
-  cd soxr-$pkgver-Source
-  patch -p1 < "$srcdir"/0001-fix-ineffectual-SOXR_MINIMUM_PHASE-and-SOXR_INTERMED.patch
-}
-
 build() {
   cd soxr-$pkgver-Source
   cmake \



More information about the arch-commits mailing list