2015-03-20 13:35:19 +01:00
|
|
|
################################################################################
|
2015-02-02 23:35:06 +01:00
|
|
|
#
|
|
|
|
# mjpegtools
|
|
|
|
#
|
2015-03-20 13:35:19 +01:00
|
|
|
################################################################################
|
2015-02-02 23:35:06 +01:00
|
|
|
|
|
|
|
MJPEGTOOLS_VERSION = 2.1.0
|
|
|
|
MJPEGTOOLS_SITE = http://sourceforge.net/projects/mjpeg/files/mjpegtools/$(MJPEGTOOLS_VERSION)
|
2015-02-03 11:47:23 +01:00
|
|
|
MJPEGTOOLS_DEPENDENCIES = host-pkgconf jpeg
|
2019-04-30 16:27:07 +02:00
|
|
|
MJPEGTOOLS_INSTALL_STAGING = YES
|
2017-03-30 15:43:32 +02:00
|
|
|
MJPEGTOOLS_LICENSE = GPL-2.0+
|
2015-02-02 23:35:06 +01:00
|
|
|
MJPEGTOOLS_LICENSE_FILES = COPYING
|
|
|
|
|
2018-08-22 22:30:08 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT),y)
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --enable-simd-accel
|
|
|
|
else
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --disable-simd-accel
|
|
|
|
endif
|
|
|
|
|
2015-02-03 12:24:32 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --with-libpng
|
|
|
|
MJPEGTOOLS_DEPENDENCIES += libpng
|
|
|
|
else
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --without-libpng
|
|
|
|
endif
|
|
|
|
|
|
|
|
# expects X11 backend in sdl
|
|
|
|
ifeq ($(BR2_PACKAGE_SDL_X11),y)
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --with-libsdl
|
|
|
|
MJPEGTOOLS_DEPENDENCIES += sdl
|
|
|
|
else
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --without-libsdl
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_SDL_GFX),y)
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --with-sdlgfx
|
|
|
|
MJPEGTOOLS_DEPENDENCIES += sdl_gfx
|
|
|
|
else
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --without-sdlgfx
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --with-x
|
|
|
|
MJPEGTOOLS_DEPENDENCIES += xlib_libX11
|
|
|
|
else
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --without-x
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86DGA),y)
|
|
|
|
MJPEGTOOLS_CONF_OPTS += --with-dga
|
|
|
|
MJPEGTOOLS_DEPENDENCIES += xlib_libXxf86dga
|
|
|
|
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
|
|
|
|
|
2015-02-02 23:35:06 +01:00
|
|
|
$(eval $(autotools-package))
|