Subject: [bug#74306] [PATCH gnome-team 27/44] gnu: mjpegtools: Remove gtk+-2 input.

From: Maxim Cournoyer <[email-masked]>
Date: Mon, 11 Nov 2024 15:17:10 +0900

* gnu/packages/video.scm (mjpegtools) [arguments]: Add #:configure-flags.
[inputs]: Remove gtk+-2.

Change-Id: I0383d5b28c1790dccb949c54925f121c039d7292
---
 gnu/packages/video.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 51108aa6e6..2dc22eb56f 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -623,8 +623,10 @@ (define-public mjpegtools
        (sha256
         (base32 "16pl22ra3x2mkp8p3awslhlhj46b1nq9g89301gb0q4rgmnm705i"))))
     (build-system gnu-build-system)
+    ;; Avoid a dependency on the legacy GTK+ 2.
+    (arguments (list #:configure-flags #~(list "--without-gtk")))
     (inputs
-     (list gtk+-2 libdv libjpeg-turbo libpng libquicktime sdl))
+     (list libdv libjpeg-turbo libpng libquicktime sdl))
     (native-inputs
      (list pkg-config))
     (synopsis "Tools for handling MPEG")
-- 
2.46.0