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:
committed by
Arnout Vandecappelle
parent
d45984a208
commit
86d698091f
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user