diff --git a/multimedia/sound/libsndfile/actions.py b/multimedia/sound/libsndfile/actions.py index 34a9b9700e..059c3e632e 100644 --- a/multimedia/sound/libsndfile/actions.py +++ b/multimedia/sound/libsndfile/actions.py @@ -2,38 +2,17 @@ # -*- 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 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" + shelltools.export("PYTHON", "/usr/bin/env python3") - 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()) + autotools.configure("--enable-alsa --disable-static") def build(): autotools.make() @@ -41,4 +20,4 @@ def build(): def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) - pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README") + pisitools.dodoc("AUTHORS", "NEWS") diff --git a/multimedia/sound/libsndfile/pspec.xml b/multimedia/sound/libsndfile/pspec.xml index 291ed9de31..d9f46363fb 100644 --- a/multimedia/sound/libsndfile/pspec.xml +++ b/multimedia/sound/libsndfile/pspec.xml @@ -1,9 +1,9 @@ - + libsndfile - http://www.mega-nerd.com/libsndfile/ + https://libsndfile.github.io/libsndfile/ PisiLinux Community admins@pisilinux.org @@ -11,19 +11,20 @@ LGPLv2.1 library app:console + multimedia.sound A C library for reading and writing files containing sampled sound 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. - http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.28.tar.gz + https://github.com/libsndfile/libsndfile/releases/download/1.0.31/libsndfile-1.0.31.tar.bz2 flac-devel libogg-devel + python3-devel + libopus-devel alsa-lib-devel libvorbis-devel - libsndfile-1.0.18-less_strict_tests.patch - - + @@ -32,6 +33,7 @@ flac libogg + libopus alsa-lib libvorbis @@ -66,12 +68,14 @@ flac-32bit alsa-lib-32bit libogg-32bit + libopus-32bit libvorbis-32bit flac-32bit alsa-lib-32bit libogg-32bit + libopus-32bit libvorbis-32bit libsndfile @@ -81,6 +85,13 @@ + + 2021-12-04 + 1.0.31 + Version bump. + Pisi Linux Community + admin@pisilinux.org + 2020-01-12 1.0.28