me
/
guix
Archived
1
0
Fork 0

gnu: rust-freetype-sys-0.13: Unbundle freetype2.

* gnu/packages/crates-io.scm (rust-freetype-sys-0.13)[source]: Add
snippet to remove freetype2.
[arguments]: Don't skip build.
[inputs]: Add freetype.
[native-inputs]: Add pkg-config.
master
Efraim Flashner 2023-04-24 16:51:42 +03:00
parent 02bbbe01e3
commit 4768ff2107
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 10 additions and 3 deletions

View File

@ -23084,14 +23084,21 @@ values to other threads.")
(uri (crate-uri "freetype-sys" version)) (uri (crate-uri "freetype-sys" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "06kkds31s6b1i39dyanwmzbnic7laia1kk3gfvx8sqncq08l0zd3")))) (base32 "06kkds31s6b1i39dyanwmzbnic7laia1kk3gfvx8sqncq08l0zd3"))
(snippet
#~(begin
(use-modules (guix build utils))
(delete-file-recursively "freetype2")))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:cargo-inputs
#:cargo-inputs
(("rust-cmake" ,rust-cmake-0.1) (("rust-cmake" ,rust-cmake-0.1)
("rust-libc" ,rust-libc-0.2) ("rust-libc" ,rust-libc-0.2)
("rust-pkg-config" ,rust-pkg-config-0.3)))) ("rust-pkg-config" ,rust-pkg-config-0.3))))
(inputs
(list freetype))
(native-inputs
(list pkg-config))
(home-page "https://github.com/PistonDevelopers/freetype-sys") (home-page "https://github.com/PistonDevelopers/freetype-sys")
(synopsis "Low level binding for FreeType font library") (synopsis "Low level binding for FreeType font library")
(description (description