Message ID | 20221125111313.3128-1-martin.schmidt13@gmx.de |
---|---|
State | New |
Headers | show |
Series | [bug#59569,1/2] gnu: Add gst-plugins-good-qt. | expand |
On Fri Nov 25, 2022 at 11:13 AM GMT, Martin Schmidt wrote: > * gnu/packages/gstreamer.scm (gst-plugins-good-qt): New variable. > --- a/gnu/packages/gstreamer.scm > +++ b/gnu/packages/gstreamer.scm > @@ -734,6 +734,27 @@ (define libsoup > +(define-public gst-plugins-good-qt > + (package (inherit gst-plugins-good) > + (name "gst-plugins-good-qt") > + (build-system meson-build-system) > + > + (inputs > + (modify-inputs (package-inputs gst-plugins-good) > + (prepend qtbase-5 qtdeclarative-5 qtx11extras qtwayland-5))) > + > + (arguments > + (substitute-keyword-arguments (package-arguments gst-plugins-good) > + ((#:configure-flags flags #~'()) > + #~(list "-Dgst-plugins-good:qt5=enabled" )) > + > + > +)))) Indentation is... a wee bit off :) Also, the build-system override is a no-op. Try this instead: (define-public gst-plugins-good-qt (package (inherit gst-plugins-good) (arguments (substitute-keyword-arguments (package-arguments gst-plugins-good) ((#:configure-flags flags) #~(cons "-Dgst-plugins-good:qt5=enabled" flags)))) (inputs (modify-inputs (package-inputs gst-plugins-good) (prepend qtbase-5 qtdeclarative-5 qtwayland-5 qtx11extras))))) -- (
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index a92588a9e2..323fdb6f28 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -734,6 +734,27 @@ (define libsoup (home-page "https://gstreamer.freedesktop.org/") (license license:lgpl2.0+))) +(define-public gst-plugins-good-qt + (package (inherit gst-plugins-good) + (name "gst-plugins-good-qt") + (build-system meson-build-system) + + (inputs + (modify-inputs (package-inputs gst-plugins-good) + (prepend qtbase-5 qtdeclarative-5 qtx11extras qtwayland-5))) + + (arguments + (substitute-keyword-arguments (package-arguments gst-plugins-good) + ((#:configure-flags flags #~'()) + #~(list "-Dgst-plugins-good:qt5=enabled" )) + + +)))) + + + + + (define-public gst-plugins-bad (package (name "gst-plugins-bad")