From patchwork Sun Sep 8 19:39:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kurz X-Patchwork-Id: 1159531 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=blala.de Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46RNlj3q8Pz9s7T for ; Mon, 9 Sep 2019 06:52:32 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E21F584C23; Sun, 8 Sep 2019 20:52:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C3pyRSQSxLVb; Sun, 8 Sep 2019 20:52:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A02B5846C0; Sun, 8 Sep 2019 20:52:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 4EC111BF3EB for ; Sun, 8 Sep 2019 20:52:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4B6BA87263 for ; Sun, 8 Sep 2019 20:52:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fl5yr9HN7OVI for ; Sun, 8 Sep 2019 20:52:25 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from vs81.iboxed.net (vs10.datenmanufaktur-hosting.net [213.160.73.65]) by hemlock.osuosl.org (Postfix) with ESMTPS id 38ACB871DE for ; Sun, 8 Sep 2019 20:52:24 +0000 (UTC) Received: from blala.de (localhost [127.0.0.1]) by vs81.iboxed.net (8.15.2/8.15.2/Debian-8) with ESMTP id x88JdXAj018492; Sun, 8 Sep 2019 19:39:33 GMT Received: (from akurz@localhost) by blala.de (8.15.2/8.15.2/Submit) id x88JdXOm018491; Sun, 8 Sep 2019 19:39:33 GMT From: Alexander Kurz To: buildroot@buildroot.org, Arnout Vandecappelle Date: Sun, 8 Sep 2019 19:39:31 +0000 Message-Id: <20190908193931.18449-1-user@vserver64> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH v1 1/1] package/minimodem: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexander Kurz MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Alexander Kurz Minimodem is a command-line program which decodes (or generates) audio modem tones at any specified baud rate, using various framing protocols. It acts a general-purpose software FSK modem, and includes support for various standard FSK protocols such as Bell103, Bell202, RTTY, TTY/TDD NOAA SAME, and Caller-ID. Signed-off-by: Alexander Kurz --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/minimodem/Config.in | 13 +++++++++++++ package/minimodem/minimodem.hash | 2 ++ package/minimodem/minimodem.mk | 34 ++++++++++++++++++++++++++++++++++ 5 files changed, 53 insertions(+) create mode 100644 package/minimodem/Config.in create mode 100644 package/minimodem/minimodem.hash create mode 100644 package/minimodem/minimodem.mk diff --git a/DEVELOPERS b/DEVELOPERS index 5784843e33..47a1136f03 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -103,6 +103,9 @@ F: package/fastd/ F: package/libuecc/ F: package/putty/ +N: Alexander Kurz +F: package/minimodem/ + N: Alexander Lukichev F: package/openpgm/ diff --git a/package/Config.in b/package/Config.in index 9336261c5d..7d915ea4d7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -32,6 +32,7 @@ menu "Audio and video applications" source "package/lame/Config.in" source "package/madplay/Config.in" source "package/mimic/Config.in" + source "package/minimodem/Config.in" source "package/miraclecast/Config.in" source "package/mjpegtools/Config.in" source "package/modplugtools/Config.in" diff --git a/package/minimodem/Config.in b/package/minimodem/Config.in new file mode 100644 index 0000000000..6eda51e401 --- /dev/null +++ b/package/minimodem/Config.in @@ -0,0 +1,13 @@ +config BR2_PACKAGE_MINIMODEM + select BR2_PACKAGE_FFTW + select BR2_PACKAGE_FFTW_SINGLE + bool "minimodem" + help + Minimodem is a command-line program which decodes (or + generates) audio modem tones at any specified baud rate, + using various framing protocols. It acts a general-purpose + software FSK modem, and includes support for various + standard FSK protocols such as Bell103, Bell202, RTTY, + TTY/TDD NOAA SAME, and Caller-ID. + + http://www.whence.com/minimodem/ diff --git a/package/minimodem/minimodem.hash b/package/minimodem/minimodem.hash new file mode 100644 index 0000000000..084a5606fb --- /dev/null +++ b/package/minimodem/minimodem.hash @@ -0,0 +1,2 @@ +sha256 f8cca4db8e3f284d67f843054d6bb4d88a3db5e77b26192410e41e9a06f4378e minimodem-0.24.tar.gz +sha256 c298178753129680ef6d3112f0f8b61acc405c86c1997dfe59735257988f8b33 COPYING diff --git a/package/minimodem/minimodem.mk b/package/minimodem/minimodem.mk new file mode 100644 index 0000000000..02a7e92517 --- /dev/null +++ b/package/minimodem/minimodem.mk @@ -0,0 +1,34 @@ +################################################################################ +# +# minimodem +# +################################################################################ + +MINIMODEM_VERSION = 0.24 +MINIMODEM_SOURCE = minimodem-$(MINIMODEM_VERSION).tar.gz +MINIMODEM_SITE = http://www.whence.com/minimodem +MINIMODEM_LICENSE = GPL-3.0+ +MINIMODEM_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y) +MINIMODEM_DEPENDENCIES += alsa-lib +MINIMODEM_CONF_OPTS += --with-alsa +else +MINIMODEM_CONF_OPTS += --without-alsa +endif + +ifeq ($(BR2_PACKAGE_PULSEAUDIO),y) +MINIMODEM_DEPENDENCIES += pulseaudio +MINIMODEM_CONF_OPTS += --with-pulseaudio +else +MINIMODEM_CONF_OPTS += --without-pulseaudio +endif + +ifeq ($(BR2_PACKAGE_LIBSNDFILE),y) +MINIMODEM_DEPENDENCIES += libsndfile +MINIMODEM_CONF_OPTS += --with-sndfile +else +MINIMODEM_CONF_OPTS += --without-sndfile +endif + +$(eval $(autotools-package))