From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBvr7-0001PP-Nc for guix-patches@gnu.org; Sat, 20 May 2017 00:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBvr4-00075f-HH for guix-patches@gnu.org; Sat, 20 May 2017 00:19:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53167) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBvr4-00075b-D7 for guix-patches@gnu.org; Sat, 20 May 2017 00:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBvr4-00044P-4f for guix-patches@gnu.org; Sat, 20 May 2017 00:19:02 -0400 Subject: bug#27002: [PATCH] gnu: Add lollypop. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBvqI-0001No-VT for guix-patches@gnu.org; Sat, 20 May 2017 00:18:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBvqF-0006vK-Ok for guix-patches@gnu.org; Sat, 20 May 2017 00:18:14 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:33338 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBvqF-0006tK-Dj for guix-patches@gnu.org; Sat, 20 May 2017 00:18:11 -0400 Date: Fri, 19 May 2017 23:18:05 -0500 From: rennes Message-Id: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-4VEJ5agNth1Zg1PE87/q" 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: 27002@debbugs.gnu.org --=-4VEJ5agNth1Zg1PE87/q Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, Lollypop is a modern and intuitive music player. Lint and tested.= --=-4VEJ5agNth1Zg1PE87/q Content-Type: text/x-patch; charset=UTF-8; name=0001-gnu-Add-lollypop.patch Content-Disposition: attachment; filename=0001-gnu-Add-lollypop.patch Content-Transfer-Encoding: quoted-printable =46rom 7a7e30d3d11002e0ff693a8684f6fb33ea464b6d Mon Sep 17 00:00:00 2001 From: rennes Date: Fri, 19 May 2017 23:11:38 -0500 Subject: [PATCH] gnu: Add lollypop. * guix/gnu/packages/mpd.scm (lollypop): New variable. --- gnu/packages/mpd.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 1ed8e967e..6aeaf8897 100644 --- a/gnu/packages/mpd.scm +++ b/gnu/packages/mpd.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2014 Ian Denhardt ;;; Copyright =C2=A9 2015 Paul van der Walt ;;; Copyright =C2=A9 2016 Leo Famulari +;;; Copyright =C2=A9 2017 Rene Saavedra ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix utils) + #:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (gnu packages avahi) @@ -34,6 +36,7 @@ #:use-module (gnu packages gcc) ; GCC@5 for MPD >=3D 0.20 #:use-module (gnu packages gettext) #:use-module (gnu packages gnome) + #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) #:use-module (gnu packages readline) @@ -43,12 +46,14 @@ #:use-module (gnu packages glib) #:use-module (gnu packages linux) #:use-module (gnu packages mp3) + #:use-module (gnu packages music) #:use-module (gnu packages ncurses) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages databases) #:use-module (gnu packages video) + #:use-module (gnu packages webkit) #:use-module (gnu packages xiph)) =20 (define-public libmpdclient @@ -323,3 +328,57 @@ Daemon (MPD). It supports playlists, multiple profile= s (connecting to different MPD servers, search and multimedia key support.") (home-page "http://www.nongnu.org/sonata/") (license license:gpl3+))) + +(define-public lollypop + (package + (name "lollypop") + (version "0.9.237") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/gnumdk/lollypop/" + "releases/download/" version "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "027m5px4hsri7bnzn147l0kx7fam57sw93pwkv84pymcxh87f7s6")))) + (build-system glib-or-gtk-build-system) + (arguments + `(#:imported-modules ((guix build python-build-system) + ,@%glib-or-gtk-build-system-modules) + #:phases (modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))= ) + (wrap-program (string-append out "/bin/lollypop") + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path= )))) + #t)) + (add-after 'install 'wrap + (@@ (guix build python-build-system) wrap))))) + (native-inputs + `(("intltool" ,intltool) + ("itstool" ,itstool) + ("pkg-config" ,pkg-config))) + (inputs + `(("gobject-introspection" ,gobject-introspection) + ("gtk+" ,gtk+) + ("libnotify" ,libnotify) + ("libsecret" ,libsecret) + ("libsoup" ,libsoup) + ("python" ,python) + ("python-beautifulsoup4" ,python-beautifulsoup4) + ("python-gst" ,python-gst) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-pylast" ,python-pylast) + ("totem-pl-parser" ,totem-pl-parser) + ("webkitgtk" ,webkitgtk))) + (home-page "https://gnumdk.github.io/lollypop-web") + (synopsis "GNOME music playing application") + (description + "Lollypop is a music player designed to play well with GNOME desktop. +Lollypop plays audio formats such as mp3, mp4, ogg and flac and gets infor= mation +from artists and tracks from the web. It also fetches cover artworks +automatically and it can stream songs from online music services and chart= s.") + (license license:gpl3+))) --=20 2.12.0 = --=-4VEJ5agNth1Zg1PE87/q--