gnu: notcurses: Enable building without pandoc.
* gnu/packages/notcurses.scm (notcurses)[arguments]: Adjust configure-flags to not use pandoc on systems where pandoc isn't supported. [native-inputs]: Don't include pandoc on systems where it isn't supported.master
parent
66c9b82fed
commit
bb3454a83f
|
@ -1,5 +1,6 @@
|
||||||
;;; Copyright © 2021 Blake Shaw <blake@nonconstructivism.com>
|
;;; Copyright © 2021 Blake Shaw <blake@nonconstructivism.com>
|
||||||
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
|
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
|
||||||
|
;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -59,6 +60,10 @@
|
||||||
"-DUSE_COVERAGE=off"
|
"-DUSE_COVERAGE=off"
|
||||||
;; Do not build HTML documentation
|
;; Do not build HTML documentation
|
||||||
"-DUSE_DOXYGEN=off"
|
"-DUSE_DOXYGEN=off"
|
||||||
|
;; Unfortunately this disables the manpages.
|
||||||
|
,@(if (supported-package? pandoc)
|
||||||
|
'()
|
||||||
|
'("-DUSE_PANDOC=off"))
|
||||||
;; Don't include mouse support
|
;; Don't include mouse support
|
||||||
"-DUSE_GPM=off"
|
"-DUSE_GPM=off"
|
||||||
;; Use FFmpeg for multimedia support
|
;; Use FFmpeg for multimedia support
|
||||||
|
@ -66,9 +71,12 @@
|
||||||
;; Follow the Debian Free Software Guidelines, omitting nonfree content.
|
;; Follow the Debian Free Software Guidelines, omitting nonfree content.
|
||||||
"-DDFSG_BUILD=ON")))
|
"-DDFSG_BUILD=ON")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list pkg-config
|
(append
|
||||||
pandoc
|
(list pkg-config)
|
||||||
doctest))
|
(if (supported-package? pandoc)
|
||||||
|
(list pandoc)
|
||||||
|
'())
|
||||||
|
(list doctest)))
|
||||||
(inputs
|
(inputs
|
||||||
(list ffmpeg
|
(list ffmpeg
|
||||||
libdeflate
|
libdeflate
|
||||||
|
|
Reference in New Issue