From patchwork Thu Aug 1 14:59:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Bonnefille X-Patchwork-Id: 1967734 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WZXQg0xvsz1ybX for ; Fri, 2 Aug 2024 01:08:11 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 9FCCB40F12; Thu, 1 Aug 2024 15:08:08 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id HcprE805mCCu; Thu, 1 Aug 2024 15:08:02 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8F47440F06 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 8F47440F06; Thu, 1 Aug 2024 15:08:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 986561BF3D9 for ; Thu, 1 Aug 2024 15:08:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 86E5D81FE7 for ; Thu, 1 Aug 2024 15:08:01 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id JNQcDe94awAf for ; Thu, 1 Aug 2024 15:08:01 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=217.70.178.240; helo=mslow1.mail.gandi.net; envelope-from=thomas.bonnefille@bootlin.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 8ACEA81FDC DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 8ACEA81FDC Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) by smtp1.osuosl.org (Postfix) with ESMTPS id 8ACEA81FDC for ; Thu, 1 Aug 2024 15:08:00 +0000 (UTC) Received: from relay7-d.mail.gandi.net (unknown [IPv6:2001:4b98:dc4:8::227]) by mslow1.mail.gandi.net (Postfix) with ESMTP id C7576C5B5E for ; Thu, 1 Aug 2024 15:00:29 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 0C35E20003; Thu, 1 Aug 2024 15:00:23 +0000 (UTC) To: buildroot@buildroot.org Date: Thu, 1 Aug 2024 16:59:58 +0200 Message-ID: <20240801145958.2561632-1-thomas.bonnefille@bootlin.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-GND-Sasl: thomas.bonnefille@bootlin.com X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1722524424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=v/QhT5FOui1zCI02JQsKtMZrl1nVoIEXHL9Y4Lx99Eg=; b=lAZnSuSCTrjifk6CB75W7K8zUYPFJAyvnKu8kxvY3INPkNut3xSUIK3WPBL0aGzxGH4QZ9 9ELfdM98MdLgHOaIXCQUX+CX6DjcmM+5dI0A/essg5ln6sn5yPQAjR8pQXTGqiqaL4rFAa Gys8Dao1JN60XPkDeIwo5j1mFejXJogjUdNr0hizzq/zs27IM5N17t/osY/ijDMx4wrsKl I89gYEKF8bZaM8g205x0eKcBCG4x//fNuIxuZgJhKoUOLDs2jQpaxucHeNXp4wyym9ybvY JhIZo/b/hLeJpGut/qVKBzR16Q5XGJWhX7+5RRVyh06Wt6FxRvSfp9/n20H0XQ== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=bootlin.com header.i=@bootlin.com header.a=rsa-sha256 header.s=gm1 header.b=lAZnSuSC Subject: [Buildroot] [PATCH 1/1] package/ffmpeg: enable libjack when selected X-BeenThere: buildroot@buildroot.org 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: , X-Patchwork-Original-From: Thomas Bonnefille via buildroot From: Thomas Bonnefille Reply-To: Thomas Bonnefille Cc: Thomas Bonnefille , Bernd Kuhls , Mahyar Koshkouei , Thomas Petazzoni , Miquel Raynal Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Add automatic JACK audio sound server support to ffmpeg if JACK/JACK2 is selected in Buildroot configuration. Signed-off-by: Thomas Bonnefille --- package/ffmpeg/ffmpeg.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index 87c482656c..5b2d33883d 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -82,6 +82,16 @@ else FFMPEG_CONF_OPTS += --disable-ffplay endif +ifeq ($(BR2_PACKAGE_JACK1),y) +FFMPEG_CONF_OPTS += --enable-libjack +FFMPEG_DEPENDENCIES += jack1 +else ifeq ($(BR2_PACKAGE_JACK2),y) +FFMPEG_CONF_OPTS += --enable-libjack +FFMPEG_DEPENDENCIES += jack2 +else +FFMPEG_CONF_OPTS += --disable-libjack +endif + ifeq ($(BR2_PACKAGE_LIBV4L),y) FFMPEG_DEPENDENCIES += libv4l FFMPEG_CONF_OPTS += --enable-libv4l2