package/mjpegtools: drop optional dependency on libgtk2

As we're about to remove libgtk2, let's drop the optional dependency
of mjpegtools on libgtk2, and forcefully disable gtk support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
This commit is contained in:
Thomas Petazzoni
2025-09-10 23:32:22 +02:00
committed by Arnout Vandecappelle
parent d45984a208
commit 86d698091f

View File

@@ -10,6 +10,7 @@ MJPEGTOOLS_DEPENDENCIES = host-pkgconf jpeg
MJPEGTOOLS_INSTALL_STAGING = YES
MJPEGTOOLS_LICENSE = GPL-2.0+
MJPEGTOOLS_LICENSE_FILES = COPYING
MJPEGTOOLS_CONF_OPTS = --without-gtk
ifeq ($(BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT),y)
MJPEGTOOLS_CONF_OPTS += --enable-simd-accel
@@ -53,11 +54,4 @@ else
MJPEGTOOLS_CONF_OPTS += --without-dga
endif
ifeq ($(BR2_PACKAGE_LIBGTK2),y)
MJPEGTOOLS_CONF_OPTS += --with-gtk
MJPEGTOOLS_DEPENDENCIES += libgtk2
else
MJPEGTOOLS_CONF_OPTS += --without-gtk
endif
$(eval $(autotools-package))