Subject: [bug#33098] [PATCH 3/4] gnu: opus-tools: Update to 0.2.

From: Leo Famulari <[email-masked]>
Date: Fri, 19 Oct 2018 17:11:55 -0400

* gnu/packages/xiph.scm (opus-tools): Update to 0.2.
[native-inputs]: Add pkg-config.
[inputs]: Add libopusenc and opusfile. Remove libogg and opus.
---
 gnu/packages/xiph.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index 0a0e615a0..32f4e4da6 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -354,7 +354,7 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
 (define opus-tools
   (package
     (name "opus-tools")
-    (version "0.1.10")
+    (version "0.2")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -362,7 +362,7 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
                     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
@@ -373,8 +373,10 @@ incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec.")
                                               "/include -I"
                                               (assoc-ref %build-inputs "opus")
                                               "/include/opus"))))
-    (inputs `(("libogg" ,libogg)
-              ("opus" ,opus)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs `(("libopusenc" ,libopusenc)
+              ("opusfile" ,opusfile)
               ("flac" ,flac)))
     (synopsis
      "Command line utilities to encode, inspect, and decode .opus files")
-- 
2.19.1