From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44256) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYMAS-000357-H6 for guix-patches@gnu.org; Fri, 22 Nov 2019 22:33:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYMAR-0006WR-C3 for guix-patches@gnu.org; Fri, 22 Nov 2019 22:33:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYMAR-0006WN-8w for guix-patches@gnu.org; Fri, 22 Nov 2019 22:33:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iYMAR-0007BK-3s for guix-patches@gnu.org; Fri, 22 Nov 2019 22:33:03 -0500 Subject: [bug#38338] [PATCH] gnu: Add ashuffle. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:41520) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYLXq-0004zm-8l for guix-patches@gnu.org; Fri, 22 Nov 2019 21:53:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYLXo-0003tx-Qs for guix-patches@gnu.org; Fri, 22 Nov 2019 21:53:10 -0500 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:43854) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYLXo-0003sz-IA for guix-patches@gnu.org; Fri, 22 Nov 2019 21:53:08 -0500 Received: by mail-pj1-x102b.google.com with SMTP id a10so3893592pju.10 for ; Fri, 22 Nov 2019 18:53:07 -0800 (PST) Received: from virtualplaza ([205.175.97.42]) by smtp.gmail.com with ESMTPSA id b1sm231855pjw.19.2019.11.22.18.53.05 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Nov 2019 18:53:05 -0800 (PST) From: Evan Straw Date: Fri, 22 Nov 2019 18:52:36 -0800 Message-ID: <87k17rnw23.fsf@virtualplaza> MIME-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-ashuffle.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] gnu: Add ashuffle. 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: 38338@debbugs.gnu.org >From a18434dd91e09020dd12c11b41d8eec8edda81d9 Mon Sep 17 00:00:00 2001 From: Evan Straw 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 =C2=A9 2015 Paul van der Walt ;;; Copyright =C2=A9 2016, 2018, 2019 Leo Famulari ;;; Copyright =C2=A9 2018, 2019 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2019 Evan Straw ;;; ;;; 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 profile= s (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 y= our +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))) --=20 2.20.1