libsamplerate.
This commit is contained in:
@@ -2,21 +2,24 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
j = ''.join([
|
||||
' --enable-shared',
|
||||
' --enable-sndfile',
|
||||
' --disable-fftw',
|
||||
' --disable-static',
|
||||
' --disable-dependency-tracking',
|
||||
' --with-pic '
|
||||
])
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-fiv")
|
||||
autotools.configure("--with-pic \
|
||||
--enable-sndfile \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-fftw \
|
||||
--disable-dependency-tracking")
|
||||
autotools.configure(j)
|
||||
|
||||
# Remove RPATH
|
||||
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
|
||||
@@ -28,4 +31,4 @@ def build():
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
|
||||
pisitools.dodoc("AUTHORS", "NEWS")
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libsamplerate</Name>
|
||||
<Homepage>http://www.mega-nerd.com/SRC/</Homepage>
|
||||
<Homepage>https://github.com/libsndfile/libsamplerate</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
@@ -12,12 +12,12 @@
|
||||
<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="ed60f957a4ff87aa15cbb1f3dbd886fa7e5e9566" type="targz">http://www.mega-nerd.com/SRC/libsamplerate-0.1.9.tar.gz</Archive>
|
||||
<Archive sha1sum="93eacb671d2d09e317f5ccd49967cf747cb4d937" type="tarxz">https://github.com/libsndfile/libsamplerate/releases/download/0.2.2/libsamplerate-0.2.2.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsndfile-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">dontbuild-tests-examples.patch</Patch>
|
||||
<!-- <Patch level="1">dontbuild-tests-examples.patch</Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
@@ -46,6 +46,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="6">
|
||||
<Date>2022-01-18</Date>
|
||||
<Version>0.2.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2020-01-12</Date>
|
||||
<Version>0.1.9</Version>
|
||||
|
||||
Reference in New Issue
Block a user