gnu: opus-tools: Update to 0.2.

* gnu/packages/xiph.scm (opus-tools): Update to 0.2.
[native-inputs]: Add pkg-config.
[inputs]: Add libopusenc and opusfile. Remove libogg and opus.
This commit is contained in:
Leo Famulari 2018-10-19 16:27:58 -04:00
parent 844b3272da
commit d0ff383ed8
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 8 additions and 5 deletions

View File

@ -355,7 +355,7 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
(define opus-tools (define opus-tools
(package (package
(name "opus-tools") (name "opus-tools")
(version "0.1.10") (version "0.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (string-append
@ -363,7 +363,7 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"135jfb9ny3xvd27idsxj7j5ns90lslbyrq70cq3bfwcls4r7add2")))) "11pzl27s4vcz4m18ch72nivbhww2zmzn56wspb7rll1y1nq6rrdl"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
;; The package developers misuse pkg-config such that it doesn't work ;; The package developers misuse pkg-config such that it doesn't work
@ -374,9 +374,12 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
"/include -I" "/include -I"
(assoc-ref %build-inputs "opus") (assoc-ref %build-inputs "opus")
"/include/opus")))) "/include/opus"))))
(inputs `(("libogg" ,libogg) (native-inputs
("opus" ,opus) `(("pkg-config" ,pkg-config)))
("flac" ,flac))) (inputs
`(("libopusenc" ,libopusenc)
("opusfile" ,opusfile)
("flac" ,flac)))
(synopsis (synopsis
"Command line utilities to encode, inspect, and decode .opus files") "Command line utilities to encode, inspect, and decode .opus files")
(description "Opus is a royalty-free, highly versatile audio codec. (description "Opus is a royalty-free, highly versatile audio codec.