Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From 2592f0d38826e8db3603ce1535d82ab427ac73bc Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Thu, 28 Aug 2025 18:11:13 +0200
|
||||
Subject: [PATCH] CMakeLists.txt: allow building without ffmpeg support
|
||||
|
||||
The ffmpeg support is optional, but is automatically pulled in (if
|
||||
available) on ARM with SIMD, even when WITH_AVFFT is disabled.
|
||||
|
||||
Instead, ensure WITH_AVFFT does its job, which is to allow disabling
|
||||
ffmpeg usage if not desired.
|
||||
|
||||
Upstream: https://github.com/chirlu/soxr/pull/16
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index ee48f6c..48f91f1 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -134,7 +134,7 @@ if (WITH_AVFFT)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
-if (WITH_AVFFT OR (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" AND SIMD32_FOUND AND WITH_CR32))
|
||||
+if (WITH_AVFFT AND (CMAKE_SYSTEM_PROCESSOR MATCHES "^arm" AND SIMD32_FOUND AND WITH_CR32))
|
||||
find_package (LibAVUtil)
|
||||
if (AVUTIL_FOUND)
|
||||
include_directories (${AVUTIL_INCLUDE_DIRS})
|
||||
--
|
||||
2.50.1
|
||||
|
||||
28
package/libsoxr/0002-allow-compile-with-cmake-4.0.0.patch
Normal file
28
package/libsoxr/0002-allow-compile-with-cmake-4.0.0.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From c157f862ecca9a0613e25c2058aceb127ee4ea4f Mon Sep 17 00:00:00 2001
|
||||
From: Rudi Heitbaum <rudi@heitbaum.com>
|
||||
Date: Fri, 28 Mar 2025 13:47:55 +0000
|
||||
Subject: [PATCH] allow compile with cmake 4.0.0
|
||||
|
||||
Upstream: https://sourceforge.net/p/soxr/code/merge-requests/6/
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index ee48f6c..2eea1e9 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,7 +1,7 @@
|
||||
# SoX Resampler Library Copyright (c) 2007-18 robs@users.sourceforge.net
|
||||
# Licence for this file: LGPL v2.1 See LICENCE for details.
|
||||
|
||||
-cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
|
||||
+cmake_minimum_required (VERSION 3.1...3.10 FATAL_ERROR)
|
||||
|
||||
project (soxr C)
|
||||
set (DESCRIPTION_SUMMARY
|
||||
--
|
||||
2.47.3
|
||||
|
||||
15
package/libsoxr/Config.in
Normal file
15
package/libsoxr/Config.in
Normal file
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_LIBSOXR
|
||||
bool "libsoxr"
|
||||
help
|
||||
The SoX Resampler library `libsoxr' performs one-dimensional
|
||||
sample-rate conversion. It may be used, for example, to
|
||||
resample PCM-encoded audio.
|
||||
|
||||
It aims to give fast and high quality results for any constant
|
||||
(rational or irrational) resampling ratio. Phase-response,
|
||||
preserved bandwidth, aliasing, and rejection level parameters
|
||||
are all configurable; alternatively, simple `preset'
|
||||
configurations may be selected. An experimental, variable-rate
|
||||
resampling mode of operation is also included.
|
||||
|
||||
http://sourceforge.net/projects/soxr/
|
||||
7
package/libsoxr/libsoxr.hash
Normal file
7
package/libsoxr/libsoxr.hash
Normal file
@@ -0,0 +1,7 @@
|
||||
# From http://sourceforge.net/projects/soxr/files/
|
||||
sha1 32ea46b1a8c0c15f835422892d02fce8286aec3c soxr-0.1.3-Source.tar.xz
|
||||
md5 3f16f4dcb35b471682d4321eda6f6c08 soxr-0.1.3-Source.tar.xz
|
||||
# Locally calculated
|
||||
sha256 b111c15fdc8c029989330ff559184198c161100a59312f5dc19ddeb9b5a15889 soxr-0.1.3-Source.tar.xz
|
||||
sha256 dc98676341fdcd29d9f279c9679d6a75288785b174ded8d1b2e316c366166135 LICENCE
|
||||
sha256 f2f118b9029ec1871b953639ecc46651b2fc7b62e295e6cf3ef2ac4c9a058b33 COPYING.LGPL
|
||||
21
package/libsoxr/libsoxr.mk
Normal file
21
package/libsoxr/libsoxr.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# libsoxr
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSOXR_VERSION = 0.1.3
|
||||
LIBSOXR_SOURCE = soxr-$(LIBSOXR_VERSION)-Source.tar.xz
|
||||
LIBSOXR_SITE = http://downloads.sourceforge.net/project/soxr
|
||||
LIBSOXR_LICENSE = LGPL-2.1+
|
||||
LIBSOXR_LICENSE_FILES = LICENCE COPYING.LGPL
|
||||
LIBSOXR_INSTALL_STAGING = YES
|
||||
LIBSOXR_CONF_OPTS = -DWITH_OPENMP=OFF -DWITH_AVFFT=OFF
|
||||
|
||||
ifeq ($(call qstrip,$(BR2_ENDIAN)),BIG)
|
||||
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=1
|
||||
else
|
||||
LIBSOXR_CONF_OPTS += -DHAVE_WORDS_BIGENDIAN=0
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user