fix deps for pulseaudio
lirc left.
This commit is contained in:
@@ -4,10 +4,13 @@
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
<Package>
|
||||
<Name>orc-devel</Name>
|
||||
<Summary>orc için geliştirme dosyaları</Summary>
|
||||
<RunTimeDependencies>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">orc</Dependency>
|
||||
</RunTimeDependencies>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
#!/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 autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.configure("--with-pic \
|
||||
--enable-sndfile \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-fftw \
|
||||
--disable-dependency-tracking")
|
||||
|
||||
# Remove RPATH
|
||||
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
|
||||
pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
|
||||
@@ -0,0 +1,32 @@
|
||||
Index: libsamplerate-0.1.3/examples/Makefile.am
|
||||
===================================================================
|
||||
--- libsamplerate-0.1.3.orig/examples/Makefile.am
|
||||
+++ libsamplerate-0.1.3/examples/Makefile.am
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
bin_PROGRAMS = sndfile-resample
|
||||
|
||||
-noinst_PROGRAMS = varispeed-play timewarp-file
|
||||
+EXTRA_PROGRAMS = varispeed-play timewarp-file
|
||||
|
||||
SAMPLERATEDIR =../src
|
||||
INCLUDES = -I$(srcdir)/$(SAMPLERATEDIR) @OS_SPECIFIC_INCLUDES@
|
||||
Index: libsamplerate-0.1.3/tests/Makefile.am
|
||||
===================================================================
|
||||
--- libsamplerate-0.1.3.orig/tests/Makefile.am
|
||||
+++ libsamplerate-0.1.3/tests/Makefile.am
|
||||
@@ -1,4 +1,4 @@
|
||||
-noinst_PROGRAMS = misc_test termination_test simple_test callback_test \
|
||||
+EXTRA_PROGRAMS = misc_test termination_test simple_test callback_test \
|
||||
reset_test multi_channel_test snr_bw_test \
|
||||
float_short_test varispeed_test callback_hang_test \
|
||||
src-evaluate throughput_test
|
||||
@@ -55,7 +55,7 @@ throughput_test_LDADD = $(SAMPLRATEDIR)
|
||||
|
||||
#===============================================================================
|
||||
|
||||
-check: $(noinst_PROGRAMS)
|
||||
+check: $(EXTRA_PROGRAMS)
|
||||
date
|
||||
uname -a
|
||||
./misc_test
|
||||
@@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsamplerate</Name>
|
||||
<Homepage>http://www.mega-nerd.com/SRC/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio</Summary>
|
||||
<Description>Secret Rabbit Code is a sample rate converter for audio. It is capable of arbitrary and time varying conversions. It can downsample by a factor of 12 and upsample by the same factor. The ratio of input and output sample rates can be a real number. The conversion ratio can also vary with time for speeding up and slowing down effects.</Description>
|
||||
<Archive sha1sum="e5fe82c4786be2fa33ca6bd4897db4868347fe70" type="targz">http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsndfile-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">dontbuild-tests-examples.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libsamplerate</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libsndfile</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libsamplerate-devel</Name>
|
||||
<Summary>Development files for libsamplerate</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libsamplerate</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>0.1.8</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-01</Date>
|
||||
<Version>0.1.8</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2011-10-17</Date>
|
||||
<Version>0.1.8</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsamplerate</Name>
|
||||
<Summary xml:lang="tr">libsamplerate ses dosyaları için basit bir örnekleme oranı dönüştürücü</Summary>
|
||||
<Summary xml:lang="fr">Secret Rabbit Code (alias libsamplerate) est un convertisseur audio de taux de Sample (Sample Rate Converter).</Summary>
|
||||
<Description xml:lang="tr">libsamplerate (Seceret Rabbit Code) ses dosyaları için basit bir örnekleme oranı dönüştürücüsüdür. Zaman ya da tercih edilen başka bir yapıya bağlı olarak 12 kata kadar dönüşüm yapabilir. Örnekleme oranı değiştirebildiği gibi hızlandırma ve yavaşlatma filtreleri de uygulayabilir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libsamplerate-devel</Name>
|
||||
<Summary xml:lang="tr">libsamplerate için geliştirme dosyaları</Summary>
|
||||
<Description xml:lang="tr">libsamplerate için geliştirme dosyaları</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user