Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

46
package/libv4l/Config.in Normal file
View File

@@ -0,0 +1,46 @@
config BR2_PACKAGE_LIBV4L
bool "libv4l"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
libv4l is a collection of libraries which adds a thin
abstraction layer on top of video4linux2 devices. libv4l
consists of 3 different libraries: libv4lconvert, libv4l1 and
libv4l2.
http://linuxtv.org/wiki/index.php/V4l-utils
if BR2_PACKAGE_LIBV4L
comment "libv4l JPEG support not enabled"
depends on !BR2_PACKAGE_JPEG
config BR2_PACKAGE_LIBV4L_UTILS
bool "v4l-utils tools"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
help
v4l-utils is a collection of various video4linux and DVB
utilities.
Enable this if you want to build the following tools:
- cx18-ctl
- dvb-fe-tool, dvbv5-zap, dvbv5-scan, dvb-format-convert
- decode_tm6000
- ir-keytable
- media-ctl
- v4l2-compliance
- v4l2-ctl, cx18-ctl, ivtv-ctl
- v4l2-sysfs-path
- rds-ctl
- qv4l2 (if Qt is enabled)
comment "v4l-utils tools needs a toolchain w/ C++11"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
endif
comment "libv4l needs a toolchain w/ threads, C++ and headers >= 3.0"
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0

View File

@@ -0,0 +1,9 @@
# Locally calculated after checking signature
# https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.32.0.tar.xz.asc
# with key 05D0169C26E41593418129DF199A64FADFB500FF
sha256 6828828a17775526eb93fb258a9294d1d1073d633c344dd71ecd4e7a1ffb7dfc v4l-utils-1.32.0.tar.xz
# Locally calculated
sha256 ef79a4373399a83c4ed8ee96af23824a8f4fabc9e48470c06d7f2194f4a74fce COPYING
sha256 6db18e1c5b47fd0b84a9ddf763cebae7bf6b9c56f1a1eeceae76a157ed9cd26e COPYING.libv4l
sha256 34229b5aadfb768d0d083987cba54203a920904a3ec8320823c6125b9831acd1 lib/libv4l1/libv4l1-kernelcode-license.txt

78
package/libv4l/libv4l.mk Normal file
View File

@@ -0,0 +1,78 @@
################################################################################
#
# libv4l
#
################################################################################
LIBV4L_VERSION = 1.32.0
LIBV4L_SOURCE = v4l-utils-$(LIBV4L_VERSION).tar.xz
LIBV4L_SITE = https://linuxtv.org/downloads/v4l-utils
LIBV4L_INSTALL_STAGING = YES
LIBV4L_DEPENDENCIES = host-pkgconf
LIBV4L_CONF_OPTS = -Ddoxygen-doc=disabled -Dqvidcap=disabled -Dv4l2-tracer=disabled
LIBV4L_LDFLAGS = $(TARGET_LDFLAGS)
# v4l-utils components have different licences, see v4l-utils.spec for details
LIBV4L_LICENSE = GPL-2.0+ (utilities), LGPL-2.1+ (libraries)
LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt
ifeq ($(BR2_STATIC_LIBS),y)
LIBV4L_CONF_OPTS += -Dv4l-plugins=false -Dv4l-wrappers=false
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
LIBV4L_DEPENDENCIES += alsa-lib
endif
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
LIBV4L_DEPENDENCIES += argp-standalone $(TARGET_NLS_DEPENDENCIES)
LIBV4L_LDFLAGS += $(TARGET_NLS_LIBS)
endif
LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
ifeq ($(BR2_PACKAGE_JPEG),y)
LIBV4L_CONF_OPTS += -Djpeg=enabled
LIBV4L_DEPENDENCIES += jpeg
else
LIBV4L_CONF_OPTS += -Djpeg=disabled
endif
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
LIBV4L_DEPENDENCIES += libgl
endif
ifeq ($(BR2_PACKAGE_HAS_LIBUDEV),y)
LIBV4L_CONF_OPTS += -Dlibdvbv5=enabled -Dudevdir=/usr/lib/udev
LIBV4L_DEPENDENCIES += libudev
else
LIBV4L_CONF_OPTS += -Dlibdvbv5=disabled
endif
ifeq ($(BR2_PACKAGE_LIBGLU),y)
LIBV4L_DEPENDENCIES += libglu
endif
ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
LIBV4L_CONF_OPTS += -Dv4l-utils=true
LIBV4L_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
# IR BPF decoder support needs toolchain with linux-headers >= 3.18
# libelf and clang support
LIBV4L_CONF_OPTS += -Dbpf=disabled
ifeq ($(BR2_PACKAGE_QT5BASE)$(BR2_PACKAGE_QT5BASE_GUI)$(BR2_PACKAGE_QT5BASE_WIDGETS),yyy)
LIBV4L_CONF_OPTS += -Dqv4l2=enabled
LIBV4L_DEPENDENCIES += qt5base
else
LIBV4L_CONF_OPTS += -Dqv4l2=disabled
endif
else
LIBV4L_CONF_OPTS += -Dv4l-utils=false
endif
ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y)
LIBV4L_DEPENDENCIES += sdl2_image
endif
$(eval $(meson-package))