From 6bfc16d93c04f4be2ef53a5fe271d8898a02fda8 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 7 Aug 2013 19:02:56 +0200 Subject: gnu: Add cdparanoia. * gnu/packages/cdrom.scm (cdparanoia): New variable. * gnu/packages/patches/cdparanoia-fpic.patch: New file. * gnu-system.am: Add patch. --- gnu/packages/cdrom.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) (limited to 'gnu/packages/cdrom.scm') diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index d6b0a846e6..f881e7ab3a 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2013 Ludovic Courtès +;;; Copyright © 2013 Andreas Enge ;;; ;;; This file is part of GNU Guix. ;;; @@ -19,7 +20,7 @@ (define-module (gnu packages cdrom) #:use-module (guix download) #:use-module (guix packages) - #:use-module ((guix licenses) #:select (lgpl2.1+ gpl3+)) + #:use-module ((guix licenses) #:select (lgpl2.1+ gpl2 gpl3+)) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages acl) @@ -113,3 +114,31 @@ (define-public xorriso objects. Vice versa xorriso is able to copy file objects out of ISO 9660 filesystems.") (license gpl3+))) + +(define-public cdparanoia + (package + (name "cdparanoia") + (version "10.2") + (source (origin + (method url-fetch) + (uri (string-append "http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-" + version ".src.tgz")) + (sha256 + (base32 + "1pv4zrajm46za0f6lv162iqffih57a8ly4pc69f7y0gfyigb8p80")))) + (build-system gnu-build-system) + (inputs + `(("patch/fpic" ,(search-patch "cdparanoia-fpic.patch")))) + (arguments + `(#:tests? #f ; there is no check target + #:patches (list (assoc-ref %build-inputs "patch/fpic")))) + (home-page "http://www.xiph.org/paranoia/") + (synopsis "audio CD reading utility which includes extra data verification features") + (description "Cdparanoia retrieves audio tracks from CDDA capable CDROM +drives. The data can be saved to a file or directed to standard output +in WAV, AIFF, AIFF-C or raw format. Most ATAPI, SCSI and several +proprietary CDROM drive makes are supported; cdparanoia can determine if the +target drive is CDDA capable. In addition to simple reading, cdparanoia adds +extra-robust data verification, synchronization, error handling and scratch +reconstruction capability.") + (license gpl2))) ; libraries under lgpl2.1 -- cgit v1.2.3