[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
444/471: gnu: rust-freetype-sys-0.13: Unbundle freetype2.
From: |
guix-commits |
Subject: |
444/471: gnu: rust-freetype-sys-0.13: Unbundle freetype2. |
Date: |
Wed, 3 May 2023 09:29:19 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit bdfe8c9299d43ecf7d955d6429787ccfbdec62f6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:51:42 2023 +0300
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.
---
gnu/packages/crates-io.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b76dfe00e3..14bc7cac40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23084,14 +23084,21 @@ values to other threads.")
(uri (crate-uri "freetype-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06kkds31s6b1i39dyanwmzbnic7laia1kk3gfvx8sqncq08l0zd3"))))
+ (base32 "06kkds31s6b1i39dyanwmzbnic7laia1kk3gfvx8sqncq08l0zd3"))
+ (snippet
+ #~(begin
+ (use-modules (guix build utils))
+ (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))))
+ (inputs
+ (list freetype))
+ (native-inputs
+ (list pkg-config))
(home-page "https://github.com/PistonDevelopers/freetype-sys")
(synopsis "Low level binding for FreeType font library")
(description
- 421/471: gnu: rust-serde-json-1: Update to 1.0.96., (continued)
- 421/471: gnu: rust-serde-json-1: Update to 1.0.96., guix-commits, 2023/05/03
- 418/471: gnu: Add rust-orbclient-0.3., guix-commits, 2023/05/03
- 422/471: gnu: rust-serde-test-1: Update to 1.0.160., guix-commits, 2023/05/03
- 427/471: gnu: Add rust-glutin-wgl-sys-0.4., guix-commits, 2023/05/03
- 429/471: gnu: Add rust-android-activity-0.4., guix-commits, 2023/05/03
- 431/471: gnu: Add rust-redox-syscall-0.3., guix-commits, 2023/05/03
- 432/471: gnu: Add rust-sctk-adwaita-0.5., guix-commits, 2023/05/03
- 433/471: gnu: Add rust-slotmap-1., guix-commits, 2023/05/03
- 437/471: gnu: Add rust-ndk-sys-0.4., guix-commits, 2023/05/03
- 441/471: gnu: Add rust-owned-ttf-parser-0.19., guix-commits, 2023/05/03
- 444/471: gnu: rust-freetype-sys-0.13: Unbundle freetype2.,
guix-commits <=
- 452/471: gnu: rust-rustls-0.18: Skip tests., guix-commits, 2023/05/03
- 454/471: gnu: rust-rustls-ffi-0.8: Add missing input., guix-commits, 2023/05/03
- 460/471: gnu: rust-password-hash-0.3: Fix inputs., guix-commits, 2023/05/03
- 462/471: gnu: rust-tokio-rustls-0.23: Add missing input., guix-commits, 2023/05/03
- 457/471: gnu: rust-webpki-roots-0.22: Add missing input., guix-commits, 2023/05/03
- 461/471: gnu: rust-trust-dns-rustls-0.19: Add missing input., guix-commits, 2023/05/03
- 470/471: gnu: gdb/pinned: Move to gdb-12.1., guix-commits, 2023/05/03
- 466/471: gnu: rust-webpki-0.18: Fix build., guix-commits, 2023/05/03
- 270/471: gnu: rust-similar-asserts-1: Update to 1.4.2., guix-commits, 2023/05/03
- 406/471: gnu: Add rust-alacritty-config-0.1., guix-commits, 2023/05/03