mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
gnu: sdl2-ttf: Fix source snippet.
* gnu/packages/sdl.scm (sdl2-ttf)[source](snippet): Actually delete bundled libraries. [arguments]: New field. [propagated-inputs]: Add FREETYPE and HARFBUZZ.
This commit is contained in:
parent
2d25b083b5
commit
a9b7639d42
1 changed files with 9 additions and 5 deletions
|
@ -551,15 +551,19 @@ (define-public sdl2-ttf
|
|||
(string-append "https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-"
|
||||
version ".tar.gz"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet (begin
|
||||
;; Remove bundled libraries.
|
||||
'(delete-file-recursively "external")
|
||||
#t))
|
||||
(snippet
|
||||
;; Remove bundled libraries.
|
||||
'(delete-file-recursively "external"))
|
||||
(sha256
|
||||
(base32
|
||||
"0mqcgpcvzp927xv1gs51f2wqly9k9f8nxfxi69lxlfncyd8svkbq"))))
|
||||
(arguments
|
||||
(list #:configure-flags #~'("--enable-freetype-builtin=no"
|
||||
"--enable-harfbuzz-builtin=no")))
|
||||
(propagated-inputs
|
||||
(propagated-inputs-with-sdl2 sdl-ttf))
|
||||
(modify-inputs (propagated-inputs-with-sdl2 sdl-ttf)
|
||||
;; In Requires.private of SDL2_ttf.pc.
|
||||
(prepend harfbuzz freetype)))
|
||||
(properties '((upstream-name . "SDL2_ttf")))))
|
||||
|
||||
(define-public guile-sdl
|
||||
|
|
Loading…
Reference in a new issue