guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74233] [PATCH rust-team v4 15/15] gnu: Add rust-aperture-0.3.


From: Aaron Covrig
Subject: [bug#74233] [PATCH rust-team v4 15/15] gnu: Add rust-aperture-0.3.
Date: Wed, 4 Dec 2024 19:17:48 -0500

From: Giacomo Leidi <goodoldpaul@autistici.org>

* gnu/packages/crates-gtk.scm (rust-aperture-0.3): New variable.
---
 gnu/packages/crates-gtk.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 9de8a475ce..40462fbbce 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -43,6 +43,42 @@ (define-module (gnu packages crates-gtk)
 ;;; Please: Try to add new module packages in alphabetic order.
 ;;;
 
+(define-public rust-aperture-0.3
+  (package
+    (name "rust-aperture")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aperture" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02bjzskxp91br91yvf5f32wakp1i9948sxbsy9hdrxs52w38hr61"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs `(("rust-gst-plugin-gtk4" ,rust-gst-plugin-gtk4-0.11)
+                       ("rust-gstreamer" ,rust-gstreamer-0.21)
+                       ("rust-gstreamer-pbutils" ,rust-gstreamer-pbutils-0.21)
+                       ("rust-gstreamer-video" ,rust-gstreamer-video-0.21)
+                       ("rust-gtk4" ,rust-gtk4-0.7)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (native-inputs (list pkg-config))
+    (inputs (list gdk-pixbuf
+                  glib
+                  graphene
+                  gstreamer
+                  gst-plugins-base
+                  gst-plugins-bad
+                  gtk
+                  pango-1.52))
+    (home-page "https://gitlab.gnome.org/GNOME/snapshot";)
+    (synopsis "GTK Widget for cameras using gstreamer and pipewire")
+    (description
+     "This package provides GTK Widget for cameras using gstreamer and 
pipewire.")
+    (license license:gpl3+)))
+
 (define-public rust-atk-sys-0.18
   (package
     (name "rust-atk-sys")
-- 
2.47.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]