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

View file

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