gnu: gst-plugins-good: Use new package style.
* gnu/packages/gstreamer.scm (gst-plugins-good)[arguments]: Convert to list of G-Expressions. [propagated-inputs, native-inputs]: Drop labels. [inputs]: Drop labels, also sort alphabetically.
This commit is contained in:
		
							parent
							
								
									4d08f984e9
								
							
						
					
					
						commit
						f1b70e156a
					
				
					 1 changed files with 137 additions and 136 deletions
				
			
		| 
						 | 
					@ -532,50 +532,51 @@ This package provides the core library and elements.")
 | 
				
			||||||
        "17rw8wj1x1bg153m9z76pdvgz5k93m3riyalfpzq00x7h7fv6c3y"))))
 | 
					        "17rw8wj1x1bg153m9z76pdvgz5k93m3riyalfpzq00x7h7fv6c3y"))))
 | 
				
			||||||
    (build-system meson-build-system)
 | 
					    (build-system meson-build-system)
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("glib" ,glib)              ;required by gstreamer-sdp-1.0.pc
 | 
					     (cons* glib                    ;required by gstreamer-sdp-1.0.pc
 | 
				
			||||||
       ("gstreamer" ,gstreamer)    ;required by gstreamer-plugins-base-1.0.pc
 | 
					            gstreamer               ;required by gstreamer-plugins-base-1.0.pc
 | 
				
			||||||
            ;; wayland-client.h is referred to in
 | 
					            ;; wayland-client.h is referred to in
 | 
				
			||||||
            ;; include/gstreamer-1.0/gst/gl/wayland/gstgldisplay_wayland.h
 | 
					            ;; include/gstreamer-1.0/gst/gl/wayland/gstgldisplay_wayland.h
 | 
				
			||||||
       ("wayland" ,wayland)
 | 
					            wayland
 | 
				
			||||||
            ;; XXX: Do not enable Orc optimizations on ARM systems because
 | 
					            ;; XXX: Do not enable Orc optimizations on ARM systems because
 | 
				
			||||||
            ;; it leads to two test failures.
 | 
					            ;; it leads to two test failures.
 | 
				
			||||||
            ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/683
 | 
					            ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/683
 | 
				
			||||||
       ,@(if (string-prefix? "arm" (or (%current-target-system)
 | 
					            (if (string-prefix? "arm" (or (%current-target-system)
 | 
				
			||||||
                                          (%current-system)))
 | 
					                                          (%current-system)))
 | 
				
			||||||
                '()
 | 
					                '()
 | 
				
			||||||
             `(("orc" ,orc)))))         ;required by gstreamer-audio-1.0.pc
 | 
					                (list orc))))           ;required by gstreamer-audio-1.0.pc
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     ;; TODO: Add libvorbisidec
 | 
					     ;; TODO: Add libvorbisidec
 | 
				
			||||||
     `(("cdparanoia" ,cdparanoia)
 | 
					     (list alsa-lib
 | 
				
			||||||
       ("pango" ,pango)
 | 
					           cdparanoia
 | 
				
			||||||
       ("libogg" ,libogg)
 | 
					           graphene
 | 
				
			||||||
       ("libtheora" ,libtheora)
 | 
					           iso-codes
 | 
				
			||||||
       ("libvorbis" ,libvorbis)
 | 
					           libgudev
 | 
				
			||||||
       ("libx11" ,libx11)
 | 
					           libjpeg-turbo
 | 
				
			||||||
       ("zlib" ,zlib)
 | 
					           libogg
 | 
				
			||||||
       ("libXext" ,libxext)
 | 
					           libpng
 | 
				
			||||||
       ("libxv" ,libxv)
 | 
					           libtheora
 | 
				
			||||||
       ("alsa-lib" ,alsa-lib)
 | 
					           libvisual
 | 
				
			||||||
       ("opus" ,opus)
 | 
					           libvorbis
 | 
				
			||||||
       ("graphene" ,graphene)
 | 
					           libx11
 | 
				
			||||||
       ("iso-codes" ,iso-codes)
 | 
					           libxext
 | 
				
			||||||
       ("libgudev" ,libgudev)
 | 
					           libxv
 | 
				
			||||||
       ("libjpeg" ,libjpeg-turbo)
 | 
					           mesa
 | 
				
			||||||
       ("libpng" ,libpng)
 | 
					           opus
 | 
				
			||||||
       ("libvisual" ,libvisual)
 | 
					           pango
 | 
				
			||||||
       ("mesa" ,mesa)
 | 
					           wayland-protocols
 | 
				
			||||||
       ("wayland-protocols" ,wayland-protocols)))
 | 
					           zlib))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("pkg-config" ,pkg-config)
 | 
					     (list pkg-config
 | 
				
			||||||
       ("glib:bin" ,glib "bin")
 | 
					           `(,glib "bin")
 | 
				
			||||||
       ("gobject-introspection" ,gobject-introspection)
 | 
					           gobject-introspection
 | 
				
			||||||
       ("python-wrapper" ,python-wrapper)
 | 
					           python-wrapper
 | 
				
			||||||
       ("gettext" ,gettext-minimal)
 | 
					           gettext-minimal
 | 
				
			||||||
       ("xorg-server" ,xorg-server-for-tests)))
 | 
					           xorg-server-for-tests))
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     (list
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					      #:phases
 | 
				
			||||||
         ,@%common-gstreamer-phases
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
 | 
					          #$@%common-gstreamer-phases
 | 
				
			||||||
          (add-after 'unpack 'disable-problematic-tests
 | 
					          (add-after 'unpack 'disable-problematic-tests
 | 
				
			||||||
            (lambda _
 | 
					            (lambda _
 | 
				
			||||||
              (substitute* "tests/check/meson.build"
 | 
					              (substitute* "tests/check/meson.build"
 | 
				
			||||||
| 
						 | 
					@ -620,10 +621,11 @@ for the GStreamer multimedia library.")
 | 
				
			||||||
        (base32 "1dv8b2md1xk6d45ir1wzbvqhxbvm6mxv881rjl0brnjwpw3c5wzq"))))
 | 
					        (base32 "1dv8b2md1xk6d45ir1wzbvqhxbvm6mxv881rjl0brnjwpw3c5wzq"))))
 | 
				
			||||||
    (build-system meson-build-system)
 | 
					    (build-system meson-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:glib-or-gtk? #t     ; To wrap binaries and/or compile schemas
 | 
					     (list
 | 
				
			||||||
 | 
					      #:glib-or-gtk? #t              ; To wrap binaries and/or compile schemas
 | 
				
			||||||
      #:phases
 | 
					      #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
         ,@%common-gstreamer-phases
 | 
					          #$@%common-gstreamer-phases
 | 
				
			||||||
          (add-after 'unpack 'absolutize-libsoup-library
 | 
					          (add-after 'unpack 'absolutize-libsoup-library
 | 
				
			||||||
            (lambda* (#:key inputs #:allow-other-keys)
 | 
					            (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
              (define libsoup
 | 
					              (define libsoup
 | 
				
			||||||
| 
						 | 
					@ -648,55 +650,54 @@ for the GStreamer multimedia library.")
 | 
				
			||||||
              ;; Tests look for $XDG_RUNTIME_DIR.
 | 
					              ;; Tests look for $XDG_RUNTIME_DIR.
 | 
				
			||||||
              (setenv "XDG_RUNTIME_DIR" (getcwd))
 | 
					              (setenv "XDG_RUNTIME_DIR" (getcwd))
 | 
				
			||||||
              ;; For missing '/etc/machine-id'.
 | 
					              ;; For missing '/etc/machine-id'.
 | 
				
			||||||
             (setenv "DBUS_FATAL_WARNINGS" "0")
 | 
					              (setenv "DBUS_FATAL_WARNINGS" "0"))))))
 | 
				
			||||||
             #t)))))
 | 
					 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     `(("gettext" ,gettext-minimal)
 | 
					     (list gettext-minimal
 | 
				
			||||||
       ("glib:bin" ,glib "bin")
 | 
					           `(,glib "bin")
 | 
				
			||||||
       ("gobject-introspection" ,gobject-introspection)
 | 
					           gobject-introspection
 | 
				
			||||||
       ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
 | 
					           gsettings-desktop-schemas
 | 
				
			||||||
       ("perl" ,perl)
 | 
					           libxml2
 | 
				
			||||||
       ("pkg-config" ,pkg-config)
 | 
					           perl
 | 
				
			||||||
       ("python-wrapper" ,python-wrapper)
 | 
					           pkg-config
 | 
				
			||||||
       ("xmllint" ,libxml2)
 | 
					           python-wrapper
 | 
				
			||||||
       ("xorg-server" ,xorg-server-for-tests)))
 | 
					           xorg-server-for-tests))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("aalib" ,aalib)
 | 
					     (list aalib
 | 
				
			||||||
       ("bzip2" ,bzip2)
 | 
					           bzip2
 | 
				
			||||||
       ("cairo" ,cairo)
 | 
					           cairo
 | 
				
			||||||
       ("flac" ,flac)
 | 
					           flac
 | 
				
			||||||
       ("librsvg" ,(librsvg-for-system))
 | 
					           (librsvg-for-system)
 | 
				
			||||||
       ("glib" ,glib)
 | 
					           glib
 | 
				
			||||||
       ("glib-networking" ,glib-networking)
 | 
					           glib-networking
 | 
				
			||||||
       ("glu" ,glu)
 | 
					           glu
 | 
				
			||||||
       ("gtk+" ,gtk+)
 | 
					           gtk+
 | 
				
			||||||
       ("jack" ,jack-2)
 | 
					           jack-2
 | 
				
			||||||
       ("lame" ,lame)
 | 
					           lame
 | 
				
			||||||
       ("libavc1394" ,libavc1394)
 | 
					           libavc1394
 | 
				
			||||||
       ("libcaca" ,libcaca)
 | 
					           libcaca
 | 
				
			||||||
       ("libdv" ,libdv)
 | 
					           libdv
 | 
				
			||||||
       ("libgudev" ,libgudev)
 | 
					           libgudev
 | 
				
			||||||
       ("libiec61883" ,libiec61883)
 | 
					           libiec61883
 | 
				
			||||||
       ("libjpeg" ,libjpeg-turbo)
 | 
					           libjpeg-turbo
 | 
				
			||||||
       ("libpng" ,libpng)
 | 
					           libpng
 | 
				
			||||||
       ("libshout" ,libshout)
 | 
					           libshout
 | 
				
			||||||
       ("libsoup" ,libsoup)
 | 
					           libsoup
 | 
				
			||||||
       ("libvpx" ,libvpx)
 | 
					           libvpx
 | 
				
			||||||
       ("libx11" ,libx11)
 | 
					           libx11
 | 
				
			||||||
       ("libxdamage" ,libxdamage)
 | 
					           libxdamage
 | 
				
			||||||
       ("libxfixes" ,libxfixes)
 | 
					           libxfixes
 | 
				
			||||||
       ("libxext" ,libxext)
 | 
					           libxext
 | 
				
			||||||
       ("libxshm" ,libxshmfence)
 | 
					           libxshmfence
 | 
				
			||||||
       ("mesa" ,mesa)
 | 
					           mesa
 | 
				
			||||||
       ("mpg123" ,mpg123)
 | 
					           mpg123
 | 
				
			||||||
       ("orc" ,orc)
 | 
					           orc
 | 
				
			||||||
       ("pulseaudio" ,pulseaudio)
 | 
					           pulseaudio
 | 
				
			||||||
       ("speex" ,speex)
 | 
					           speex
 | 
				
			||||||
       ("taglib" ,taglib)
 | 
					           taglib
 | 
				
			||||||
       ("twolame" ,twolame)
 | 
					           twolame
 | 
				
			||||||
       ("v4l-utils" ,v4l-utils)
 | 
					           v4l-utils
 | 
				
			||||||
       ("wavpack" ,wavpack)
 | 
					           wavpack
 | 
				
			||||||
       ("zlib" ,zlib)))
 | 
					           zlib))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     (list gstreamer gst-plugins-base))
 | 
					     (list gstreamer gst-plugins-base))
 | 
				
			||||||
    (synopsis "GStreamer plugins and helper libraries")
 | 
					    (synopsis "GStreamer plugins and helper libraries")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue