unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38338] [PATCH] gnu: Add ashuffle.
@ 2019-11-23  2:52 Evan Straw
  2019-11-23 21:01 ` bug#38338: " Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: Evan Straw @ 2019-11-23  2:52 UTC (permalink / raw)
  To: 38338

[-- Attachment #1: [PATCH] gnu: Add ashuffle. --]
[-- Type: text/x-patch, Size: 2395 bytes --]

From a18434dd91e09020dd12c11b41d8eec8edda81d9 Mon Sep 17 00:00:00 2001
From: Evan Straw <evan.straw99@gmail.com>
Date: Fri, 22 Nov 2019 18:46:32 -0800
Subject: [PATCH] gnu: Add ashuffle.

* gnu/packages/mpd.scm (ashuffle): New variable.
---
 gnu/packages/mpd.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index c9a9c440d3..0c3d3775e1 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
 ;;; Copyright © 2016, 2018, 2019 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2019 Evan Straw <evan.straw99@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -27,6 +28,7 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system meson)
@@ -340,3 +342,27 @@ Daemon (MPD).  It supports playlists, multiple profiles (connecting to different
 MPD servers, search and multimedia key support.")
     (home-page "https://www.nongnu.org/sonata/")
     (license license:gpl3+)))
+
+(define-public ashuffle
+  (package
+    (name "ashuffle")
+    (version "2.0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/joshkunz/ashuffle.git")
+                    (commit "6bea04b")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "11aa95cg0yca2m2d00sar6wr14g3lc7cfm9bin1h7lk7asdm8azp"))))
+    (native-inputs `(("pkg-config" ,pkg-config)))
+    (inputs `(("libmpdclient" ,libmpdclient)))
+    (build-system meson-build-system)
+    (home-page "https://github.com/joshkunz/ashuffle")
+    (synopsis "Automatic library-wide shuffle for mpd")
+    (description "ashuffle is an application for automatically shuffling your
+MPD library in a similar way to a more standard music player's 'shuffle
+library' feature. ashuffle works like any other MPD client, and can be used
+alongside your other MPD frontends.")
+    (license license:expat)))
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#38338: [PATCH] gnu: Add ashuffle.
  2019-11-23  2:52 [bug#38338] [PATCH] gnu: Add ashuffle Evan Straw
@ 2019-11-23 21:01 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2019-11-23 21:01 UTC (permalink / raw)
  To: Evan Straw; +Cc: 38338-done

[-- Attachment #1: Type: text/plain, Size: 768 bytes --]

On Fri, Nov 22, 2019 at 06:52:36PM -0800, Evan Straw wrote:
> * gnu/packages/mpd.scm (ashuffle): New variable.

Thanks!

> +              (uri (git-reference
> +                    (url "https://github.com/joshkunz/ashuffle.git")
> +                    (commit "6bea04b")))

I changed 'commit' to use the 'version' string...

> +    (description "ashuffle is an application for automatically shuffling your
> +MPD library in a similar way to a more standard music player's 'shuffle
> +library' feature. ashuffle works like any other MPD client, and can be used
> +alongside your other MPD frontends.")

and changed "a more standard music player" to "many other music
players'" and pushed as 5ce0aab3fb953e15e9319d356a2caf636ef219d8. With a
followup for a typo I made!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-23 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-23  2:52 [bug#38338] [PATCH] gnu: Add ashuffle Evan Straw
2019-11-23 21:01 ` bug#38338: " Leo Famulari

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).