gnu: Add libopusenc.

* gnu/packages/xiph.scm (libopusenc): New variable.
This commit is contained in:
Leo Famulari 2018-10-19 16:23:27 -04:00
parent d6a9c4ecfb
commit ce08d54c35
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 23 additions and 0 deletions

View File

@ -8,6 +8,7 @@
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2017, 2018 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -412,6 +413,28 @@ windows systems.")
(license license:bsd-3) (license license:bsd-3)
(home-page "https://www.opus-codec.org"))) (home-page "https://www.opus-codec.org")))
(define-public libopusenc
(package
(name "libopusenc")
(version "0.2.1")
(source (origin
(method url-fetch)
(uri (string-append "https://archive.mozilla.org/pub/opus/"
"libopusenc-" version ".tar.gz"))
(sha256
(base32
"1ffb0vhlymlsq70pxsjj0ksz77yfm2x0a1x8q50kxmnkm1hxp642"))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
(propagated-inputs
`(("opus" ,opus)))
(synopsis "Library for encoding Opus audio files and streams ")
(description "The libopusenc libraries provide a high-level API for
encoding Opus files and streams.")
(home-page "https://www.opus-codec.org/")
(license license:bsd-3)))
(define-public icecast (define-public icecast
(package (package
(name "icecast") (name "icecast")