Archived
1
0
Fork 0

gnu: sent: Add farbfeld to propagated-inputs.

* gnu/packages/suckless.scm (sent)[propagated-inputs]: Add it.
[phases]{patch-farbfeld}: New phase.
[inputs]: Add farbfeld.
[home-page]: Add trailing slash to fix linter warning.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Gabriel Wicki 2022-06-18 17:04:12 +02:00 committed by Ludovic Courtès
parent 1635d39c3c
commit 344ac79873
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -520,7 +520,11 @@ point surf to another URI by setting its XProperties.")
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases (modify-phases %standard-phases `(#:phases (modify-phases %standard-phases
(delete 'configure)) ; no configuration (delete 'configure) ; no configuration
(add-before 'build 'patch-farbfeld
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "config.def.h"
(("2ff") (search-input-file inputs "/bin/2ff"))))))
#:tests? #f ; no test suite #:tests? #f ; no test suite
#:make-flags #:make-flags
(let ((pkg-config (lambda (flag) (let ((pkg-config (lambda (flag)
@ -534,7 +538,8 @@ point surf to another URI by setting its XProperties.")
(native-inputs (native-inputs
(list pkg-config)) (list pkg-config))
(inputs (inputs
`(("libpng" ,libpng) `(("farbfeld" ,farbfeld)
("libpng" ,libpng)
("libx11" ,libx11) ("libx11" ,libx11)
("libxft" ,libxft) ("libxft" ,libxft)
("fontconfig" ,fontconfig))) ("fontconfig" ,fontconfig)))
@ -544,7 +549,7 @@ presentations. Each paragraph represents a slide in the presentation.
Especially for presentations using the Takahashi method this is very nice and Especially for presentations using the Takahashi method this is very nice and
allows you to write down the presentation for a quick lightning talk within a allows you to write down the presentation for a quick lightning talk within a
few minutes.") few minutes.")
(home-page "https://tools.suckless.org/sent") (home-page "https://tools.suckless.org/sent/")
(license license:x11))) (license license:x11)))
(define-public wmname (define-public wmname