gnu: aseprite: Fix build.

* gnu/packages/game-development.scm (aseprite)[arguments]: Remove #:phases.
This commit is contained in:
宋文武 2016-05-12 09:28:14 +08:00
parent 9f5e796753
commit de1d68a295

View file

@ -374,15 +374,7 @@ (define-public aseprite
"-DENABLE_UPDATER=0" ; no auto-updates
(string-append "-DFREETYPE_INCLUDE_DIR="
(assoc-ref %build-inputs "freetype")
"/include/freetype2"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-freetype-utils
(lambda _
;; Fix C preprocessor include directive.
(substitute* '("src/app/util/freetype_utils.cpp")
(("freetype/") ""))
#t)))))
"/include/freetype2"))))
(native-inputs
`(("pkg-config" ,pkg-config)))
;; TODO: Use a patched Allegro 4 that supports window resizing. This