guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: Add alsa-scarlett-gui.


From: guix-commits
Subject: branch master updated: gnu: Add alsa-scarlett-gui.
Date: Fri, 15 Dec 2023 09:12:46 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 259930c8eb gnu: Add alsa-scarlett-gui.
259930c8eb is described below

commit 259930c8eb29b6edadd83650135bbe73c5c21e4b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 15 15:12:06 2023 +0100

    gnu: Add alsa-scarlett-gui.
    
    * gnu/packages/music.scm (alsa-scarlett-gui): New variable.
    
    Change-Id: Ia92a0be7e0f08cf42bc263f2c321b4617fa6935b
---
 gnu/packages/music.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index d4f2c623cc..bf87537aec 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -204,6 +204,46 @@
   #:use-module (gnu packages xorg)
   #:use-module ((srfi srfi-1) #:select (last)))
 
+(define-public alsa-scarlett-gui
+  (package
+    (name "alsa-scarlett-gui")
+    (version "0.3.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url 
"https://github.com/geoffreybennett/alsa-scarlett-gui";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1nd764vd7qfy2x8dqapiyh5yrxjimm8b4himhm1qkgpf5hvh734l"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list
+      #:tests? #false ;there is no check target
+      #:make-flags
+      #~(list (string-append "CC=" #$(cc-for-target))
+              (string-append "PREFIX=" #$output))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'chdir
+            (lambda _
+              (substitute* "src/Makefile"
+                (("    cc -o")
+                 (string-append "      "
+                                #$(cc-for-target) " -o")))
+              (chdir "src")))
+          (delete 'configure))))
+    (inputs
+     (list alsa-lib glib gtk))
+    (native-inputs
+     (list `(,glib "bin") pkg-config))
+    (home-page "https://github.com/geoffreybennett/alsa-scarlett-gui";)
+    (synopsis "ALSA Scarlett2 control panel")
+    (description "This package provides a Gtk4 GUI for the ALSA controls
+presented by the Linux kernel Focusrite Scarlett2 USB Protocol Mixer Driver.")
+    (license license:gpl3+)))
+
 (define-public audacious
   (package
     (name "audacious")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]