lilyp pushed a commit to branch gnome-team
in repository guix.

commit 5fc722416e109b9c36f039714c5782ba05448bcc
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Jan 8 07:11:34 2025 +0100

    gnu: Add v4l-utils-minimal.
    
    * gnu/packages/video.scm (v4l-utils-minimal): New variable.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/video.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index ecd0f48563..ee433e1326 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -4058,6 +4058,20 @@ be used for realtime video capture via Linux-specific 
APIs.")
     ;; libv4l2 is LGPL2.1+, while utilities are GPL2 only.
     (license (list license:lgpl2.1+ license:gpl2))))
 
+(define-public v4l-utils-minimal
+  (package/inherit v4l-utils
+    (name "v4l-utils-minimal")
+    (arguments
+     (substitute-keyword-arguments (package-arguments v4l-utils)
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (delete 'split)))
+       ((#:disallowed-references _ '())
+        (list qtbase qtbase-5))))
+    (outputs '("out"))
+    (inputs (modify-inputs (package-inputs v4l-utils)
+              (delete "qtbase")))))
+
 (define-public obs
   (package
     (name "obs")

Reply via email to