mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: audacity: Fix GtkFileChooserDialog.
* gnu/packages/audio.scm (audacity)[arguments]: Add 'wrap-program' phase to fix GtkFileChooserDialog. [inputs]: Rename "gtk" to "gtk+".
This commit is contained in:
parent
8490a8346b
commit
99e0fb24fb
1 changed files with 10 additions and 1 deletions
|
@ -324,7 +324,7 @@ (define-public audacity
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("wxwidgets" ,wxwidgets)
|
`(("wxwidgets" ,wxwidgets)
|
||||||
("gtk" ,gtk+)
|
("gtk+" ,gtk+)
|
||||||
("alsa-lib" ,alsa-lib)
|
("alsa-lib" ,alsa-lib)
|
||||||
("jack" ,jack-1)
|
("jack" ,jack-1)
|
||||||
("expat" ,expat)
|
("expat" ,expat)
|
||||||
|
@ -410,6 +410,15 @@ (define-public audacity
|
||||||
(("../lib-src/portmidi/porttime/porttime.h") "porttime.h"))
|
(("../lib-src/portmidi/porttime/porttime.h") "porttime.h"))
|
||||||
(substitute* "src/prefs/MidiIOPrefs.cpp"
|
(substitute* "src/prefs/MidiIOPrefs.cpp"
|
||||||
(("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h"))
|
(("../../lib-src/portmidi/pm_common/portmidi.h") "portmidi.h"))
|
||||||
|
#t))
|
||||||
|
(add-after 'install 'wrap-program
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(wrap-program (string-append (assoc-ref outputs "out")
|
||||||
|
"/bin/audacity")
|
||||||
|
;; For GtkFileChooserDialog.
|
||||||
|
`("GSETTINGS_SCHEMA_DIR" =
|
||||||
|
(,(string-append (assoc-ref inputs "gtk+")
|
||||||
|
"/share/glib-2.0/schemas"))))
|
||||||
#t)))
|
#t)))
|
||||||
;; The test suite is not "well exercised" according to the developers,
|
;; The test suite is not "well exercised" according to the developers,
|
||||||
;; and fails with various errors. See
|
;; and fails with various errors. See
|
||||||
|
|
Loading…
Reference in a new issue