From: rennes <rennes@openmailbox.org>
To: Thomas Danckaert <post@thomasdanckaert.be>
Cc: 27002@debbugs.gnu.org
Subject: [bug#27002] [PATCH] gnu: Add lollypop.
Date: Sat, 24 Jun 2017 13:06:53 -0500 [thread overview]
Message-ID: <FeKByNrE7wQC0ez/x7BPTN@myqL5xI/SOTC0XG6I2+L8> (raw)
In-Reply-To: <20170619.105201.530471110194945540.post@thomasdanckaert.be> (from post@thomasdanckaert.be on Mon Jun 19 03:52:01 2017)
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
Hello,
>
> I also have gst-plugins-base in my profile. I don't know why it
> doesn't work :) I assume lollypop works for you?
>
I have added libraries to 'propagated-inputs', in 'inputs' does not
work.
Now I don't have libraries in my profile. Can you test?
[-- Attachment #2: 0001-gnu-Add-lollypop.patch --]
[-- Type: text/x-patch, Size: 4866 bytes --]
From 53cb8073b21fbdcebdb83e3030344bfc38541bb9 Mon Sep 17 00:00:00 2001
From: rennes <rennes@openmailbox.org>
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 © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
;;;
;;; 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 >= 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))
(define-public libmpdclient
@@ -322,3 +327,63 @@ Daemon (MPD). It supports playlists, multiple profiles (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 information
+from artists and tracks from the web. It also fetches cover artworks
+automatically and it can stream songs from online music services and charts.")
+ (license license:gpl3+)))
--
2.13.1
next prev parent reply other threads:[~2017-06-24 18:08 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-20 4:18 bug#27002: [PATCH] gnu: Add lollypop rennes
2017-06-16 12:08 ` [bug#27002] " Thomas Danckaert
2017-06-16 12:59 ` Ludovic Courtès
2017-06-18 3:21 ` rennes
2017-06-19 8:52 ` Thomas Danckaert
2017-06-24 18:06 ` rennes [this message]
2017-06-26 8:39 ` Thomas Danckaert
2017-07-11 9:11 ` bug#27002: " Ludovic Courtès
2017-06-19 13:28 ` [bug#27002] " Thomas Danckaert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FeKByNrE7wQC0ez/x7BPTN@myqL5xI/SOTC0XG6I2+L8 \
--to=rennes@openmailbox.org \
--cc=27002@debbugs.gnu.org \
--cc=post@thomasdanckaert.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).