gnu: stepmania: Fix loading of gtk module.
Fixes <https://bugs.gnu.org/34854>. Suggested by Nicolas Goaziou. * gnu/packages/games.scm (stepmania)[arguments]: Add phase "ensure-gtk-module-can-be-found".
This commit is contained in:
parent
d656aea0ef
commit
45aba232ab
|
@ -6182,6 +6182,13 @@ civilized than your own.")
|
||||||
"/lib/glib-2.0/include"))
|
"/lib/glib-2.0/include"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'ensure-gtk-module-can-be-found
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(substitute* "src/arch/LoadingWindow/LoadingWindow_Gtk.cpp"
|
||||||
|
(("RageFileManagerUtil::sDirOfExecutable \\+ \"/\" \\+ \"GtkModule.so\"")
|
||||||
|
(string-append "\"" (assoc-ref outputs "out")
|
||||||
|
"/share/stepmania/GtkModule.so\"")))
|
||||||
|
#t))
|
||||||
(add-after 'unpack 'fix-install-subdir
|
(add-after 'unpack 'fix-install-subdir
|
||||||
;; Installation would be done in "%out/stepmania-X.Y", but we
|
;; Installation would be done in "%out/stepmania-X.Y", but we
|
||||||
;; prefer the more common layout "%out/share/stepmania".
|
;; prefer the more common layout "%out/share/stepmania".
|
||||||
|
|
Loading…
Reference in New Issue