From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWAt8-0007Ah-1x for guix-patches@gnu.org; Mon, 01 Jan 2018 19:57:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWAt4-0003Ox-IZ for guix-patches@gnu.org; Mon, 01 Jan 2018 19:57:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:51648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWAt4-0003Or-DP for guix-patches@gnu.org; Mon, 01 Jan 2018 19:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eWAt4-0002xx-5z for guix-patches@gnu.org; Mon, 01 Jan 2018 19:57:02 -0500 Subject: [bug#29938] [PATCH 1/3] gnu: Add libdiscid. Resent-Message-ID: From: nee@cock.li Date: Tue, 2 Jan 2018 01:56:27 +0100 Message-Id: <1514854589-21747-1-git-send-email-nee@cock.li> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29938@debbugs.gnu.org Cc: nee From: nee * gnu/packages/music.scm (libdiscid): New variable. --- gnu/packages/music.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 5b8728e59..5ab9978f7 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2017 Pierre Langlois ;;; Copyright © 2017 Arun Isaac ;;; Copyright © 2017 Tobias Geerinckx-Rice +;;; Copyright © 2018 nee ;;; ;;; This file is part of GNU Guix. ;;; @@ -3752,3 +3753,27 @@ for the DSSI Soft Synth Interface. A brief list of features: @end enumerate ") (license license:gpl2+))) + +(define-public libdiscid + (package + (name "libdiscid") + (version "0.6.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-" + version ".tar.gz")) + (sha256 + (base32 + "1f9irlj3dpb5gyfdnb1m4skbjvx4d4hwiz2152f83m0d9jn47r7r")))) + (arguments `(#:test-target "check")) + (build-system cmake-build-system) + (home-page "https://musicbrainz.org/doc/libdiscid") + (synopsis "Disc id reader library") + (description "libdiscid is a C library for creating MusicBrainz and freedb +disc IDs from audio CDs. It reads a CD's table of contents (TOC) and generates +an identifier which can be used to lookup the CD at MusicBrainz. Additionally, +it provides a submission URL for adding the disc ID to the database and gathers +ISRCs and the MCN (=UPC/EAN) from disc.") + (license license:lgpl2.1+))) -- 2.15.1