From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9B4I-00022A-19 for guix-patches@gnu.org; Sun, 07 Oct 2018 11:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9B4E-0002bW-Lq for guix-patches@gnu.org; Sun, 07 Oct 2018 11:34:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35290) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9B4E-0002bQ-IO for guix-patches@gnu.org; Sun, 07 Oct 2018 11:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g9B4E-0008T5-Eb for guix-patches@gnu.org; Sun, 07 Oct 2018 11:34:02 -0400 Subject: [bug#32971] [PATCH] gnu: Add picard. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9B3b-0001xw-9O for guix-patches@gnu.org; Sun, 07 Oct 2018 11:33:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9B3X-0002Ck-3f for guix-patches@gnu.org; Sun, 07 Oct 2018 11:33:22 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:45982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9B3P-00029f-Gl for guix-patches@gnu.org; Sun, 07 Oct 2018 11:33:12 -0400 Received: from localhost (cpc102582-walt20-2-0-cust14.13-2.cable.virginm.net [86.27.34.15]) by mira.cbaines.net (Postfix) with ESMTPSA id 5E1F116612 for ; Sun, 7 Oct 2018 16:33:08 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 18457e38 for ; Sun, 7 Oct 2018 15:33:07 +0000 (UTC) From: Christopher Baines Date: Sun, 7 Oct 2018 16:33:07 +0100 Message-Id: <20181007153307.25389-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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: 32971@debbugs.gnu.org * gnu/packages/music.scm (picard): New variable. --- gnu/packages/music.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 3163e6a8f6..e1bac6f51e 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -2429,6 +2429,47 @@ and managing stations, can be controlled remotely = via fifo, and can run event-based scripts for scrobbling, notifications, etc.") (license license:expat))) =20 +(define-public picard + (package + (name "picard") + (version "2.0.4") + (source (origin + (method url-fetch) + (uri (string-append + "https://musicbrainz.osuosl.org/pub/musicbrainz/" + "picard/picard-" version ".tar.gz")) + (sha256 + (base32 + "0ds3ylpqn717fnzcjrfn05v5xram01bj6n3hwn9igmkd1jgf8vhc"))= )) + (build-system python-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "picard/const/__init__.py" + (("pyfpcalc") + (string-append + "pyfpcalc', '" + (assoc-ref inputs "chromaprint") "/bin/fpcalc"))))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (invoke "python" "setup.py" "install" + (string-append "--prefix=3D" (assoc-ref outputs "ou= t")) + "--root=3D/")))))) + (native-inputs + `(("gettext" ,gettext-minimal))) + (inputs + `(("chromaprint" ,chromaprint) + ("python-pyqt" ,python-pyqt) + ("python-mutagen" ,python-mutagen))) + (home-page "https://picard.musicbrainz.org/") + (synopsis "Graphical music tagging application") + (description + "MusicBrainz Picard is a music tagging application, supporting mult= iple +formats, looking up tracks through metadata and audio fingerprints.") + (license license:gpl2+))) + (define-public python-mutagen (package (name "python-mutagen") --=20 2.19.1