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.master
parent
4d08f984e9
commit
f1b70e156a
|
@ -532,50 +532,51 @@ This package provides the core library and elements.")
|
|||
"17rw8wj1x1bg153m9z76pdvgz5k93m3riyalfpzq00x7h7fv6c3y"))))
|
||||
(build-system meson-build-system)
|
||||
(propagated-inputs
|
||||
`(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
|
||||
("gstreamer" ,gstreamer) ;required by gstreamer-plugins-base-1.0.pc
|
||||
(cons* glib ;required by gstreamer-sdp-1.0.pc
|
||||
gstreamer ;required by gstreamer-plugins-base-1.0.pc
|
||||
;; wayland-client.h is referred to in
|
||||
;; include/gstreamer-1.0/gst/gl/wayland/gstgldisplay_wayland.h
|
||||
("wayland" ,wayland)
|
||||
wayland
|
||||
;; XXX: Do not enable Orc optimizations on ARM systems because
|
||||
;; it leads to two test failures.
|
||||
;; 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)))
|
||||
'()
|
||||
`(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
|
||||
(list orc)))) ;required by gstreamer-audio-1.0.pc
|
||||
(inputs
|
||||
;; TODO: Add libvorbisidec
|
||||
`(("cdparanoia" ,cdparanoia)
|
||||
("pango" ,pango)
|
||||
("libogg" ,libogg)
|
||||
("libtheora" ,libtheora)
|
||||
("libvorbis" ,libvorbis)
|
||||
("libx11" ,libx11)
|
||||
("zlib" ,zlib)
|
||||
("libXext" ,libxext)
|
||||
("libxv" ,libxv)
|
||||
("alsa-lib" ,alsa-lib)
|
||||
("opus" ,opus)
|
||||
("graphene" ,graphene)
|
||||
("iso-codes" ,iso-codes)
|
||||
("libgudev" ,libgudev)
|
||||
("libjpeg" ,libjpeg-turbo)
|
||||
("libpng" ,libpng)
|
||||
("libvisual" ,libvisual)
|
||||
("mesa" ,mesa)
|
||||
("wayland-protocols" ,wayland-protocols)))
|
||||
(list alsa-lib
|
||||
cdparanoia
|
||||
graphene
|
||||
iso-codes
|
||||
libgudev
|
||||
libjpeg-turbo
|
||||
libogg
|
||||
libpng
|
||||
libtheora
|
||||
libvisual
|
||||
libvorbis
|
||||
libx11
|
||||
libxext
|
||||
libxv
|
||||
mesa
|
||||
opus
|
||||
pango
|
||||
wayland-protocols
|
||||
zlib))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)
|
||||
("glib:bin" ,glib "bin")
|
||||
("gobject-introspection" ,gobject-introspection)
|
||||
("python-wrapper" ,python-wrapper)
|
||||
("gettext" ,gettext-minimal)
|
||||
("xorg-server" ,xorg-server-for-tests)))
|
||||
(list pkg-config
|
||||
`(,glib "bin")
|
||||
gobject-introspection
|
||||
python-wrapper
|
||||
gettext-minimal
|
||||
xorg-server-for-tests))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
,@%common-gstreamer-phases
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
#$@%common-gstreamer-phases
|
||||
(add-after 'unpack 'disable-problematic-tests
|
||||
(lambda _
|
||||
(substitute* "tests/check/meson.build"
|
||||
|
@ -620,10 +621,11 @@ for the GStreamer multimedia library.")
|
|||
(base32 "1dv8b2md1xk6d45ir1wzbvqhxbvm6mxv881rjl0brnjwpw3c5wzq"))))
|
||||
(build-system meson-build-system)
|
||||
(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
|
||||
(modify-phases %standard-phases
|
||||
,@%common-gstreamer-phases
|
||||
#~(modify-phases %standard-phases
|
||||
#$@%common-gstreamer-phases
|
||||
(add-after 'unpack 'absolutize-libsoup-library
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(define libsoup
|
||||
|
@ -648,55 +650,54 @@ for the GStreamer multimedia library.")
|
|||
;; Tests look for $XDG_RUNTIME_DIR.
|
||||
(setenv "XDG_RUNTIME_DIR" (getcwd))
|
||||
;; For missing '/etc/machine-id'.
|
||||
(setenv "DBUS_FATAL_WARNINGS" "0")
|
||||
#t)))))
|
||||
(setenv "DBUS_FATAL_WARNINGS" "0"))))))
|
||||
(native-inputs
|
||||
`(("gettext" ,gettext-minimal)
|
||||
("glib:bin" ,glib "bin")
|
||||
("gobject-introspection" ,gobject-introspection)
|
||||
("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
|
||||
("perl" ,perl)
|
||||
("pkg-config" ,pkg-config)
|
||||
("python-wrapper" ,python-wrapper)
|
||||
("xmllint" ,libxml2)
|
||||
("xorg-server" ,xorg-server-for-tests)))
|
||||
(list gettext-minimal
|
||||
`(,glib "bin")
|
||||
gobject-introspection
|
||||
gsettings-desktop-schemas
|
||||
libxml2
|
||||
perl
|
||||
pkg-config
|
||||
python-wrapper
|
||||
xorg-server-for-tests))
|
||||
(inputs
|
||||
`(("aalib" ,aalib)
|
||||
("bzip2" ,bzip2)
|
||||
("cairo" ,cairo)
|
||||
("flac" ,flac)
|
||||
("librsvg" ,(librsvg-for-system))
|
||||
("glib" ,glib)
|
||||
("glib-networking" ,glib-networking)
|
||||
("glu" ,glu)
|
||||
("gtk+" ,gtk+)
|
||||
("jack" ,jack-2)
|
||||
("lame" ,lame)
|
||||
("libavc1394" ,libavc1394)
|
||||
("libcaca" ,libcaca)
|
||||
("libdv" ,libdv)
|
||||
("libgudev" ,libgudev)
|
||||
("libiec61883" ,libiec61883)
|
||||
("libjpeg" ,libjpeg-turbo)
|
||||
("libpng" ,libpng)
|
||||
("libshout" ,libshout)
|
||||
("libsoup" ,libsoup)
|
||||
("libvpx" ,libvpx)
|
||||
("libx11" ,libx11)
|
||||
("libxdamage" ,libxdamage)
|
||||
("libxfixes" ,libxfixes)
|
||||
("libxext" ,libxext)
|
||||
("libxshm" ,libxshmfence)
|
||||
("mesa" ,mesa)
|
||||
("mpg123" ,mpg123)
|
||||
("orc" ,orc)
|
||||
("pulseaudio" ,pulseaudio)
|
||||
("speex" ,speex)
|
||||
("taglib" ,taglib)
|
||||
("twolame" ,twolame)
|
||||
("v4l-utils" ,v4l-utils)
|
||||
("wavpack" ,wavpack)
|
||||
("zlib" ,zlib)))
|
||||
(list aalib
|
||||
bzip2
|
||||
cairo
|
||||
flac
|
||||
(librsvg-for-system)
|
||||
glib
|
||||
glib-networking
|
||||
glu
|
||||
gtk+
|
||||
jack-2
|
||||
lame
|
||||
libavc1394
|
||||
libcaca
|
||||
libdv
|
||||
libgudev
|
||||
libiec61883
|
||||
libjpeg-turbo
|
||||
libpng
|
||||
libshout
|
||||
libsoup
|
||||
libvpx
|
||||
libx11
|
||||
libxdamage
|
||||
libxfixes
|
||||
libxext
|
||||
libxshmfence
|
||||
mesa
|
||||
mpg123
|
||||
orc
|
||||
pulseaudio
|
||||
speex
|
||||
taglib
|
||||
twolame
|
||||
v4l-utils
|
||||
wavpack
|
||||
zlib))
|
||||
(propagated-inputs
|
||||
(list gstreamer gst-plugins-base))
|
||||
(synopsis "GStreamer plugins and helper libraries")
|
||||
|
|
Reference in New Issue