gnu: synfigstudio: Use gexp.
* gnu/packages/animation.scm (synfigstudio)[arguments]: Use gexp.master
parent
5c08ed0939
commit
df116a89f9
|
@ -23,6 +23,7 @@
|
||||||
(define-module (gnu packages animation)
|
(define-module (gnu packages animation)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix utils)
|
#:use-module (guix utils)
|
||||||
#:use-module ((guix licenses) #:prefix license:)
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
@ -185,17 +186,16 @@ for tweening, preventing the need to hand-draw each frame.")
|
||||||
#t))))
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
;; This fixes the file chooser crash that happens with GTK 3.
|
;; This fixes the file chooser crash that happens with GTK 3.
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((gtk (assoc-ref inputs "gtk+"))
|
||||||
(gtk (assoc-ref inputs "gtk+"))
|
|
||||||
(gtk-share (string-append gtk "/share")))
|
(gtk-share (string-append gtk "/share")))
|
||||||
(wrap-program (string-append out "/bin/synfigstudio")
|
(wrap-program (string-append #$output "/bin/synfigstudio")
|
||||||
`("XDG_DATA_DIRS" ":" prefix (,gtk-share)))
|
`("XDG_DATA_DIRS" ":" prefix (,gtk-share)))))))))
|
||||||
#t))))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list gtkmm-3 gtk+ libsigc++ synfig))
|
(list gtkmm-3 gtk+ libsigc++ synfig))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
|
Reference in New Issue