From patchwork Wed Sep 23 18:08:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1370015 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) 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=t-online.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 4BxR4s3ljyz9sRf for ; Thu, 24 Sep 2020 04:08:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 923F785B48; Wed, 23 Sep 2020 18:08:40 +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 ohygCKRp2l9r; Wed, 23 Sep 2020 18:08:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E467B856CB; Wed, 23 Sep 2020 18:08:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DEA1A1BF388 for ; Wed, 23 Sep 2020 18:08:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DA4B984031 for ; Wed, 23 Sep 2020 18:08:36 +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 ldTemF6+DKBL for ; Wed, 23 Sep 2020 18:08:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) by whitealder.osuosl.org (Postfix) with ESMTPS id 19551856CB for ; Wed, 23 Sep 2020 18:08:34 +0000 (UTC) Received: from fwd34.aul.t-online.de (fwd34.aul.t-online.de [172.20.26.145]) by mailout12.t-online.de (Postfix) with SMTP id A9F574184479; Wed, 23 Sep 2020 20:08:31 +0200 (CEST) Received: from fli4l.lan.fli4l (rxLSVYZHrhY6wMkFAEmES3vXVwKcYlX7FcOImIbmmzqTvVDxmD86yBvLXoeQMRuZ3o@[91.58.11.216]) by fwd34.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1kL9Bu-2ZXwLQ0; Wed, 23 Sep 2020 20:08:30 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:59046) by fli4l.lan.fli4l with esmtp (Exim 4.94) (envelope-from ) id 1kL9Bu-000746-6S; Wed, 23 Sep 2020 20:08:30 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Wed, 23 Sep 2020 20:08:30 +0200 Message-Id: <20200923180830.84180-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-ID: rxLSVYZHrhY6wMkFAEmES3vXVwKcYlX7FcOImIbmmzqTvVDxmD86yBvLXoeQMRuZ3o X-TOI-EXPURGATEID: 150726::1600884510-000171DC-8BFBDFB7/0/0 CLEAN NORMAL X-TOI-MSGID: c49a821f-de69-4654-8b7c-f2212268d543 Subject: [Buildroot] [PATCH 1/1] package/libvpx: vp9 encoder needs c++ 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: Spenser Gilliland Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Encoding rate control interface for v9 is implemented in c++: https://github.com/webmproject/libvpx/commit/745979bc2913b4f26847084699d9fddd68b60410#diff-58f26933c120328b31831a743eec5ba3R534 Disable vp9 encoding when toolchain lacks c++. Fixes: http://autobuild.buildroot.net/results/983/9836215fe22f260483f9153fb5447892801a14a9/ http://autobuild.buildroot.net/results/88a/88aa80ee006ba2dcc40c15be3af73c756cb62974/ Signed-off-by: Bernd Kuhls --- package/libvpx/libvpx.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/libvpx/libvpx.mk b/package/libvpx/libvpx.mk index c7245885d9..26d211cf86 100644 --- a/package/libvpx/libvpx.mk +++ b/package/libvpx/libvpx.mk @@ -20,6 +20,13 @@ LIBVPX_CONF_OPTS = \ --disable-docs \ --disable-unit-tests +# vp9/ratectrl_rtc.cc +ifeq ($(BR2_INSTALL_LIBSTDCPP),y) +LIBVPX_CONF_OPTS += --enable-vp9-encoder +else +LIBVPX_CONF_OPTS += --disable-vp9-encoder +endif + # This is not a true autotools package. It is based on the ffmpeg build system define LIBVPX_CONFIGURE_CMDS (cd $(LIBVPX_SRCDIR) && rm -rf config.cache && \