continue for avahi and pulseaudio

This commit is contained in:
Ertuğrul Erata
2015-07-07 00:45:18 +03:00
parent 2e622e8fa3
commit 69842c3994
21 changed files with 738 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
+91
View File
@@ -0,0 +1,91 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>orc</Name>
<Homepage>http://code.entropywave.com/projects/orc/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<License>BSD-2</License>
<IsA>app:console</IsA>
<Summary>The Oil Runtime Compiler</Summary>
<Description>Optimized Inner Loop Runtime Compiler</Description>
<Archive sha1sum="6186a6a5faefe6b61d55e5406c7365d69b91c982" type="targz">http://gstreamer.freedesktop.org/src/orc/orc-0.4.19.tar.gz</Archive>
<BuildDependencies>
<!--Dependency>valgrind</Dependency-->
</BuildDependencies>
</Source>
<Package>
<Name>orc</Name>
<Files>
<Path fileType="executable">/usr/bin/</Path>
<Path fileType="library">/usr/lib/</Path>
<Path fileType="data">/usr/share/</Path>
</Files>
</Package>
<Package>
<Name>orc-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for orc</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>glibc-32bit</Dependency>
<Dependency release="current">orc</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<Package>
<Name>orc-devel</Name>
<Summary>orc için geliştirme dosyaları</Summary>
<RunTimeDependencies>
<Dependency release="current">orc</Dependency>
</RunTimeDependencies>
<Files>
<Path fileType="header">/usr/include/</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2014-05-20</Date>
<Version>0.4.19</Version>
<Comment>Version bump, fix version.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2013-11-24</Date>
<Version>4.18</Version>
<Comment>Version bump</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-02-14</Date>
<Version>4.16</Version>
<Comment>Add emul32</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-08-29</Date>
<Version>4.16</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ocr</Name>
<Summary xml:lang="en">The Oil Runtime Compiler</Summary>
<Description xml:lang="en">Optimized Inner Loop Runtime Compiler</Description>
</Source>
<Package>
<Name>orc-devel</Name>
<Summary xml:lang="tr">orc için geliştirme dosyaları</Summary>
</Package>
</PISI>
+44
View File
@@ -0,0 +1,44 @@
#!/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 libtools
from pisi.actionsapi import get
def setup():
options = "--disable-static \
--disable-sqlite \
--enable-flac \
--enable-alsa \
--enable-largefile \
--disable-gcc-pipe \
--disable-jack \
--disable-octave \
--disable-gcc-werror \
--disable-dependency-tracking"
pisitools.dosed("examples/Makefile.am", "noinst_PROGRAMS", "check_PROGRAMS")
pisitools.dosed("tests/Makefile.am", "noinst_PROGRAMS", "check_PROGRAMS")
shelltools.unlink("M4/libtool.m4")
for i in shelltools.ls("M4/lt*.m4"):
shelltools.unlink(i)
autotools.autoreconf("-fi -I M4")
autotools.configure(options)
pisitools.dosed("doc/Makefile", "^htmldocdir.*", "htmldocdir = /usr/share/doc/%s/html" % get.srcNAME())
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
@@ -0,0 +1,25 @@
Index: libsndfile-1.0.17/configure.ac
===================================================================
--- libsndfile-1.0.17.orig/configure.ac
+++ libsndfile-1.0.17/configure.ac
@@ -268,6 +268,7 @@ else
fi
AC_DEFINE_UNQUOTED([HAVE_SQLITE3],$HAVE_SQLITE3,[Set to 1 if you have libsqlite3.])
+AM_CONDITIONAL(HAVE_SQLITE3, [test "x$ac_cv_sqlite3" = "xyes"])
#====================================================================================
# Determine if the processor can do clipping on float to int conversions.
Index: libsndfile-1.0.17/regtest/Makefile.am
===================================================================
--- libsndfile-1.0.17.orig/regtest/Makefile.am
+++ libsndfile-1.0.17/regtest/Makefile.am
@@ -1,6 +1,8 @@
## Process this file with automake to produce Makefile.in
+if HAVE_SQLITE3
bin_PROGRAMS = sndfile-regtest
+endif
noinst_HEADERS = regtest.h
@@ -0,0 +1,26 @@
This one fails on amd64; vorbis is lossy anyway so just increase the tolerance
for now.
Index: libsndfile-1.0.18/tests/floating_point_test.tpl
===================================================================
--- libsndfile-1.0.18.orig/tests/floating_point_test.tpl
+++ libsndfile-1.0.18/tests/floating_point_test.tpl
@@ -111,7 +111,7 @@ main (int argc, char *argv [])
float_scaled_test ("flac_16.flac", allow_exit, SF_FALSE, SF_FORMAT_FLAC | SF_FORMAT_PCM_16, -87.0) ;
float_scaled_test ("flac_24.flac", allow_exit, SF_FALSE, SF_FORMAT_FLAC | SF_FORMAT_PCM_24, -138.0) ;
- float_scaled_test ("vorbis.oga", allow_exit, SF_FALSE, SF_FORMAT_OGG | SF_FORMAT_VORBIS, -31.0) ;
+ float_scaled_test ("vorbis.oga", allow_exit, SF_FALSE, SF_FORMAT_OGG | SF_FORMAT_VORBIS, -21.0) ;
#endif
float_scaled_test ("replace_float.raw", allow_exit, SF_TRUE, SF_ENDIAN_LITTLE | SF_FORMAT_RAW | SF_FORMAT_FLOAT, -163.0) ;
@@ -163,7 +163,7 @@ main (int argc, char *argv [])
double_scaled_test ("flac_16.flac", allow_exit, SF_FALSE, SF_FORMAT_FLAC | SF_FORMAT_PCM_16, -87.0) ;
double_scaled_test ("flac_24.flac", allow_exit, SF_FALSE, SF_FORMAT_FLAC | SF_FORMAT_PCM_24, -138.0) ;
- double_scaled_test ("vorbis.oga", allow_exit, SF_FALSE, SF_FORMAT_OGG | SF_FORMAT_VORBIS, -29.0) ;
+ double_scaled_test ("vorbis.oga", allow_exit, SF_FALSE, SF_FORMAT_OGG | SF_FORMAT_VORBIS, -19.0) ;
#endif
double_scaled_test ("replace_double.raw", allow_exit, SF_TRUE, SF_FORMAT_RAW | SF_FORMAT_DOUBLE, -300.0) ;
@@ -0,0 +1,11 @@
diff -Nur libsndfile-1.0.20-old/Makefile.am libsndfile-1.0.20/Makefile.am
--- libsndfile-1.0.20-old/Makefile.am 2009-06-01 15:18:00.043146693 +0300
+++ libsndfile-1.0.20/Makefile.am 2009-06-01 15:18:12.023269283 +0300
@@ -1,6 +1,7 @@
## Process this file with automake to produce Makefile.in
DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror
+ACLOCAL_AMFLAGS = -I M4
if BUILD_OCTAVE_MOD
octave_dir = Octave
+108
View File
@@ -0,0 +1,108 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libsndfile</Name>
<Homepage>http://www.mega-nerd.com/libsndfile/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>LGPLv2.1</License>
<IsA>library</IsA>
<IsA>app:console</IsA>
<Summary>A C library for reading and writing files containing sampled sound</Summary>
<Description>Libsndfile is a C library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format) through one standard library interface.</Description>
<Archive sha1sum="e95d9fca57f7ddace9f197071cbcfb92fa16748e" type="targz">http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz</Archive>
<BuildDependencies>
<Dependency>flac-devel</Dependency>
<Dependency>libogg-devel</Dependency>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>libvorbis-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">libsndfile-1.0.18-less_strict_tests.patch</Patch>
<Patch level="1">libsndfile-1.0.17-regtests-need-sqlite.patch</Patch>
<Patch level="1">m4dir.patch</Patch>
</Patches>
</Source>
<Package>
<Name>libsndfile</Name>
<RuntimeDependencies>
<Dependency>flac</Dependency>
<Dependency>libogg</Dependency>
<Dependency>alsa-lib</Dependency>
<Dependency>libvorbis</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/octave</Path>
</Files>
</Package>
<Package>
<Name>libsndfile-devel</Name>
<Summary>Development files for libsndfile</Summary>
<RuntimeDependencies>
<Dependency release="current">libsndfile</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="data">/usr/lib/pkgconfig</Path>
<Path fileType="data">/usr/lib32/pkgconfig</Path>
</Files>
</Package>
<Package>
<Name>libsndfile-32bit</Name>
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for libsndfile</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
<Dependency>flac-32bit</Dependency>
<Dependency>alsa-lib-32bit</Dependency>
<Dependency>libogg-32bit</Dependency>
<Dependency>libvorbis-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency>glibc-32bit</Dependency>
<Dependency>flac-32bit</Dependency>
<Dependency>alsa-lib-32bit</Dependency>
<Dependency>libogg-32bit</Dependency>
<Dependency>libvorbis-32bit</Dependency>
<Dependency release="current">libsndfile</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-25</Date>
<Version>1.0.25</Version>
<Comment>Rebuild</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-02-01</Date>
<Version>1.0.25</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1" type="security">
<Date>2011-07-17</Date>
<Version>1.0.25</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>libsndfile</Name>
<Summary xml:lang="tr">Örneklenmiş ses verileri içeren dosyalar yazmak ve okumak için C dili kütüphanesi.</Summary>
<Description xml:lang="tr">Libsndfile, standart bir kütüphane arayüzü vasıtası ile (MS Windows WAV ve Apple/SGI AIFF biçimi gibi)örneklenmiş ses içeren dosyalar yazmak ve okumak için bir C dili kütüphanesidir.</Description>
<Description xml:lang="fr">Libsndfile est une librairie C pour lire et écrire des fichiers contenant des échantillons sonores (tels que les fichiers aux formats MS Windows WAV et Apple/SGI AIFF) à travers une seule interface de librairie standard.</Description>
<Description xml:lang="es">Libsndfile es una librería C de lectura y escritura para archivos de sonido (como MS Windows WAV y el formato Apple/SGI AIFF) con una interfaz estándar de libería.</Description>
</Source>
<Package>
<Name>libsndfile-devel</Name>
<Summary xml:lang="tr">libsndfile için geliştirme dosyaları</Summary>
</Package>
<Package>
<Name>libsndfile-32bit</Name>
<Summary xml:lang="tr">libsndfile için 32-bit paylaşımlı kitaplıklar</Summary>
</Package>
</PISI>
+4
View File
@@ -54,8 +54,12 @@
<PartOf>emul32</PartOf>
<Summary>32-bit shared libraries for speex</Summary>
<BuildType>emul32</BuildType>
<BuildDependencies>
<Dependency>glibc-32bit</Dependency>
</BuildDependencies>
<RuntimeDependencies>
<Dependency release="current">speex</Dependency>
<Dependency>glibc-32bit</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32</Path>