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

Eric Bélanger eric at archlinux.org
Sun Apr 12 19:47:51 UTC 2015


    Date: Sunday, April 12, 2015 @ 21:47:51
  Author: eric
Revision: 236319

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

Added:
  sox/repos/staging-i686/
  sox/repos/staging-i686/PKGBUILD
    (from rev 236318, sox/trunk/PKGBUILD)
  sox/repos/staging-i686/sox-dynamic.patch
    (from rev 236318, sox/trunk/sox-dynamic.patch)
  sox/repos/staging-x86_64/
  sox/repos/staging-x86_64/PKGBUILD
    (from rev 236318, sox/trunk/PKGBUILD)
  sox/repos/staging-x86_64/sox-dynamic.patch
    (from rev 236318, sox/trunk/sox-dynamic.patch)

----------------------------------+
 staging-i686/PKGBUILD            |   47 +++++++++++++++++++++++++++++++++++++
 staging-i686/sox-dynamic.patch   |   12 +++++++++
 staging-x86_64/PKGBUILD          |   47 +++++++++++++++++++++++++++++++++++++
 staging-x86_64/sox-dynamic.patch |   12 +++++++++
 4 files changed, 118 insertions(+)

Copied: sox/repos/staging-i686/PKGBUILD (from rev 236318, sox/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2015-04-12 19:47:51 UTC (rev 236319)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=sox
+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' 'opusfile')
+checkdepends=('time')
+optdepends=('libao: for ao plugin'
+            'libmad: for mp3 plugin'
+            'libid3tag: for mp3 plugin'
+            'wavpack: for wavpack plugin'
+            '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() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --with-dyn-default --with-distro="Arch Linux"
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make bindir=. installcheck
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: sox/repos/staging-i686/sox-dynamic.patch (from rev 236318, sox/trunk/sox-dynamic.patch)
===================================================================
--- staging-i686/sox-dynamic.patch	                        (rev 0)
+++ staging-i686/sox-dynamic.patch	2015-04-12 19:47:51 UTC (rev 236319)
@@ -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

Copied: sox/repos/staging-x86_64/PKGBUILD (from rev 236318, sox/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2015-04-12 19:47:51 UTC (rev 236319)
@@ -0,0 +1,47 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at archlinux.org>
+
+pkgname=sox
+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' 'opusfile')
+checkdepends=('time')
+optdepends=('libao: for ao plugin'
+            'libmad: for mp3 plugin'
+            'libid3tag: for mp3 plugin'
+            'wavpack: for wavpack plugin'
+            '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() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr --sysconfdir=/etc \
+    --with-dyn-default --with-distro="Arch Linux"
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make bindir=. installcheck
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}

Copied: sox/repos/staging-x86_64/sox-dynamic.patch (from rev 236318, sox/trunk/sox-dynamic.patch)
===================================================================
--- staging-x86_64/sox-dynamic.patch	                        (rev 0)
+++ staging-x86_64/sox-dynamic.patch	2015-04-12 19:47:51 UTC (rev 236319)
@@ -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