diff mbox series

[bug#74233,PATCHv2,rust-team,40/40] gnu: Add rust-aperture-0.3.

Message ID d57d973513034b6b374852c675d16fe50572f66b.1731018145.git.goodoldpaul@autistici.org
State New
Headers show
Series [bug#74233,PATCHv2,rust-team,01/40] gnu: Add rust-search-provider-0.8. | expand

Commit Message

Giacomo Leidi Nov. 7, 2024, 10:22 p.m. UTC
* gnu/packages/crates-gtk.scm (rust-aperture-0.3): New variable.

Change-Id: I76c917be679fbb9b3e28b19bbf8cc1b6034211d7
---
 gnu/packages/crates-gtk.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d819177893..fce7c73270 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -42,6 +42,36 @@  (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.14
   (package
     (name "rust-atk-sys")