1 ################################################################################
5 ################################################################################
7 MJPEGTOOLS_VERSION
= 2.1.0
8 MJPEGTOOLS_SITE
= http
://sourceforge.net
/projects
/mjpeg
/files
/mjpegtools
/$(MJPEGTOOLS_VERSION
)
9 MJPEGTOOLS_DEPENDENCIES
= host-pkgconf jpeg
10 MJPEGTOOLS_LICENSE
= GPLv2
+
11 MJPEGTOOLS_LICENSE_FILES
= COPYING
13 ifeq ($(BR2_PACKAGE_LIBPNG
),y
)
14 MJPEGTOOLS_CONF_OPTS
+= --with-libpng
15 MJPEGTOOLS_DEPENDENCIES
+= libpng
17 MJPEGTOOLS_CONF_OPTS
+= --without-libpng
20 # expects X11 backend in sdl
21 ifeq ($(BR2_PACKAGE_SDL_X11
),y
)
22 MJPEGTOOLS_CONF_OPTS
+= --with-libsdl
23 MJPEGTOOLS_DEPENDENCIES
+= sdl
25 MJPEGTOOLS_CONF_OPTS
+= --without-libsdl
28 ifeq ($(BR2_PACKAGE_SDL_GFX
),y
)
29 MJPEGTOOLS_CONF_OPTS
+= --with-sdlgfx
30 MJPEGTOOLS_DEPENDENCIES
+= sdl_gfx
32 MJPEGTOOLS_CONF_OPTS
+= --without-sdlgfx
35 ifeq ($(BR2_PACKAGE_XLIB_LIBX11
),y
)
36 MJPEGTOOLS_CONF_OPTS
+= --with-x
37 MJPEGTOOLS_DEPENDENCIES
+= xlib_libX11
39 MJPEGTOOLS_CONF_OPTS
+= --without-x
42 ifeq ($(BR2_PACKAGE_XLIB_LIBXXF86DGA
),y
)
43 MJPEGTOOLS_CONF_OPTS
+= --with-dga
44 MJPEGTOOLS_DEPENDENCIES
+= xlib_libXxf86dga
46 MJPEGTOOLS_CONF_OPTS
+= --without-dga
49 ifeq ($(BR2_PACKAGE_LIBGTK2
),y
)
50 MJPEGTOOLS_CONF_OPTS
+= --with-gtk
51 MJPEGTOOLS_DEPENDENCIES
+= libgtk2
53 MJPEGTOOLS_CONF_OPTS
+= --without-gtk
56 $(eval
$(autotools-package
))