libsndfile.

This commit is contained in:
4fury-c3440d8
2023-01-29 08:30:15 +03:00
parent d59bfc08f5
commit 9d3d9e3e25
2 changed files with 19 additions and 6 deletions
+8 -5
View File
@@ -4,15 +4,18 @@
# Licensed under the GNU General Public License, version 3. # Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt # See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get from pisi.actionsapi import get
def setup(): i = ''.join([
shelltools.export("PYTHON", "/usr/bin/env python3") ' PYTHON=python3',
' --enable-alsa',
' --disable-static '
])
autotools.configure("--enable-alsa --disable-static") def setup():
autotools.configure(i)
def build(): def build():
autotools.make() autotools.make()
@@ -20,4 +23,4 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "NEWS") pisitools.dodoc("AUTHORS", "CHANGELOG.md")
+11 -1
View File
@@ -14,9 +14,10 @@
<PartOf>multimedia.sound</PartOf> <PartOf>multimedia.sound</PartOf>
<Summary>A C library for reading and writing files containing sampled sound</Summary> <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> <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="f16a88e7223baef7c4497536dc1b55b56811debc" type="tarbz2">https://github.com/libsndfile/libsndfile/releases/download/1.0.31/libsndfile-1.0.31.tar.bz2</Archive> <Archive sha1sum="a3d3f98c8063b191614fcbca959fb7b9d8942ceb" type="tarxz">https://github.com/libsndfile/libsndfile/releases/download/1.2.0/libsndfile-1.2.0.tar.xz</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>flac-devel</Dependency> <Dependency>flac-devel</Dependency>
<Dependency>lame-devel</Dependency>
<Dependency>libogg-devel</Dependency> <Dependency>libogg-devel</Dependency>
<Dependency>python3-devel</Dependency> <Dependency>python3-devel</Dependency>
<Dependency>libopus-devel</Dependency> <Dependency>libopus-devel</Dependency>
@@ -32,6 +33,7 @@
<Name>libsndfile</Name> <Name>libsndfile</Name>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>flac</Dependency> <Dependency>flac</Dependency>
<Dependency>lame</Dependency>
<Dependency>libogg</Dependency> <Dependency>libogg</Dependency>
<Dependency>libopus</Dependency> <Dependency>libopus</Dependency>
<Dependency>alsa-lib</Dependency> <Dependency>alsa-lib</Dependency>
@@ -52,6 +54,7 @@
<RuntimeDependencies> <RuntimeDependencies>
<Dependency release="current">libsndfile</Dependency> <Dependency release="current">libsndfile</Dependency>
<Dependency>flac-devel</Dependency> <Dependency>flac-devel</Dependency>
<Dependency>lame-devel</Dependency>
<Dependency>libogg-devel</Dependency> <Dependency>libogg-devel</Dependency>
<Dependency>libopus-devel</Dependency> <Dependency>libopus-devel</Dependency>
<Dependency>libvorbis-devel</Dependency> <Dependency>libvorbis-devel</Dependency>
@@ -89,6 +92,13 @@
</Package> </Package>
<History> <History>
<Update release="8">
<Date>2023-01-27</Date>
<Version>1.2.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="7"> <Update release="7">
<Date>2021-12-04</Date> <Date>2021-12-04</Date>
<Version>1.0.31</Version> <Version>1.0.31</Version>