gnu: Audacity: Use glib-or-gtk-build-system instead of a wrapper.
* gnu/packages/audio.scm (audacity)[build-system]: Use glib-or-gtk-build-system. [arguments]: Remove the 'wrap-program' phase. Set #:out-of-source #f.
This commit is contained in:
parent
a7b751965f
commit
b0f4300119
|
@ -321,7 +321,7 @@ engineers, musicians, soundtrack editors and composers.")
|
|||
;; "sbsms"
|
||||
))
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
(build-system glib-or-gtk-build-system)
|
||||
(inputs
|
||||
`(("wxwidgets" ,wxwidgets)
|
||||
("gtk+" ,gtk+)
|
||||
|
@ -410,16 +410,12 @@ engineers, musicians, soundtrack editors and composers.")
|
|||
(("../lib-src/portmidi/porttime/porttime.h") "porttime.h"))
|
||||
(substitute* "src/prefs/MidiIOPrefs.cpp"
|
||||
(("../../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)))
|
||||
;; The translation Makefile generation is performed improperly for
|
||||
;; out-of-tree builds.
|
||||
;; XXX This can be removed if the glib-or-gkt-build-system
|
||||
;; switches to #:out-of-source? #t. See <https://bugs.gnu.org/32887>.
|
||||
#:out-of-source? #f
|
||||
;; The test suite is not "well exercised" according to the developers,
|
||||
;; and fails with various errors. See
|
||||
;; <http://sourceforge.net/p/audacity/mailman/message/33524292/>.
|
||||
|
|
Loading…
Reference in New Issue