unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: 54744@debbugs.gnu.org
Cc: Zhu Zihao <all_but_last@163.com>
Subject: [bug#54744] [PATCH staging v2 11/20] gnu: gst-plugins/selection: Implement in terms of G-Expressions.
Date: Tue, 28 Jun 2022 20:41:37 +0200	[thread overview]
Message-ID: <2b568cadbd465e539aa82fa6cb9b91b8de4a61c2.camel@gmail.com> (raw)
In-Reply-To: <86bkxeop1g.fsf@163.com>

* gnu/packages/gstreamer.scm (gst-plugins/selection)[#:configure-flags]:
Use G-Expressions.
[#:phases]: Likewise.  Drop trailing #t.
* gnu/packages/video.scm (pitivi)[inputs]: Adjust accordingly.
---
 gnu/packages/gstreamer.scm | 26 +++++++++++++-------------
 gnu/packages/video.scm     |  2 +-
 2 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index d05717f723..f8e2fab2c7 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -29,6 +29,7 @@
 (define-module (gnu packages gstreamer)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
+  #:use-module (guix gexp)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
@@ -1031,20 +1032,19 @@ (define-public gst-plugins/selection
     (package/inherit pkg
       (arguments
        (substitute-keyword-arguments (package-arguments pkg)
-         ((#:configure-flags flags `(,@(or configure-flags '())))
-          `(append
+         ((#:configure-flags flags #~'())
+         #~(append
             (list
-             ,@(map (lambda (plugin)
-                      (string-append "-D" plugin "=enabled"))
-                    plugins))
-            (list ,@(or configure-flags flags))))
-          ((#:phases phases)
-           `(modify-phases ,phases
-              (add-after 'unpack 'disable-auto-plugins
-                (lambda _
-                  (substitute* "meson_options.txt"
-                    (("'auto'") "'disabled'"))
-                  #t)))))))))
+             #$@(map (lambda (plugin)
+                       (string-append "-D" plugin "=enabled"))
+                     plugins))
+            #$(or configure-flags flags)))
+         ((#:phases phases)
+           #~(modify-phases #$phases
+               (add-after 'unpack 'disable-auto-plugins
+                 (lambda _
+                   (substitute* "meson_options.txt"
+                     (("'auto'") "'disabled'")))))))))))
 
 (define-public python-gst
   (package
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index a82b1b8889..eb01467ba3 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -4342,7 +4342,7 @@ (define-public pitivi
             (gst-plugins/selection gst-plugins-bad #:plugins
                                    '("debugutils" "transcode")
                                    #:configure-flags
-                                   '("-Dintrospection=enabled"))
+                                   #~'("-Dintrospection=enabled"))
             gst-libav
             gsound
             gtk+
-- 
2.36.1





  parent reply	other threads:[~2022-06-30 17:07 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-06  3:38 [bug#54744] [PATCH] Update gstreamer and its families to 1.20.1 Zhu Zihao
2022-04-06  5:56 ` Liliana Marie Prikler
2022-04-06  9:16   ` Zhu Zihao
2022-04-06 10:05     ` Liliana Marie Prikler
2022-04-06 15:34       ` Zhu Zihao
2022-04-07  6:27         ` Liliana Marie Prikler
2022-06-26 17:17 ` [bug#54744] [PATCH staging v2 01/20] gnu: python-gst: Add upstream-name Liliana Marie Prikler
2022-06-26 17:22 ` [bug#54744] [PATCH staging v2 02/20] gnu: gstreamer: Update to 1.20.3 Liliana Marie Prikler
2022-06-26 17:22 ` [bug#54744] [PATCH staging v2 03/20] gnu: gst-plugins-base: " Liliana Marie Prikler
2022-06-26 17:23 ` [bug#54744] [PATCH staging v2 04/20] gnu: gst-plugins-good: " Liliana Marie Prikler
2022-06-26 17:25 ` [bug#54744] [PATCH staging v2 05/20] gnu: gst-plugins-bad: " Liliana Marie Prikler
2022-06-26 17:25 ` [bug#54744] [PATCH staging v2 06/20] gnu: gst-plugins-ugly: " Liliana Marie Prikler
2022-06-26 17:25 ` [bug#54744] [PATCH staging v2 07/20] gnu: gst-libav: " Liliana Marie Prikler
2022-06-26 17:25 ` [bug#54744] [PATCH staging v2 08/20] gnu: gst-editing-services: " Liliana Marie Prikler
2022-06-26 17:26 ` [bug#54744] [PATCH staging v2 09/20] gnu: gstreamer-docs: " Liliana Marie Prikler
2022-06-26 17:26 ` [bug#54744] [PATCH staging v2 10/20] gnu: python-gst: " Liliana Marie Prikler
2022-06-28 18:41 ` Liliana Marie Prikler [this message]
2022-06-28 18:59 ` [bug#54744] [PATCH staging v2 12/20] gnu: Add gst-plugins-bad-minimal Liliana Marie Prikler
2022-06-28 19:19 ` [bug#54744] [PATCH staging v2 13/20] gnu: webkitgtk: Add missing inputs Liliana Marie Prikler
2022-06-29 19:15 ` [bug#54744] [PATCH staging v2 14/20] gnu: gstreamer: Use new package style Liliana Marie Prikler
2022-06-29 19:17 ` [bug#54744] [PATCH staging v2 15/20] gnu: gst-plugins-good: " Liliana Marie Prikler
2022-06-29 19:18 ` [bug#54744] [PATCH staging v2 16/20] gnu: gst-plugins-bad: " Liliana Marie Prikler
2022-06-29 19:19 ` [bug#54744] [PATCH staging v2 17/20] gnu: gst-plugins-ugly: " Liliana Marie Prikler
2022-06-29 19:20 ` [bug#54744] [PATCH staging v2 18/20] gnu: gst-editing-services: " Liliana Marie Prikler
2022-06-29 19:20 ` [bug#54744] [PATCH staging v2 19/20] gnu: gst-python: " Liliana Marie Prikler
2022-06-30  4:14 ` [bug#54744] [PATCH staging v2 20/20] gnu: gst-editing-services: Update FIXME comment Liliana Marie Prikler
2022-06-30 16:55 ` [bug#54744] [PATCH staging v2 00/20] Update gstreamer et al. to 1.20.3 Liliana Marie Prikler
2022-07-03  7:28   ` Zhu Zihao
2022-07-31 10:19     ` bug#54744: " Liliana Marie Prikler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2b568cadbd465e539aa82fa6cb9b91b8de4a61c2.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=54744@debbugs.gnu.org \
    --cc=all_but_last@163.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).