gnu: libcamera: Enable simple pipeline.

* gnu/packages/networking.scm (libcamera)
[arguments]: Enable simple pipeline in configure-flags.

Change-Id: Ica9df2a2e224edd85cc32a6f2c66a83d1557f8df
This commit is contained in:
Andrew Tropin 2024-08-20 17:44:10 +04:00
parent 7ed52500c9
commit fcff2393de
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -371,8 +371,6 @@ (define-public lcsync
them in order to efficiently transfer a minimal amount of data.")
(license (list license:gpl2 license:gpl3))))
;; This package does not have a release yet.
;; But this is required to provide a feature in PipeWire.
(define-public libcamera
(package
(name "libcamera")
@ -395,6 +393,13 @@ (define-public libcamera
#:configure-flags
#~(list (string-append "-Dbindir="
(assoc-ref %outputs "tools") "/bin")
;; In 0.3.1 release simple pipeline wasn't enabled for
;; x86_64 by mistake, it's enabled a couple commits later.
;; Remove this expression on the next release.
#$(if (target-x86-64?)
"-Dpipelines=ipu3,vimc,uvcvideo,simple"
"")
"-Dtest=true" "-Dv4l2=true"
;; XXX: Requires bundled pybind11.
"-Dpycamera=disabled")