[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/11: gnu: libcamera: Rewrite package argument to G-expression.
From: |
guix-commits |
Subject: |
04/11: gnu: libcamera: Rewrite package argument to G-expression. |
Date: |
Sun, 13 Aug 2023 04:02:25 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit 96e521425d09a641fcd4d83bde37f576b49cb4e6
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Fri Jul 21 20:14:33 2023 +0800
gnu: libcamera: Rewrite package argument to G-expression.
* gnu/packages/networking.scm (libcamera)[arguments]: Use G-expression.
---
gnu/packages/networking.scm | 44 +++++++++++++++++++++-----------------------
1 file changed, 21 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 5a027b5af7..82987d5f9c 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -365,29 +365,27 @@ them in order to efficiently transfer a minimal amount of
data.")
(build-system meson-build-system)
(outputs '("out" "doc" "gst" "tools"))
(arguments
- `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
- #:configure-flags
- (list
- (string-append "-Dbindir=" (assoc-ref %outputs "tools") "/bin")
- "-Dtest=true"
- "-Dv4l2=true"
- ;; XXX: Requires bundled pybind11.
- "-Dpycamera=disabled")
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'move-doc-and-gst
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (doc (assoc-ref outputs "doc"))
- (gst (assoc-ref outputs "gst")))
- (mkdir-p (string-append doc "/share"))
- (rename-file
- (string-append out "/share/doc")
- (string-append doc "/share/doc"))
- (mkdir-p (string-append gst "/lib"))
- (rename-file
- (string-append out "/lib/gstreamer-1.0")
- (string-append gst "/lib/gstreamer-1.0"))))))))
+ (list #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:configure-flags
+ #~(list (string-append "-Dbindir="
+ (assoc-ref %outputs "tools") "/bin")
+ "-Dtest=true" "-Dv4l2=true"
+ ;; XXX: Requires bundled pybind11.
+ "-Dpycamera=disabled")
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'move-doc-and-gst
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc"))
+ (gst (assoc-ref outputs "gst")))
+ (mkdir-p (string-append doc "/share"))
+ (rename-file (string-append out "/share/doc")
+ (string-append doc "/share/doc"))
+ (mkdir-p (string-append gst "/lib"))
+ (rename-file
+ (string-append out "/lib/gstreamer-1.0")
+ (string-append gst "/lib/gstreamer-1.0"))))))))
(native-inputs
(list googletest
graphviz ;for 'dot'
- branch master updated (19c042ddf8 -> e7b8edc744), guix-commits, 2023/08/13
- 08/11: gnu: picard: Update to 2.9., guix-commits, 2023/08/13
- 10/11: gnu: Add go-github-com-coreos-go-oidc-v3., guix-commits, 2023/08/13
- 11/11: gnu: miniflux: Update to 2.0.46., guix-commits, 2023/08/13
- 09/11: gnu: Add go-github-com-go-jose-go-jose-v3., guix-commits, 2023/08/13
- 03/11: gnu: pipewire: Enable libcamera support., guix-commits, 2023/08/13
- 06/11: gnu: mympd: Update to 11.0.2., guix-commits, 2023/08/13
- 05/11: gnu: pipewire: Update to 0.3.77., guix-commits, 2023/08/13
- 04/11: gnu: libcamera: Rewrite package argument to G-expression.,
guix-commits <=
- 01/11: gnu: libcamera: Update to 0.1.0., guix-commits, 2023/08/13
- 02/11: gnu: libcamera: Split off gst and tools outputs., guix-commits, 2023/08/13
- 07/11: gnu: mympd: Enable tests., guix-commits, 2023/08/13