loom: music: New module for music-related stuff (re-introducing a GTK
version of audacious) * loom/packages/music.scm: New module file
This commit is contained in:
parent
8a32d869da
commit
12f59dc24a
1 changed files with 23 additions and 0 deletions
23
loom/packages/music.scm
Normal file
23
loom/packages/music.scm
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
(define-module (loom packages music)
|
||||||
|
#:use-module ((gnu packages music)
|
||||||
|
#:select (audacious))
|
||||||
|
#:use-module ((gnu packages gtk)
|
||||||
|
#:select (gtk+))
|
||||||
|
#:use-module ((guix gexp)
|
||||||
|
#:select (gexp))
|
||||||
|
#:use-module ((guix packages)
|
||||||
|
#:select (package package-inputs package-arguments)))
|
||||||
|
|
||||||
|
(define (un-qt e)
|
||||||
|
(not (string-prefix? "qt" (car e))))
|
||||||
|
|
||||||
|
(define-public audacious-gtk
|
||||||
|
(package
|
||||||
|
(inherit audacious)
|
||||||
|
(name "audacious-gtk")
|
||||||
|
(arguments
|
||||||
|
(append (package-arguments audacious)
|
||||||
|
(list #:configure-flags #~(list (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")
|
||||||
|
"--enable-gtk3"
|
||||||
|
"--disable-qt"))))
|
||||||
|
(inputs (cons `("gtk+" ,gtk+) (filter un-qt (package-inputs audacious))))))
|
Loading…
Reference in a new issue