guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

409/475: gnu: rust-servo-fontconfig-sys-5: Don't skip build.


From: guix-commits
Subject: 409/475: gnu: rust-servo-fontconfig-sys-5: Don't skip build.
Date: Sun, 7 May 2023 12:48:26 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit e1910983dd09b85b8138840019d0d7e9a06a1316
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 12:01:26 2023 +0300

    gnu: rust-servo-fontconfig-sys-5: Don't skip build.
    
    * gnu/packages/crates-io.scm (rust-servo-fontconfig-sys-5)[arguments]:
    Don't skip build. Add cargo-build-flags to use system library.
    [inputs]: Add expat, fontconfig.
    [native-inputs]: Add pkg-config.
---
 gnu/packages/crates-io.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 819f538213..78637cd0a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55786,11 +55786,15 @@ functionality and without weak references.")
         (base32 "125k4hydb4w08568rgazh95n6haxhf5c78axz50glbc9p6fqfsz3"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:cargo-build-flags '("--features" "force_system_lib")
        #:cargo-inputs
        (("rust-expat-sys" ,rust-expat-sys-2)
         ("rust-freetype-sys" ,rust-freetype-sys-0.13)
         ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (inputs
+     (list expat fontconfig))
+    (native-inputs
+     (list pkg-config))
     (home-page "https://crates.io/crates/servo-fontconfig-sys";)
     (synopsis "Rust wrapper around Fontconfig")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]