From patchwork Wed Oct 3 13:13:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 978290 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=t-online.de Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42QGgx1wsZz9s8J for ; Wed, 3 Oct 2018 23:14:21 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2407688CF4; Wed, 3 Oct 2018 13:14:17 +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 7IH0cd+RKO1O; Wed, 3 Oct 2018 13:14:15 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 649B988CD6; Wed, 3 Oct 2018 13:14:15 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 914491BF486 for ; Wed, 3 Oct 2018 13:14:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8C47322E94 for ; Wed, 3 Oct 2018 13:14:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i3QknxJbEWw0 for ; Wed, 3 Oct 2018 13:14:13 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) by silver.osuosl.org (Postfix) with ESMTPS id 8AEEC2E75F for ; Wed, 3 Oct 2018 13:14:11 +0000 (UTC) Received: from fwd00.aul.t-online.de (fwd00.aul.t-online.de [172.20.26.147]) by mailout08.t-online.de (Postfix) with SMTP id 8DA4F41C9039; Wed, 3 Oct 2018 15:14:09 +0200 (CEST) Received: from fli4l.lan.fli4l (rXnyYiZEYhjj4l3khEDzUq7-4IV4huf8l4x4Y30HAAzde0W3heD8AuKtwxd9nYhQX8@[84.161.176.196]) by fwd00.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1g7gyZ-2SHWEa0; Wed, 3 Oct 2018 15:14:03 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:59218 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.91) (envelope-from ) id 1g7gyY-0003j1-9T; Wed, 03 Oct 2018 15:14:02 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Wed, 3 Oct 2018 15:13:57 +0200 Message-Id: <20181003131358.28002-3-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181003131358.28002-1-bernd.kuhls@t-online.de> References: <20181003131358.28002-1-bernd.kuhls@t-online.de> MIME-Version: 1.0 X-ID: rXnyYiZEYhjj4l3khEDzUq7-4IV4huf8l4x4Y30HAAzde0W3heD8AuKtwxd9nYhQX8 X-TOI-MSGID: 901a4d55-4fa6-400b-ab0e-022fac40fbf7 Subject: [Buildroot] [PATCH 3/4] package/spandsp: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Yann E . MORIN" Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: "Yann E. MORIN" Signed-off-by: "Yann E. MORIN" [Bernd: - bumped version to 20180108 - removed 0001-fix-msse4.x.patch, applied upstream - removed autoreconf after patch removal - added license hash (Arnout) - added SPDX license codes (Arnout)] Signed-off-by: Bernd Kuhls --- package/Config.in | 1 + package/spandsp/Config.in | 9 +++++++++ package/spandsp/spandsp.hash | 3 +++ package/spandsp/spandsp.mk | 27 +++++++++++++++++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 package/spandsp/Config.in create mode 100644 package/spandsp/spandsp.hash create mode 100644 package/spandsp/spandsp.mk diff --git a/package/Config.in b/package/Config.in index 02660a4164..d378e2401f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1094,6 +1094,7 @@ menu "Audio/Sound" source "package/opusfile/Config.in" source "package/portaudio/Config.in" source "package/sbc/Config.in" + source "package/spandsp/Config.in" source "package/speex/Config.in" source "package/speexdsp/Config.in" source "package/taglib/Config.in" diff --git a/package/spandsp/Config.in b/package/spandsp/Config.in new file mode 100644 index 0000000000..a2d5b85d79 --- /dev/null +++ b/package/spandsp/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_SPANDSP + bool "spandsp" + select BR2_PACKAGE_TIFF + help + Spandsp is a library of many DSP functions for telephony. + These range from simple modules, such as DTMF detection, to + a complete software FAX machine. + + http://www.soft-switch.org/ diff --git a/package/spandsp/spandsp.hash b/package/spandsp/spandsp.hash new file mode 100644 index 0000000000..1123e29c1b --- /dev/null +++ b/package/spandsp/spandsp.hash @@ -0,0 +1,3 @@ +# sha256 locally computed +sha256 0fcdda74bd9703dd66c3e9721bf2d81bd7c185c539d1887768c2b332ab703d51 spandsp-20180108.tar.gz +sha256 366576cb0b869cd9e95a4882878607314650488ac635e5df0692180382e9666a COPYING diff --git a/package/spandsp/spandsp.mk b/package/spandsp/spandsp.mk new file mode 100644 index 0000000000..4b1f89cf4b --- /dev/null +++ b/package/spandsp/spandsp.mk @@ -0,0 +1,27 @@ +################################################################################ +# +# spandsp +# +################################################################################ + +SPANDSP_VERSION = 20180108 +SPANDSP_SITE = https://www.soft-switch.org/downloads/spandsp/snapshots + +SPANDSP_LICENSE = LGPL-2.1 (library), GPL-2.0 (test suite) +SPANDSP_LICENSE_FILES = COPYING + +SPANDSP_DEPENDENCIES = tiff +SPANDSP_INSTALL_STAGING = YES + +SPANDSP_CONF_OPTS = \ + --disable-doc \ + --disable-builtin-tiff \ + $(if $(BR2_X86_CPU_HAS_MMX),--enable-mmx,--disable-mmx) \ + $(if $(BR2_X86_CPU_HAS_SSE),--enable-sse,--disable-sse) \ + $(if $(BR2_X86_CPU_HAS_SSE2),--enable-sse2,--disable-sse2) \ + $(if $(BR2_X86_CPU_HAS_SSE3),--enable-sse3,--disable-sse3) \ + $(if $(BR2_X86_CPU_HAS_SSSE3),--enable-ssse3,--disable-ssse3) \ + $(if $(BR2_X86_CPU_HAS_SSE4),--enable-sse4-1,--disable-sse4-1) \ + $(if $(BR2_X86_CPU_HAS_SSE42),--enable-sse4-2,--disable-sse4-2) + +$(eval $(autotools-package))