From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
To: 68143@debbugs.gnu.org
Subject: [bug#68143] [PATCH 1/2] gnu: slurp: Fix cross-compiling.
Date: Sat, 30 Dec 2023 18:52:02 +0800 [thread overview]
Message-ID: <0366ecb010fb23ae757b8ab0552ff49538211d07.1703933263.git.zhengjunjie@iscas.ac.cn> (raw)
In-Reply-To: <cover.1703933263.git.zhengjunjie@iscas.ac.cn>
gnu/packages/image.scm(slurp):
[native-inputs]: When cross compiling, add wayland, pkg-config-for-build.
Change-Id: I5000d681b1428c5b7d123239c1f1ba00f121fb7e
---
gnu/packages/image.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 79f1a293ec..9179cb8b90 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2259,7 +2259,11 @@ (define-public slurp
(base32 "1i6g4dfiv2mwkjvvrx3wizb1n05xmd4j9nkhdii4klwd1gdrhjwd"))))
(build-system meson-build-system)
(native-inputs
- (list pkg-config scdoc))
+ (append (if (%current-target-system)
+ ;; for wayland-scanner
+ (list wayland pkg-config-for-build)
+ '())
+ (list pkg-config scdoc)))
(inputs
(list cairo libxkbcommon wayland wayland-protocols))
(home-page "https://github.com/emersion/slurp")
--
2.41.0
next prev parent reply other threads:[~2023-12-30 10:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-30 10:49 [bug#68143] [PATCH 0/2] slurp: Update to 1.5.0 and fix cross-compiling Zheng Junjie
2023-12-30 10:52 ` Zheng Junjie [this message]
2023-12-30 10:52 ` [bug#68143] [PATCH 2/2] gnu: slurp: Update to 1.5.0 Zheng Junjie
2024-01-03 14:28 ` bug#68143: [PATCH 0/2] slurp: Update to 1.5.0 and fix cross-compiling Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0366ecb010fb23ae757b8ab0552ff49538211d07.1703933263.git.zhengjunjie@iscas.ac.cn \
--to=zhengjunjie@iscas.ac.cn \
--cc=68143@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.