package/fft_eval: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Peter Seiderer 2023-02-11 17:34:22 +01:00 committed by Thomas Petazzoni
parent 928b7219cd
commit 21d5d592a4
5 changed files with 57 additions and 0 deletions

View File

@ -2405,6 +2405,7 @@ F: support/testing/tests/package/test_docker_compose.py
N: Peter Seiderer <ps.report@gmx.net>
F: package/dotconf/
F: package/fft-eval/
F: package/python-blinker/
F: package/qt5/qt5speech/
F: package/speechd/

View File

@ -2243,6 +2243,7 @@ menu "Miscellaneous"
source "package/collectl/Config.in"
source "package/domoticz/Config.in"
source "package/empty/Config.in"
source "package/fft-eval/Config.in"
source "package/gitlab-runner/Config.in"
source "package/gnuradio/Config.in"
source "package/googlefontdirectory/Config.in"

View File

@ -0,0 +1,13 @@
config BR2_PACKAGE_FFT_EVAL
bool "fft-eval"
help
Program to aid open source spectrum analyzer development for
Qualcomm/Atheros AR92xx and AR93xx based chipsets.
It visualizes the FFT data reported by the chips to help
interpreting and understanding the data.
Enable sdl2 and sdl2_ttf for the graphic output tool
fft_eval_sdl.
https://github.com/simonwunderlich/FFT_eval

View File

@ -0,0 +1,5 @@
# Locally calculated
sha256 154f99c3567835bbbbc9ec4c58bc79961f9fa5342effb6f0bc41475fc9a6d11f fft-eval-6a82b383ce79afc4c1ba26ffcf34b15d3e95894b.tar.gz
sha256 6a573fb2f9082662978cf21fb153096df0a1981deaea7dbc10a11046fe005d9f LICENSES/CC0-1.0.txt
sha256 d1cf0896da7045d841fe45b0991cf35540bac1a17b5d11f4afcf8fcb950246b5 LICENSES/GPL-2.0-only.txt
sha256 797832eda5ff4360a10fee3be94a3250995e76423b79675c9c44204c37ca492d LICENSES/OFL-1.1.txt

View File

@ -0,0 +1,37 @@
################################################################################
#
# fft-eval
#
################################################################################
FFT_EVAL_VERSION = 6a82b383ce79afc4c1ba26ffcf34b15d3e95894b
FFT_EVAL_SITE = $(call github,simonwunderlich,FFT_eval,$(FFT_EVAL_VERSION))
FFT_EVAL_LICENSE = CC0-1.0 (doc), GPL-2.0, OFL-1.1 (LiberationSans-Regular.ttf)
FFT_EVAL_LICENSE_FILES = \
LICENSES/CC0-1.0.txt \
LICENSES/GPL-2.0-only.txt \
LICENSES/OFL-1.1.txt
FFT_EVAL_CONV_OPTS = CONFIG_fft_eval_json=y
FFT_EVAL_TARGETS = fft_eval_json
ifeq ($(BR2_PACKAGE_SDL2)$(BR2_PACKAGE_SDL2_TTF),yy)
FFT_EVAL_CONV_OPTS += CONFIG_fft_eval_sdl=y
FFT_EVAL_DEPENDENCIES += sdl2 sdl2_ttf
FFT_EVAL_TARGETS += fft_eval_sdl
else
FFT_EVAL_CONV_OPTS += CONFIG_fft_eval_sdl=n
endif
define FFT_EVAL_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
CROSS=$(STAGING_DIR)/usr/bin/ $(FFT_EVAL_CONV_OPTS) -C $(@D) all
endef
define FFT_EVAL_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
CROSS=$(STAGING_DIR)/usr/bin/ $(FFT_EVAL_CONV_OPTS) \
-C $(@D) DESTDIR=$(TARGET_DIR) BINDIR=/usr/bin install
endef
$(eval $(generic-package))