diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-12-15 15:12:06 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-12-15 15:12:06 +0100 |
commit | 259930c8eb29b6edadd83650135bbe73c5c21e4b (patch) | |
tree | f0593713e0907631354db2e09601c473c67ad7ac /gnu/packages | |
parent | 6b5c0e77a963d80975956fcdcf596d7adef7596f (diff) | |
download | guix-259930c8eb29b6edadd83650135bbe73c5c21e4b.tar.gz guix-259930c8eb29b6edadd83650135bbe73c5c21e4b.zip |
gnu: Add alsa-scarlett-gui.
* gnu/packages/music.scm (alsa-scarlett-gui): New variable.
Change-Id: Ia92a0be7e0f08cf42bc263f2c321b4617fa6935b
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/music.scm | 40 |
1 files changed, 40 insertions, 0 deletions
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") |