initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_MJPEGTOOLS
|
||||
bool "mjpegtools"
|
||||
depends on BR2_USE_MMU # fork
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_JPEG
|
||||
help
|
||||
The mjpegtools programs are a set of tools
|
||||
that can do recording of videos and playback,
|
||||
simple cut-and-paste editing and the MPEG
|
||||
compression of audio and video under Linux.
|
||||
|
||||
http://mjpeg.sourceforge.net
|
||||
|
||||
config BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT
|
||||
bool
|
||||
default y if BR2_X86_CPU_HAS_MMX
|
||||
default y if BR2_POWERPC_CPU_HAS_ALTIVEC
|
||||
|
||||
comment "mjpegtools needs a toolchain w/ C++, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,6 @@
|
||||
# From http://sourceforge.net/projects/mjpeg/files/mjpegtools/2.2.1/
|
||||
md5 168e0131c0b8a2e31df7a73eb602fc32 mjpegtools-2.2.1.tar.gz
|
||||
sha1 26e980912cd06f31033964acbc4b8d1932788bfc mjpegtools-2.2.1.tar.gz
|
||||
# Locally computed
|
||||
sha256 b180536d7d9960b05e0023a197b00dcb100929a49aab71d19d55f4a1b210f49a mjpegtools-2.2.1.tar.gz
|
||||
sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING
|
||||
@@ -0,0 +1,63 @@
|
||||
################################################################################
|
||||
#
|
||||
# mjpegtools
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MJPEGTOOLS_VERSION = 2.2.1
|
||||
MJPEGTOOLS_SITE = http://sourceforge.net/projects/mjpeg/files/mjpegtools/$(MJPEGTOOLS_VERSION)
|
||||
MJPEGTOOLS_DEPENDENCIES = host-pkgconf jpeg
|
||||
MJPEGTOOLS_INSTALL_STAGING = YES
|
||||
MJPEGTOOLS_LICENSE = GPL-2.0+
|
||||
MJPEGTOOLS_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT),y)
|
||||
MJPEGTOOLS_CONF_OPTS += --enable-simd-accel
|
||||
else
|
||||
MJPEGTOOLS_CONF_OPTS += --disable-simd-accel
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user