summary refs log tree commit diff
diff options
context:
space:
mode:
authorTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-03-05 20:44:00 +0100
committerTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-03-09 22:57:45 +0100
commitcc6c01706600326f90b01f0a3a789bf463cef650 (patch)
tree0514083dac265d43e3de62f386bd6005fae73f3a
parentdb361234f1df879847835fcf391baa2787a83900 (diff)
downloadguix-cc6c01706600326f90b01f0a3a789bf463cef650.tar.gz
gnu: Add libcdio-paranoia.
* gnu/packages/cdrom.scm (libcdio-paranoia): New variable.
* gnu/packages/video.scm (ffmpeg): Add input libcdio-paranoia.
-rw-r--r--gnu/packages/cdrom.scm21
-rw-r--r--gnu/packages/video.scm3
2 files changed, 23 insertions, 1 deletions
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 05980bc365..9af0ea7b09 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -98,6 +98,27 @@ device-dependent properties of CD-ROM or the specific details of CD image
 formats.")
     (license gpl3+)))
 
+(define-public libcdio-paranoia
+  (package
+    (name "libcdio-paranoia")
+    (version "10.2+0.93+1")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "mirror://gnu/libcdio/libcdio-paranoia-"
+                                 version ".tar.bz2"))
+             (sha256
+              (base32
+               "14x4b4jk5b0zvcalrg02y4jmbkmmlb07qfmk5hph9k18b8frn7gc"))))
+    (build-system gnu-build-system)
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (propagated-inputs `(("libcdio" ,libcdio)))
+    (home-page "http://www.gnu.org/software/libcdio/")
+    (synopsis "Jitter- and error-tolerant CD audio extraction")
+    (description
+     "libcdio-paranoia is an implementation of CD paranoia libraries based on
+libcdio.")
+    (license gpl3+)))
+
 (define-public xorriso
   (package
     (name "xorriso")
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 598e164871..5404f9df9c 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -178,6 +178,7 @@ SMPTE 314M.")
        ("lame" ,lame)
        ("libbluray" ,libbluray)
        ("libcaca" ,libcaca)
+       ("libcdio-paranoia" ,libcdio-paranoia)
        ("libquvi" ,libquvi)
        ("libtheora" ,libtheora)
        ("libvorbis" ,libvorbis)
@@ -223,7 +224,6 @@ SMPTE 314M.")
 ;;   --enable-libaacplus      enable AAC+ encoding via libaacplus [no]
 ;;   --enable-libass          enable libass subtitles rendering [no]
 ;;   --enable-libcelt         enable CELT decoding via libcelt [no]
-;;   --enable-libcdio         enable audio CD grabbing with libcdio
 ;;   --enable-libdc1394       enable IIDC-1394 grabbing using libdc1394
 ;;                            and libraw1394 [no]
 ;;   --enable-libfaac         enable AAC encoding via libfaac [no]
@@ -269,6 +269,7 @@ SMPTE 314M.")
                       ;; "--enable-gnutls" ; causes test failures
                       "--enable-libbluray"
                       "--enable-libcaca"
+                      "--enable-libcdio"
                       "--enable-libfreetype"
                       "--enable-libmp3lame"
                       "--enable-libopus"