From patchwork Sat Sep 9 21:39:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 812020 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WYJGCaxo"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xqSLX5j2xz9t2Z for ; Sun, 10 Sep 2017 07:41:24 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 304BA88222; Sat, 9 Sep 2017 21:41:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vXxfneuaIctX; Sat, 9 Sep 2017 21:41:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 040F487FD7; Sat, 9 Sep 2017 21:41:21 +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 CD3191C26BD for ; Sat, 9 Sep 2017 21:40:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id C779F8A127 for ; Sat, 9 Sep 2017 21:40:55 +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 3yxq4SqFuJ0C for ; Sat, 9 Sep 2017 21:40:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by hemlock.osuosl.org (Postfix) with ESMTPS id 35CA88A108 for ; Sat, 9 Sep 2017 21:40:55 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id k20so2699440wre.1 for ; Sat, 09 Sep 2017 14:40:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=UwUedBt6a4B8cgK3ZgfDo8cD0cLw9SvJWsQDp75VAgs=; b=WYJGCaxoKsUq5jLymHHXHz/YDWcbHS6fnTqIu0O/al4r49trIi1g9JSGCbEpF3zrbH RyogYwmTjbaYu8TjkFrdqQ+SkqvboVG3HTIPEc0/9dzesqkT2gkaqYEYgAr98CjbaTX4 qksOl8fxy2/YAwy7TgXeJcCD/FYrBT9kuHS/kJEh4wvUdn1K+47OZbfPYIyXDur4r4mA Wh/svCwXzSyeGFh99d5gDxy60PvY1cUYN4WOZJYkWaTCtp68McaEJpphXlR/5/Jjg4ij VeJyTHbNkOlmEM3xufVRj7DZfwdcLUl9HU4Dhy/QLsxZLYLZgu9B9lHJIoA4DCUew2RU bRXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=UwUedBt6a4B8cgK3ZgfDo8cD0cLw9SvJWsQDp75VAgs=; b=Tlf7sd5ny2aS2UX0fj4d/cpsz8qw93YpTF5rmRlCE+/J1dwExpJEeY3xVdiV/ooVca hIS9/oZA4zAfaPyRcb/8N2nmJgSKE7Gl8pGwTKvEl2lQVGILp4jbwGFOF63SizPBFB3J cyHAZeTfyK+tCfqyGukchgPIbdUuRtj83oeDenY00DohktK3unfss0RKHnG4UG+Z7waV asSS6byPMzP9Uy2DWEtjQbTFYBKNzfxe1gpPAYf4qkZ8FaiyGPsFp/BgcA3YgX8SKAIr pWMxeo1anooqEuozmaUCTSQN65sYvTMA5XBoqZ+H7cg5X3iWAlRPV9OeRSXx0I5PvJJJ ScXA== X-Gm-Message-State: AHPjjUjQih67Zqkw21fr/+pqdULFJA2CwgrdbosJTYSd3zZIV/I+fomm 4GGy3jNIEfVC6r2F X-Google-Smtp-Source: ADKCNb6GRYh1sa98IIbUZYw+Ha3BnuArtIQZ9lD+rAcerWBkHrS3ho6BZr87hWn4IJEYr+PniqIP5A== X-Received: by 10.223.150.194 with SMTP id u60mr2825905wrb.243.1504993253494; Sat, 09 Sep 2017 14:40:53 -0700 (PDT) Received: from localhost.localdomain (2a01cb08861073003564ebf312921004.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:3564:ebf3:1292:1004]) by smtp.gmail.com with ESMTPSA id k52sm5435702wrf.62.2017.09.09.14.40.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 Sep 2017 14:40:52 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Sat, 9 Sep 2017 23:39:44 +0200 Message-Id: <528297671d94a208c1c5a18e1bb34895347da626.1504993178.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Cc: "Yann E. MORIN" Subject: [Buildroot] [PATCH 38/49 v2] package/libpjsip: add option to enable G.711 codec X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: "Yann E. MORIN" --- package/libpjsip/Config.in | 3 +++ package/libpjsip/libpjsip.mk | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package/libpjsip/Config.in b/package/libpjsip/Config.in index 0bb446e9d9..1c9d2ce900 100644 --- a/package/libpjsip/Config.in +++ b/package/libpjsip/Config.in @@ -12,6 +12,9 @@ config BR2_PACKAGE_LIBPJSIP if BR2_PACKAGE_LIBPJSIP +config BR2_PACKAGE_LIBPJSIP_CODEC_G711 + bool "G.711 codec" + config BR2_PACKAGE_LIBPJSIP_CODEC_GSM bool "GSM codec" depends on !BR2_STATIC_LIBS # libgsm diff --git a/package/libpjsip/libpjsip.mk b/package/libpjsip/libpjsip.mk index 1259a292e4..10016fa732 100644 --- a/package/libpjsip/libpjsip.mk +++ b/package/libpjsip/libpjsip.mk @@ -37,7 +37,6 @@ LIBPJSIP_CONF_OPTS = \ --disable-ext-sound \ --disable-small-filter \ --disable-large-filter \ - --disable-g711-codec \ --disable-l16-codec \ --disable-g722-codec \ --disable-libsamplerate \ @@ -73,6 +72,10 @@ endif # and we do not explictly enable it, so we get the configure log in # both cases. +ifneq ($(BR2_PACKAGE_LIBPJSIP_CODEC_G711),y) +LIBPJSIP_CONF_OPTS += --disable-g711-codec +endif + ifeq ($(BR2_PACKAGE_LIBPJSIP_CODEC_GSM),y) LIBPJSIP_DEPENDENCIES += libgsm LIBPJSIP_CONF_OPTS += --with-external-gsm