From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBmqw-0004bv-9D for guix-patches@gnu.org; Sun, 14 Oct 2018 16:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBmqs-0000Om-Bl for guix-patches@gnu.org; Sun, 14 Oct 2018 16:19:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:45345) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gBmqs-0000Od-7F for guix-patches@gnu.org; Sun, 14 Oct 2018 16:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gBmqs-0001IX-37 for guix-patches@gnu.org; Sun, 14 Oct 2018 16:19:02 -0400 Subject: [bug#33042] [PATCH] gnu: Add soundconverter. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBmq9-0004W2-U4 for guix-patches@gnu.org; Sun, 14 Oct 2018 16:18:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBmq5-0007un-7G for guix-patches@gnu.org; Sun, 14 Oct 2018 16:18:17 -0400 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:49792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBmq4-0007tR-1Y for guix-patches@gnu.org; Sun, 14 Oct 2018 16:18: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 D18941667A for ; Sun, 14 Oct 2018 21:18:10 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id fd895b6b for ; Sun, 14 Oct 2018 20:18:10 +0000 (UTC) From: Christopher Baines Date: Sun, 14 Oct 2018 21:18:10 +0100 Message-Id: <20181014201810.619-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: 33042@debbugs.gnu.org * gnu/packages/gnome.scm (soundconverter): New variable. --- gnu/packages/gnome.scm | 61 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index de938e4b14..ab7352e104 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -7220,6 +7220,67 @@ It supports ripping to any audio codec supported b= y a GStreamer plugin, such as mp3, Ogg Vorbis and FLAC") (license license:gpl2+))) =20 +(define-public soundconverter + (package + (name "soundconverter") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://launchpad.net/soundconverter/trunk/" + version "/+download/" + "soundconverter-" version ".tar.xz")) + + (sha256 + (base32 + "1wrxf5py54xplrf97qp24pzbis0cvax5c6k0c7vr3z3ry8r7gd7c")) + (patches + (list + (origin + (method url-fetch) + (uri (string-append + "https://salsa.debian.org/multimedia-team/soundconverte= r" + "/raw/master/debian/patches/" + "0002-Only-fetch-profiles-if-GConf-is-still-available.p= atch")) + (sha256 + (base32 + "00nxpbkz7ihzrbz91ms7bd2mjgyhkbxpaa8zxj4xnkv4pjmg61hh")))))= )) + (build-system glib-or-gtk-build-system) + (arguments + '(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-POTFILES.in + (lambda _ + (substitute* "po/POTFILES.in" + (("soundconverter/gconfstore\\.py") "")))) + (add-after 'install 'wrap-rhythmbox + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (python-path (getenv "PYTHONPATH")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH")) + (gst-plugin-path (getenv "GST_PLUGIN_SYSTEM_PATH"))= ) + (wrap-program (string-append out "/bin/soundconverter") + `("PYTHONPATH" ":" prefix (,python-path)) + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path= )) + `("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,gst-plugin-path= )))) + #t))))) + (native-inputs + `(("intltool" ,intltool) + ("pkg-config" ,pkg-config) + ("glib:bin" ,glib "bin"))) + (inputs + `(("gtk+" ,gtk+) + ("python" ,python) + ("python-pygobject" ,python-pygobject) + ("gstreamer" ,gstreamer))) + (home-page "http://soundconverter.org/") + (synopsis "Audio file converter for the GNOME Desktop") + (description + "SoundConverter supports converting between many audio formats incl= uding +Opus, Ogg Vorbis, FLAC and more. It supports parallel conversion, and +configurable file renaming. ") + (license license:gpl3))) + (define-public workrave (let ((commit "v1_10_21")) (package --=20 2.19.1