Skip to contentSkip to conversation

atest: new package

PATCH Superseded Fabio Estevam 1 participant 1 message Apr 2, 2017

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 atest: new package

Add support for atest application, which is useful for testing alsa kernel drivers and detecting if playback/capture are correct without artifacts, such as channel swap.

---
 DEVELOPERS               |  1 +
 package/Config.in        |  1 +
 package/atest/Config.in  |  9 +++++++++
 package/atest/atest.hash |  2 ++
 package/atest/atest.mk   | 19 +++++++++++++++++++
 5 files changed, 32 insertions(+)
 create mode 100644 package/atest/Config.in
 create mode 100644 package/atest/atest.hash
 create mode 100644 package/atest/atest.mk
DEVELOPERS +1 -0
index ffd233e..7e189c3 100644
@@ -500,6 +500,7 @@ F:	configs/mx6sx_udoo_neo_defconfig
 F:	configs/mx6udoo_defconfig
 F:	configs/wandboard_defconfig
 F:	configs/warp7_defconfig
+F:	package/atest/
 F:	package/kmscube/
 
 N:	Fabio Porcedda <[email protected]>
package/Config.in +1 -0
index 12fb1a0..92d02cb 100644
@@ -5,6 +5,7 @@ menu "Target packages"
 
 menu "Audio and video applications"
 	source "package/alsa-utils/Config.in"
+	source "package/atest/Config.in"
 	source "package/aumix/Config.in"
 	source "package/bellagio/Config.in"
 	source "package/dvblast/Config.in"
package/atest/Config.in new file +9 -0
new file mode 100644
index 0000000..64c9e7c
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_ATEST
+	bool "atest"
+	depends on BR2_PACKAGE_ALSA_LIB
+	depends on 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
package/atest/atest.hash new file +2 -0
new file mode 100644
index 0000000..16b05c9
@@ -0,0 +1,2 @@
+# Locally computed
+sha256 6572b42170d3ad00dfc6362501f0e41fda7e2e7d79ff1757a2050415ad3f6ee4  atest-2e2299e9949b713f3c89cf84692dc6db6ab3a2e9.tar.gz
package/atest/atest.mk new file +19 -0
new file mode 100644
index 0000000..eb47d25
@@ -0,0 +1,19 @@
+################################################################################
+#
+# atest
+#
+################################################################################
+
+ATEST_VERSION = 2e2299e9949b713f3c89cf84692dc6db6ab3a2e9
+ATEST_SITE = $(call github,amouiche,atest,$(ATEST_VERSION))
+ATEST_LICENSE = MIT
+ATEST_DEPENDENCIES = host-pkgconf libev alsa-lib
+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))
Signature · 1 line
2.7.4