guix-commits
[Top][All Lists]
Advanced

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

31/66: gnu: Add rust-gstreamer-sys-0.18.


From: guix-commits
Subject: 31/66: gnu: Add rust-gstreamer-sys-0.18.
Date: Tue, 24 Oct 2023 07:54:57 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 3a0b15b829cae87b695f5bf011a25d232514b6a0
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:21:13 2023 +0100

    gnu: Add rust-gstreamer-sys-0.18.
    
    * gnu/packages/crates-gtk.scm (rust-gstreamer-sys-0.18): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I33d08fa61935da9bdb9f4208f5e5b834f1b5f718
---
 gnu/packages/crates-gtk.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 3c6f833145..90e8c1a6b7 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
 ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
+;;; Copyright © 2023 Steve George <steve@futurile.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -29,6 +30,7 @@
   #:use-module (gnu packages crates-graphics)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages gnome)
+  #:use-module (gnu packages gstreamer)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages webkit))
@@ -1709,6 +1711,33 @@
        (("rust-shell-words" ,rust-shell-words-0.1)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
+(define-public rust-gstreamer-sys-0.18
+  (package
+    (name "rust-gstreamer-sys")
+    (version "0.18.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "gstreamer-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1qikgp5m3xj41fbfyfl6ckb5i8dxadfvlvj5bf8girn2sdjpllg3"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #:cargo-inputs `(("rust-glib-sys" ,rust-glib-sys-0.15)
+                            ("rust-gobject-sys" ,rust-gobject-sys-0.15)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-system-deps" ,rust-system-deps-6))
+           #:cargo-development-inputs `(("rust-shell-words" 
,rust-shell-words-1)
+                                        ("rust-tempfile" ,rust-tempfile-3))))
+    (native-inputs (list pkg-config))
+    (inputs (list glib gstreamer))
+    (home-page "https://gstreamer.freedesktop.org";)
+    (synopsis "FFI bindings to libgstreamer-1.0")
+    (description
+     "Foreign Function Interface (FFI) bindings to libgstreamer-1.0.")
+    (license license:expat)))
+
 (define-public rust-gtk-0.14
   (package
     (name "rust-gtk")



reply via email to

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