atest: new package
Add support for atest application, which is useful for testing alsa kernel drivers and detecting if playback/capture work correct without artifacts, such as channel swap. Signed-off-by: Fabio Estevam <festevam@gmail.com> [Thomas: add missing Config.in comment.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
18bc01725a
commit
4156e1fa51
|
@ -504,6 +504,7 @@ F: configs/mx6sx_udoo_neo_defconfig
|
||||||
F: configs/mx6udoo_defconfig
|
F: configs/mx6udoo_defconfig
|
||||||
F: configs/wandboard_defconfig
|
F: configs/wandboard_defconfig
|
||||||
F: configs/warp7_defconfig
|
F: configs/warp7_defconfig
|
||||||
|
F: package/atest/
|
||||||
F: package/kmscube/
|
F: package/kmscube/
|
||||||
|
|
||||||
N: Fabio Porcedda <fabio.porcedda@gmail.com>
|
N: Fabio Porcedda <fabio.porcedda@gmail.com>
|
||||||
|
|
|
@ -5,6 +5,7 @@ menu "Target packages"
|
||||||
|
|
||||||
menu "Audio and video applications"
|
menu "Audio and video applications"
|
||||||
source "package/alsa-utils/Config.in"
|
source "package/alsa-utils/Config.in"
|
||||||
|
source "package/atest/Config.in"
|
||||||
source "package/aumix/Config.in"
|
source "package/aumix/Config.in"
|
||||||
source "package/bellagio/Config.in"
|
source "package/bellagio/Config.in"
|
||||||
source "package/dvblast/Config.in"
|
source "package/dvblast/Config.in"
|
||||||
|
|
16
package/atest/Config.in
Normal file
16
package/atest/Config.in
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
config BR2_PACKAGE_ATEST
|
||||||
|
bool "atest"
|
||||||
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC # uclibc lacks wordexp
|
||||||
|
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
|
||||||
|
depends on !BR2_bfin # libev
|
||||||
|
select BR2_PACKAGE_ALSA_LIB
|
||||||
|
select BR2_PACKAGE_LIBEV
|
||||||
|
help
|
||||||
|
atest is a test software for checking ALSA Asoc drivers
|
||||||
|
concerning the proper frame generation and capture.
|
||||||
|
|
||||||
|
https://github.com/amouiche/atest
|
||||||
|
|
||||||
|
comment "atest needs a glibc or musl toolchain w/ threads"
|
||||||
|
depends on !BR2_bfin
|
||||||
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || !BR2_TOOLCHAIN_HAS_THREADS
|
2
package/atest/atest.hash
Normal file
2
package/atest/atest.hash
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Locally computed
|
||||||
|
sha256 91da5a6d4d0b0a8d4bae156a40e91a6dccf62863bfa7acae948efbbd2b4154ca atest-895b0183a89c15f5e2305a6795bb1667753cd3f0.tar.gz
|
21
package/atest/atest.mk
Normal file
21
package/atest/atest.mk
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
################################################################################
|
||||||
|
#
|
||||||
|
# atest
|
||||||
|
#
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
ATEST_VERSION = 895b0183a89c15f5e2305a6795bb1667753cd3f0
|
||||||
|
ATEST_SITE = $(call github,amouiche,atest,$(ATEST_VERSION))
|
||||||
|
ATEST_LICENSE = GPL-2.0+
|
||||||
|
ATEST_LICENSE_FILES = COPYING
|
||||||
|
ATEST_DEPENDENCIES = host-pkgconf libev alsa-lib
|
||||||
|
# Fetched from Github, with no configure script
|
||||||
|
ATEST_AUTORECONF = YES
|
||||||
|
|
||||||
|
# Autoreconf requires an existing m4 directory
|
||||||
|
define ATEST_PATCH_M4
|
||||||
|
mkdir -p $(@D)/m4
|
||||||
|
endef
|
||||||
|
ATEST_POST_PATCH_HOOKS += ATEST_PATCH_M4
|
||||||
|
|
||||||
|
$(eval $(autotools-package))
|
Loading…
Reference in a new issue