From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOpTZ-00071c-Lj for guix-patches@gnu.org; Sat, 24 Jun 2017 14:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dOpTV-0004Hh-Sr for guix-patches@gnu.org; Sat, 24 Jun 2017 14:08:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33234) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dOpTV-0004HX-On for guix-patches@gnu.org; Sat, 24 Jun 2017 14:08:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dOpTV-0006pb-Jl for guix-patches@gnu.org; Sat, 24 Jun 2017 14:08:01 -0400 Subject: [bug#27002] [PATCH] gnu: Add lollypop. References: Resent-Message-ID: Date: Sat, 24 Jun 2017 13:06:53 -0500 From: rennes In-Reply-To: <20170619.105201.530471110194945540.post@thomasdanckaert.be> (from post@thomasdanckaert.be on Mon Jun 19 03:52:01 2017) Message-Id: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-pquQZ9bRkN7Pri6eo5tA" 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: Thomas Danckaert Cc: 27002@debbugs.gnu.org --=-pquQZ9bRkN7Pri6eo5tA Content-Type: text/plain; charset=us-ascii; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, >=20 > I also have gst-plugins-base in my profile. I don't know why it =20 > doesn't work :) I assume lollypop works for you? >=20 I have added libraries to 'propagated-inputs', in 'inputs' does not =20 work. Now I don't have libraries in my profile. Can you test?= --=-pquQZ9bRkN7Pri6eo5tA 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 53cb8073b21fbdcebdb83e3030344bfc38541bb9 Mon Sep 17 00:00:00 2001 From: rennes Date: Sat, 24 Jun 2017 12:53:16 -0500 Subject: [PATCH] gnu: Add lollypop. * guix/gnu/packages/mpd.scm (lollypop): New variable. --- gnu/packages/mpd.scm | 65 ++++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 65 insertions(+) diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm index 5692ff676..a95f516a3 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 @@ -322,3 +327,63 @@ 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.240") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/gnumdk/lollypop/" + "releases/download/" version "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0n1ycmg6dgz1pajs80fwlcbxw3rx1hff1xw6ja67zngm85ydbjvq")))) + (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))) + (propagated-inputs + `(;; gst-plugins-base is required to start Lollypop, + ;; the others are required to play streaming. + ("gst-plugins-base" ,gst-plugins-base) + ("gst-plugins-good" ,gst-plugins-good) + ("gst-plugins-ugly" ,gst-plugins-ugly))) + (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.13.1 = --=-pquQZ9bRkN7Pri6eo5tA--