[arch-commits] Commit in sox/trunk (PKGBUILD sox-dynamic.patch)
Eric Bélanger
eric at archlinux.org
Sun Apr 12 19:46:03 UTC 2015
Date: Sunday, April 12, 2015 @ 21:46:03
Author: eric
Revision: 236318
upgpkg: sox 14.4.2-1
Upstream update, Add opus support
Added:
sox/trunk/sox-dynamic.patch
Modified:
sox/trunk/PKGBUILD
-------------------+
PKGBUILD | 17 +++++++++++------
sox-dynamic.patch | 12 ++++++++++++
2 files changed, 23 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-12 19:26:30 UTC (rev 236317)
+++ PKGBUILD 2015-04-12 19:46:03 UTC (rev 236318)
@@ -2,26 +2,31 @@
# Maintainer: Eric Bélanger <eric at archlinux.org>
pkgname=sox
-pkgver=14.4.1
-pkgrel=4
+pkgver=14.4.2
+pkgrel=1
pkgdesc="The Swiss Army knife of sound processing tools"
arch=('i686' 'x86_64')
url="http://sox.sourceforge.net/"
license=('GPL' 'LGPL')
depends=('libltdl' 'file' 'libsndfile' 'libpng' 'lame' 'opencore-amr' 'gsm')
-makedepends=('libao' 'libmad' 'libid3tag' 'wavpack' 'libpulse')
+makedepends=('libao' 'libmad' 'libid3tag' 'wavpack' 'libpulse' 'opusfile')
checkdepends=('time')
optdepends=('libao: for ao plugin'
'libmad: for mp3 plugin'
'libid3tag: for mp3 plugin'
'wavpack: for wavpack plugin'
- 'libpulse: for pulse plugin')
-source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
-sha1sums=('4775f9e9eebb5a2fe79df548908a7a24088118d9')
+ 'libpulse: for pulse plugin'
+ 'opusfile: for opus plugin')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2 sox-dynamic.patch)
+sha1sums=('dc9668256b9d81ef25d672f14f12ec026b0b4087'
+ '9c71fa36596ed127b1bb367cfbab3b52cd2ecb6d')
prepare() {
cd ${pkgname}-${pkgver}
sed -i 's|man1/sox.1 soxeffect.7|man1/sox.1.gz soxeffect.7.gz|' Makefile.in
+ patch -p1 -i "${srcdir}/sox-dynamic.patch"
+ aclocal
+ automake
}
build() {
Added: sox-dynamic.patch
===================================================================
--- sox-dynamic.patch (rev 0)
+++ sox-dynamic.patch 2015-04-12 19:46:03 UTC (rev 236318)
@@ -0,0 +1,12 @@
+diff -Naur sox-14.4.2-orig/src/Makefile.am sox-14.4.2/src/Makefile.am
+--- sox-14.4.2-orig/src/Makefile.am 2015-04-08 17:11:09.555343005 -0400
++++ sox-14.4.2/src/Makefile.am 2015-04-08 17:11:25.115317153 -0400
+@@ -95,7 +95,7 @@
+
+ libsox_la_CFLAGS = @WARN_CFLAGS@
+ libsox_la_LDFLAGS = @APP_LDFLAGS@ -version-info @SHLIB_VERSION@ \
+- -export-symbols-regex '^(sox_.*|lsx_(check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$'
++ -export-symbols-regex '^(sox_.*|lsx_(error|flush|check_read_params|(close|open)_dllibrary|(debug(_more|_most)?|fail|report|warn)_impl|eof|fail_errno|filelength|find_(enum_(text|value)|file_extension)|getopt(_init)?|lpc10_(create_(de|en)coder_state|(de|en)code)|raw(read|write)|read(_b_buf|buf|chars)|realloc|rewind|seeki|sigfigs3p?|strcasecmp|tell|unreadb|write(b|_b_buf|buf|s)))$$'
+
+ if HAVE_WIN32_LTDL
+ libsox_la_SOURCES += win32-ltdl.c win32-ltdl.h
More information about the arch-commits
mailing list