sox:add pisi-2.0 and v.bump
This commit is contained in:
@@ -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*")
|
||||
@@ -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
|
||||
@@ -0,0 +1,125 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sox</Name>
|
||||
<Homepage>http://sox.sourceforge.net</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<Summary>The swiss army knife of sound processing programs</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="dc9668256b9d81ef25d672f14f12ec026b0b4087" type="tarbz2">mirrors://sourceforge/sox/sox-14.4.2.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
<Dependency>opencore-amr-devel</Dependency>
|
||||
<Dependency>libsndfile-devel</Dependency>
|
||||
<Dependency>ladspa-sdk-devel</Dependency>
|
||||
<Dependency>libid3tag-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>wavpack-devel</Dependency>
|
||||
<Dependency>libmad-devel</Dependency>
|
||||
<Dependency>ffmpeg-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libao-devel</Dependency>
|
||||
<Dependency>lame-devel</Dependency>
|
||||
<!-- <Dependency>flac-devel</Dependency> -->
|
||||
<Dependency>gsm-devel</Dependency>
|
||||
<Dependency>twolame-devel</Dependency>
|
||||
<Dependency>libgomp</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">sox-dynamic.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sox</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gsm</Dependency>
|
||||
<Dependency>file</Dependency>
|
||||
<Dependency>lame</Dependency>
|
||||
<Dependency>libao</Dependency>
|
||||
<Dependency>libmad</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>libgomp</Dependency>
|
||||
<Dependency>twolame</Dependency>
|
||||
<Dependency>wavpack</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>libsndfile</Dependency>
|
||||
<Dependency>libtool-ltdl</Dependency>
|
||||
<Dependency>opencore-amr</Dependency>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>sox-devel</Name>
|
||||
<Summary>Development files for sox</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">sox</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2015-11-17</Date>
|
||||
<Version>14.4.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2015-02-21</Date>
|
||||
<Version>14.4.1</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-02-11</Date>
|
||||
<Version>14.4.1</Version>
|
||||
<Comment>Rebuild Unused</Comment>
|
||||
<Name>Varol Maksutoğlu</Name>
|
||||
<Email>waroi@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-11-26</Date>
|
||||
<Version>14.4.1</Version>
|
||||
<Comment>rebuild for ffmpeg</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-08-29</Date>
|
||||
<Version>14.4.1</Version>
|
||||
<Comment>missing dep. version bump</Comment>
|
||||
<Name>Erdinç gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-08-28</Date>
|
||||
<Version>14.4.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Fatih Turgel</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>sox</Name>
|
||||
<Summary xml:lang="tr">Bir çok ses formatını birbirine dönüştürebilen, çalabilen ve kaydedebilen bir yazılım</Summary>
|
||||
<Description xml:lang="tr">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.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>sox-devel</Name>
|
||||
<Summary xml:lang="tr">sox için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user