diff --git a/multimedia/sound/sox/actions.py b/multimedia/sound/sox/actions.py new file mode 100644 index 0000000000..1cdac476dc --- /dev/null +++ b/multimedia/sound/sox/actions.py @@ -0,0 +1,28 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +def setup(): + shelltools.export("CFLAGS", "%s -fsigned-char -D_FILE_OFFSET_BITS=64" % get.CFLAGS()) + autotools.autoreconf("-fi") + + autotools.configure("--disable-static \ + --with-gsm \ + --with-dyn-default") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.install() + + pisitools.dodoc("ChangeLog", "README", "NEWS", "AUTHORS", "COPYING", "LICENSE*") diff --git a/multimedia/sound/sox/files/sox-dynamic.patch b/multimedia/sound/sox/files/sox-dynamic.patch new file mode 100644 index 0000000000..bb3adc6bbb --- /dev/null +++ b/multimedia/sound/sox/files/sox-dynamic.patch @@ -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 \ No newline at end of file diff --git a/multimedia/sound/sox/pspec.xml b/multimedia/sound/sox/pspec.xml new file mode 100644 index 0000000000..56169e52d4 --- /dev/null +++ b/multimedia/sound/sox/pspec.xml @@ -0,0 +1,125 @@ + + + + + sox + http://sox.sourceforge.net + + PisiLinux Community + admins@pisilinux.org + + LGPLv2.1 + app:console + library + The swiss army knife of sound processing programs + SoX is a command line utility that can convert various audio formats to other formats. It can also apply various effects to these sound files during the conversion. SoX can also play and record audio files. + mirrors://sourceforge/sox/sox-14.4.2.tar.bz2 + + pulseaudio-libs-devel + opencore-amr-devel + libsndfile-devel + ladspa-sdk-devel + libid3tag-devel + libvorbis-devel + alsa-lib-devel + wavpack-devel + libmad-devel + ffmpeg-devel + libogg-devel + libao-devel + lame-devel + + gsm-devel + twolame-devel + libgomp + + + sox-dynamic.patch --> + + + + + sox + + gsm + file + lame + libao + libmad + libogg + libgomp + twolame + wavpack + alsa-lib + libvorbis + libsndfile + libtool-ltdl + opencore-amr + pulseaudio-libs + + + /usr/bin + /usr/share/doc + /usr/share/man + /usr/lib + + + + + sox-devel + Development files for sox + + sox + + + /usr/include + /usr/lib/pkgconfig + /usr/share/man/man3 + + + + + + 2015-11-17 + 14.4.2 + Version bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2015-02-21 + 14.4.1 + Rebuild. + Ertuğrul Erata + ertugrulerata@gmail.com + + + 2014-02-11 + 14.4.1 + Rebuild Unused + Varol Maksutoğlu + waroi@pisilinux.org + + + 2013-11-26 + 14.4.1 + rebuild for ffmpeg + Kamil Atlı + suvarice@gmail.com + + + 2013-08-29 + 14.4.1 + missing dep. version bump + Erdinç gültekin + erdincgultekin@pisilinux.org + + + 2012-08-28 + 14.4.0 + First release + Fatih Turgel + admins@pisilinux.org + + + diff --git a/multimedia/sound/sox/translations.xml b/multimedia/sound/sox/translations.xml new file mode 100644 index 0000000000..6b610cb2a6 --- /dev/null +++ b/multimedia/sound/sox/translations.xml @@ -0,0 +1,13 @@ + + + + sox + Bir çok ses formatını birbirine dönüştürebilen, çalabilen ve kaydedebilen bir yazılım + SoX çeşitli ses dosyası formatlarını birbirine çevirebilen bir konsol aracıdır. Sox ayrıca bu çevirme esnasında ses dosyalarına çeşitli efektler uygulayabilir. Bunların yanı sıra ses kaydı yapabilir ve ses dosyalarını oynatabilir. + + + + sox-devel + sox için geliştirme dosyaları + +