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

View File

@@ -0,0 +1,54 @@
From 864d67d5cb4334f106c1ae055f0260b44f0dbb3b Mon Sep 17 00:00:00 2001
From: Angelo Compagnucci <angelo@amarulasolutions.com>
Date: Wed, 8 Feb 2023 10:58:20 +0100
Subject: [PATCH] configure.ac: add option to disable tests
This commit adds an option that allows to disable building tests,
which are not useful in some situations.
Upstream: https://github.com/flatmax/gtkiostream/pull/25
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[Thomas: improved with a configuration option]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
Makefile.am | 7 ++++++-
configure.ac | 5 +++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index 3cc0944..cd5d9e4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -20,7 +20,12 @@ AUTOMAKE_OPTIONS = foreign subdir-objects
SUBDIRS = src api include
if !HAVE_EMSCRIPTEN
-SUBDIRS += applications test
+SUBDIRS += applications
+
+if HAVE_TESTS
+SUBDIRS += test
+endif
+
endif
ACLOCAL_AMFLAGS = -I m4
diff --git a/configure.ac b/configure.ac
index 4557858..7950bf2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,11 @@ fi
# Checks for documentation
AM_CONDITIONAL([HAVE_DOXYGEN],[test -n "$DOXYGEN"])AM_COND_IF([HAVE_DOXYGEN], [AC_CONFIG_FILES([api/Doxyfile])])
+AC_ARG_ENABLE(tests, AS_HELP_STRING([--disable-tests],
+ [Disable tests (default: enabled)]),
+ [TESTS=$enableval], [TESTS=yes])
+AM_CONDITIONAL([HAVE_TESTS],[test "x$TESTS" = xyes])
+
#check whether this is a cygwin system
AM_CONDITIONAL(CYGWIN, test "$build_os" = "cygwin")
--
2.45.2

View File

@@ -0,0 +1,24 @@
config BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
bool
default y if BR2_ENDIAN = "LITTLE"
config BR2_PACKAGE_GTKIOSTREAM
bool "gtkiostream"
depends on BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
depends on BR2_INSTALL_LIBSTDCPP # eigen
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_ALSA_LIB_MIXER if BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_EIGEN
select BR2_PACKAGE_FFTW
select BR2_PACKAGE_FFTW_DOUBLE
select BR2_PACKAGE_FFTW_SINGLE
help
This package provides many useful software engineering and
signal processing includes and linkable library.
https://github.com/flatmax/gtkiostream
comment "gtkiostream needs a toolchain w/ C++, threads"
depends on BR2_PACKAGE_GTKIOSTREAM_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP || \
!BR2_TOOLCHAIN_HAS_THREADS

View File

@@ -0,0 +1,3 @@
# locally computed hash
sha256 44e8d921d462005cd330a1c24e5bd8061175b90ae53f537dbf73f59b74f6e01b gtkiostream-1.8.0.tar.gz
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 gpl.txt

View File

@@ -0,0 +1,54 @@
################################################################################
#
# GTKIOSTREAM
#
################################################################################
GTKIOSTREAM_VERSION = 1.8.0
GTKIOSTREAM_SITE = $(call github,flatmax,gtkiostream,v$(GTKIOSTREAM_VERSION))
GTKIOSTREAM_LICENSE = GPL-2.0+
GTKIOSTREAM_LICENSE_FILES = gpl.txt
# configure script not available
GTKIOSTREAM_AUTORECONF = YES
GTKIOSTREAM_DEPENDENCIES = \
eigen \
fftw-double \
fftw-single \
host-pkgconf
GTKIOSTREAM_CONF_OPTS = \
--disable-octave \
--disable-tests \
$(if $(BR2_TOOLCHAIN_HAS_OPENMP),--disable,--enable)-openmp
# For the optional packages below, there's unfortunately no
# ./configure option to explicitly enable/disable them. They are
# checked by the ./configure script using pkg-config.
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
GTKIOSTREAM_DEPENDENCIES += alsa-lib
endif
ifeq ($(BR2_PACKAGE_JACK2),y)
GTKIOSTREAM_DEPENDENCIES += jack2
endif
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
GTKIOSTREAM_DEPENDENCIES += libglib2
endif
ifeq ($(BR2_PACKAGE_LIBGTK3),y)
GTKIOSTREAM_DEPENDENCIES += libgtk3
endif
ifeq ($(BR2_PACKAGE_LIBWEBSOCKETS),y)
GTKIOSTREAM_DEPENDENCIES += libwebsockets
endif
ifeq ($(BR2_PACKAGE_SOX),y)
GTKIOSTREAM_DEPENDENCIES += sox
endif
$(eval $(autotools-package))