From 70ea4b4c8085fce957557a9df2a44ab217ffaf78 Mon Sep 17 00:00:00 2001 From: Zhu Zihao Date: Wed, 6 Apr 2022 11:31:00 +0800 Subject: [PATCH 10/10] gnu: gst-editing-services: Update to 1.20.1. * gnu/packages/gstreamer.scm (gst-editing-services): Update to 1.20.1. [version]: Use `%gstreamer-version` variable. [source]: Generate download URL by package name. [arguments]: Use G-expressions. [native-inputs]: Use label-less input style. --- gnu/packages/gstreamer.scm | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index d96a07cc33..ef0b1d1ead 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -1002,35 +1002,38 @@ (define-public gst-libav (define-public gst-editing-services (package (name "gst-editing-services") - (version "1.18.5") + (version %gstreamer-version) (source (origin (method url-fetch) (uri (string-append "https://gstreamer.freedesktop.org/src/" name "/" - "gst-editing-services-" version ".tar.xz")) + name "-" version ".tar.xz")) (sha256 (base32 - "1x8db4021qv4ypq1g6n5q2awrb7glr4xp1h650c3w7q59lwsix4a")))) + "1ps887yyj6jkj8a2613n43b4fbvynxwryinxvavi00cfnlhipkka")))) (build-system meson-build-system) (arguments - ;; FIXME: 16/22 failing tests. - `(#:tests? #f - #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas - #:phases (modify-phases %standard-phases - ,@%common-gstreamer-phases))) + (list + ;; FIXME: 16/22 failing tests. + #:tests? #f + #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas + #:phases + #~(modify-phases %standard-phases + #$@%common-gstreamer-phases))) (propagated-inputs (list gstreamer gst-plugins-base)) (inputs (list glib glib-networking gtk+ libxml2)) (native-inputs - `(("flex" ,flex) - ("gobject-introspection" ,gobject-introspection) - ("glib:bin" ,glib "bin") - ("gst-plugins-bad" ,gst-plugins-bad) - ("gst-plugins-good" ,gst-plugins-good) - ("perl" ,perl) - ("pkg-config" ,pkg-config) - ("python" ,python-wrapper))) + (list flex + gobject-introspection + `(,glib "bin") + ;; gst-devtools + gst-plugins-bad + gst-plugins-good + perl + pkg-config + python-wrapper)) (home-page "https://gstreamer.freedesktop.org/") (synopsis "GStreamer library for non-linear editors") (description -- 2.34.0