summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Pierre De Jesus DIAZ <me@jeandudey.tech>2022-08-08 16:33:16 +0200
committerGuix Patches Tester <>2022-08-08 15:40:21 +0100
commit7e4e2a6c90cfc1b70ef1ef2bd839cdbb07cad748 (patch)
tree92d0521f6f585ce9df2e9c980be75658efe9f380
parent92769ab2828b53ce41200e8beb8789a12863ee53 (diff)
downloadguix-patches-7e4e2a6c90cfc1b70ef1ef2bd839cdbb07cad748.tar
guix-patches-7e4e2a6c90cfc1b70ef1ef2bd839cdbb07cad748.tar.gz
gnu: rust-freetype-sys-0.13: Unbundle freetype2.
* gnu/packages/crates-io.scm (rust-freetype-sys-0.13) [source]: Remove bundled `freetype2' source code. [arguments]: Remove `#:skip-build? #t'. [native-inputs]: Add pkg-config. [inputs]: Add freetype.
-rw-r--r--gnu/packages/crates-io.scm13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cfafce9aa3..b5d4dc7c61 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -27,6 +27,7 @@
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022 Evgenii Lepikhin <e.lepikhin@corp.mail.ru>
+;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22904,14 +22905,20 @@ values to other threads.")
(uri (crate-uri "freetype-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06kkds31s6b1i39dyanwmzbnic7laia1kk3gfvx8sqncq08l0zd3"))))
+ (base32 "06kkds31s6b1i39dyanwmzbnic7laia1kk3gfvx8sqncq08l0zd3"))
+ (modules '((guix build utils)))
+ (snippet
+ '(delete-file-recursively "freetype2"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-cmake" ,rust-cmake-0.1)
("rust-libc" ,rust-libc-0.2)
("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list freetype))
(home-page "https://github.com/PistonDevelopers/freetype-sys")
(synopsis "Low level binding for FreeType font library")
(description