From patchwork Sat May 4 11:35:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64050 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3CFD427BBE2; Sat, 4 May 2024 12:40:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,TVD_SPACE_RATIO, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6593727BBEA for ; Sat, 4 May 2024 12:40:06 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Djq-0004qz-Jm; Sat, 04 May 2024 07:39:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3Dj1-0004EB-HE for guix-patches@gnu.org; Sat, 04 May 2024 07:38:43 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3Dj1-0006a5-80 for guix-patches@gnu.org; Sat, 04 May 2024 07:38:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DjO-0004b8-51; Sat, 04 May 2024 07:39:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 50/75] gnu: Add rust-gstreamer-base-sys-0.21. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:39:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482270017507 (code B ref 69257); Sat, 04 May 2024 11:39:06 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:38:20 +0000 Received: from localhost ([127.0.0.1]:53081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Die-0004YE-4k for submit@debbugs.gnu.org; Sat, 04 May 2024 07:38:20 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:52289 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3DiB-0004OB-8I for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822640; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NUnS/cr6bbD8MjEab2WD02RuQRnrcm3jT/Lbkg0ptew=; b=kavcXxZWWO3nWnuO2DQNoAXrJ0/pDrzYuvlxVAnwWB7jAVzyqYtxJmgs1YVTrt4iKw6e/g Eqd5bbaaYlw4n6TwxcDmrXKAADkN7EJYOs/ieQ1/B/27dnPIzr8iszcp5qoGFze48RUleZ 6+aKiWWnl3gadFLBez9nfof1xvp8GRCCyqckWJvMO4+zCIHr6xW/Oj49i7/GMV0Tv3atLz WgtfX9RlrQNw0Ht5IhvZxyld1j7vrGCalDQvCb/NX2WvQ154eT6wOEg6H3K1UHyOv881ve 3sHPM31t0vjEPF/ji72vp5J6YO81fONP+xfbOgL2hEXCEUt8WNVCel5MbQDFlA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 6ea3b2d3 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:20 +0000 (UTC) Date: Sat, 4 May 2024 13:35:22 +0200 Message-ID: <5e2bb216256fe9226935390ede8a30ef52ab43ae.1714820130.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-gstreamer-base-sys-0.21): Add variable. (rust-gstreamer-base-sys-0.18): Inherit from rust-gstreamer-base-sys-0.21. Change-Id: I6ed383f0b6cd38297e0b8d84a0e75f20e4dc0d24 --- gnu/packages/crates-gtk.scm | 43 +++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 75f332a9f4..14f10783f0 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -2481,8 +2481,39 @@ (define-public rust-gstreamer-base-0.18 (description "Rust bindings for GStreamer Base library.") (license (list license:expat license:asl2.0)))) +(define-public rust-gstreamer-base-sys-0.21 + (package + (name "rust-gstreamer-base-sys") + (version "0.21.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "gstreamer-base-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0r2bb4rmkpxs1l2jy61rn2srqzsp1f8q0k5j55di3zkqj0gp1jpl")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)) + #:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18) + ("rust-gobject-sys" ,rust-gobject-sys-0.18) + ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.21) + ("rust-libc" ,rust-libc-0.2) + ("rust-system-deps" ,rust-system-deps-6)))) + (native-inputs (list pkg-config)) + (inputs (list glib gstreamer)) + (home-page "https://gstreamer.freedesktop.org") + (synopsis "FFI bindings to libgstbase-1.0") + (description + "This package provides FFI bindings to libgstbase-1.0, part of +GStreamer.") + (license license:expat))) + (define-public rust-gstreamer-base-sys-0.18 (package + (inherit rust-gstreamer-base-sys-0.21) (name "rust-gstreamer-base-sys") (version "0.18.0") (source @@ -2492,21 +2523,15 @@ (define-public rust-gstreamer-base-sys-0.18 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "13h79fcn3b9bkg7h8j0vxc1zryp92shbvvk6gkx723il7hy4k0x0")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.15) ("rust-gobject-sys" ,rust-gobject-sys-0.15) ("rust-gstreamer-sys" ,rust-gstreamer-sys-0.18) ("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 libgstbase-1.0") - (description "FFI bindings to libgstbase-1.0, part of GStreamer.") - (license license:expat))) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-1) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-gstreamer-sys-0.21 (package