X-Git-Url: https://git.hcoop.net/jackhill/guix/guix.git/blobdiff_plain/3e2d4e69c340c3520f546f8c7e21e52383058d1c..174f5076bf8cefe00185d6f84c1a28b47f76489c:/gnu/packages/mp3.scm diff --git a/gnu/packages/mp3.scm b/gnu/packages/mp3.scm index d408701814..ae234afa29 100644 --- a/gnu/packages/mp3.scm +++ b/gnu/packages/mp3.scm @@ -4,8 +4,9 @@ ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2016 Efraim Flashner ;;; Copyright © 2017 Thomas Danckaert -;;; Copyright © 2017 Pierre Langlois -;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2017, 2019 Pierre Langlois +;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice +;;; Copyright © 2019 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -30,6 +31,7 @@ #:use-module (gnu packages gcc) #:use-module (gnu packages boost) #:use-module (gnu packages cdrom) + #:use-module (gnu packages check) #:use-module (gnu packages compression) #:use-module (gnu packages gettext) #:use-module (gnu packages ghostscript) @@ -39,6 +41,7 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages xiph) #:use-module (gnu packages pulseaudio) @@ -65,7 +68,8 @@ "14460zhacxhswnzb36qfpd1f2wbk10qvksvm6wyq5hpvdgnw7ymv")) (patches (search-patches "libmad-armv7-thumb-pt1.patch" "libmad-armv7-thumb-pt2.patch" - "libmad-frame-length.patch" + "libmad-md_size.patch" + "libmad-length-check.patch" "libmad-mips-newgcc.patch")))) (build-system gnu-build-system) (arguments @@ -122,7 +126,8 @@ versions of ID3v2.") (modules '((guix build utils))) ;; Don't use bundled zlib (snippet '(begin (delete-file-recursively "zlib") #t)) - (patches (search-patches "id3lib-CVE-2007-4460.patch")))) + (patches (search-patches "id3lib-CVE-2007-4460.patch" + "id3lib-UTF16-writing-bug.patch")))) (build-system gnu-build-system) (inputs `(("zlib" ,zlib))) (arguments @@ -167,7 +172,7 @@ a highly stable and efficient implementation.") '(#:tests? #f ; Tests are not ran with BUILD_SHARED_LIBS on. #:configure-flags (list "-DBUILD_SHARED_LIBS=ON"))) (inputs `(("zlib" ,zlib))) - (home-page "http://taglib.org") + (home-page "https://taglib.org") (synopsis "Library to access audio file meta-data") (description "TagLib is a C++ library for reading and editing the meta-data of several @@ -304,7 +309,7 @@ This package contains the binary.") (define-public mpg123 (package (name "mpg123") - (version "1.25.10") + (version "1.25.13") (source (origin (method url-fetch) (uri (list (string-append "mirror://sourceforge/mpg123/mpg123/" @@ -314,7 +319,7 @@ This package contains the binary.") version ".tar.bz2"))) (sha256 (base32 - "08vhp8lz7d9ybhxcmkq3adwfryhivfvp0745k4r9kgz4wap3f4vc")))) + "02l915jq0ymndb082g6w89bpf66z04ifa1lr7ga3yycw6m46hc4h")))) (build-system gnu-build-system) (arguments '(#:configure-flags '("--with-default-audio=pulse"))) (native-inputs `(("pkg-config" ,pkg-config))) @@ -471,16 +476,16 @@ compression format (.mpc files).") (define-public eyed3 (package (name "eyed3") - (version "0.8.8") - (source (origin - (method url-fetch) - (uri (pypi-uri "eyeD3" version)) - (sha256 - (base32 - "197lszkyzm377ym5r0ssryfsiz20yjx8y4rii3wc81n92d1qzlaq")))) + (version "0.8.12") + (source + (origin + (method url-fetch) + (uri (pypi-uri "eyeD3" version)) + (sha256 + (base32 "0vabr7hh6vy1w8gn35vmx9qwiyrfv734d5ahifg7x3pv0c5fqkp5")))) (build-system python-build-system) (arguments - `(#:tests? #f)) ; the required test data contains copyrighted material. + `(#:tests? #f)) ; the required test data contains copyrighted material (propagated-inputs `(("python-grako" ,python-grako) ("python-magic" ,python-magic) @@ -524,3 +529,49 @@ command-line tool.") fingerprints which are used by the Acoustid service. Its main purpose is to provide an accurate identifier for record tracks.") (license license:lgpl2.1+))) + +(define-public python-audioread + (package + (name "python-audioread") + (version "2.1.8") + (source + (origin + (method url-fetch) + (uri (pypi-uri "audioread" version)) + (sha256 + (base32 + "0s6iilb8ca6j6nv5a5hbyxi5alr3crvsbr6kggh82a44pkx08f87")))) + (build-system python-build-system) + (arguments `(#:tests? #f)) ; there is no "audiofile" fixture + (native-inputs + `(("python-pytest" ,python-pytest) + ("python-pytest-runner" ,python-pytest-runner))) + (home-page "https://github.com/sampsyo/audioread") + (synopsis "Decode audio files using whichever backend is available") + (description + "This package provides a Python library for audo decoding. It uses +whatever audio backend is available, such as GStreamer, Core Audio, MAD, +FFmpeg, etc.") + (license license:expat))) + +(define-public python-pyacoustid + (package + (name "python-pyacoustid") + (version "1.1.7") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pyacoustid" version)) + (sha256 + (base32 + "1zan6c22ca6sjy0g9ajwjp6mkzw7jv8r3n7jzska09a6x254lf87")))) + (build-system python-build-system) + (propagated-inputs + `(("python-audioread" ,python-audioread) + ("python-requests" ,python-requests))) + (home-page "https://github.com/sampsyo/pyacoustid") + (synopsis "Bindings for Chromaprint acoustic fingerprinting") + (description + "This package provides bindings for the Chromaprint acoustic +fingerprinting library and the Acoustid API.") + (license license:expat)))