From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 06 Aug 2024 14:17:04 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sbJ7f-006p6l-2j for lore@lore.pengutronix.de; Tue, 06 Aug 2024 14:17:04 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1sbJ7e-0001gK-K0; Tue, 06 Aug 2024 14:17:02 +0200 Received: from mail-vi1eur05on2123.outbound.protection.outlook.com ([40.107.21.123] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1satzk-0000UM-VR for ptxdist@pengutronix.de; Mon, 05 Aug 2024 11:27:13 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Us0wzxYAuA4eDIzKrzVm6RND57x8pH+YYwFg1+jKFnGVZHCJpC7r/Y0/4bSxWK/4B4lU3Clgben5e+lXRA1UoEg8vrQMXxVsZZrBGtTHtYNBZ7f0Kb6FjNrzLfP9/+6n9661CY9pVDc1XHXrfUAEvs3j6JpFUH+CuEZREuG7fciW4zPgHH9i0n6HYQ2j210ydzXvkfF2wEsWq75NiAOJKyF1L6oyiKELMJK4CWDIPkMuIRoomjF6nH1lT9/cO1k+lBqxfTPzqep6/sNyWGKd/7K0S0G92foFlr0TEpHwBEZO0h2LgwjSPCi4qs0xk1zTXyRf5QVsFVBIzoQvAUzbjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hIY/2oICrT7lweGKr1RwCas2NVCTSSDxAu3TE8YRjSM=; b=y2iorTE2fS+Scv6qBoccMdfIlayk4ZykziP7Xc7z7Q1+G5e2L4rQSNcaPiUPIH10mY2WH3F3JNJaBEfWMAasEhgr9/Hh2OgmDK8qTCM3+4mqMgLArQkFVL5w4UUZgHjBSLgDD7mKs3UT6yakyCtml3x7M0mkhuEqwJnwsppZ8qkarLNAv9ZKO/dPnpcQ1HF/osgepfyoH8NN+9/l5IM8GNJSA9bAKWF0uJQ1pN5amLZtgJCWyRB16D3EwidGkkFsl624/0JKDi6WiHYwS1nLfk+p3M+mJf0p4c2eope58aLeTceFukIIlC/NjEmOiX6VMiemB1KjSDXrcdWYJ82n3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 13.74.137.176) smtp.rcpttodomain=pengutronix.de smtp.mailfrom=wolfvision.net; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=wolfvision.net; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hIY/2oICrT7lweGKr1RwCas2NVCTSSDxAu3TE8YRjSM=; b=Tzh+7uTSEJUGmV7gtE4KzIcIkgDQCZJgbY263yTOeXfM3dTmN1/eewk3672CpnCUAx1q1Fa0rzR74kcj8AVdhDQyTSC67S5mVeYS0QnON/JNDlPtBE5Y5LqSerBUGtywoXs1dUQQzTSEnWOBRLvFmUTMfyUifG1R43/WLNv8XII= Received: from DB6PR0301CA0069.eurprd03.prod.outlook.com (2603:10a6:6:30::16) by VE1PR08MB5774.eurprd08.prod.outlook.com (2603:10a6:800:1a1::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Mon, 5 Aug 2024 09:27:08 +0000 Received: from DB5PEPF00014B9B.eurprd02.prod.outlook.com (2603:10a6:6:30:cafe::c1) by DB6PR0301CA0069.outlook.office365.com (2603:10a6:6:30::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26 via Frontend Transport; Mon, 5 Aug 2024 09:27:08 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 13.74.137.176) smtp.mailfrom=wolfvision.net; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=wolfvision.net; Received-SPF: Pass (protection.outlook.com: domain of wolfvision.net designates 13.74.137.176 as permitted sender) receiver=protection.outlook.com; client-ip=13.74.137.176; helo=eu21-emailsignatures-cloud.codetwo.com; pr=C Received: from eu21-emailsignatures-cloud.codetwo.com (13.74.137.176) by DB5PEPF00014B9B.mail.protection.outlook.com (10.167.8.168) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.8 via Frontend Transport; Mon, 5 Aug 2024 09:27:08 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (104.47.17.169) by eu21-emailsignatures-cloud.codetwo.com with CodeTwo SMTP Server (TLS12) via SMTP; Mon, 05 Aug 2024 09:27:07 +0000 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from DU0PR08MB8185.eurprd08.prod.outlook.com (2603:10a6:10:3ec::14) by GV1PR08MB10606.eurprd08.prod.outlook.com (2603:10a6:150:165::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7828.26; Mon, 5 Aug 2024 09:27:02 +0000 Received: from DU0PR08MB8185.eurprd08.prod.outlook.com ([fe80::1227:db49:2235:a25b]) by DU0PR08MB8185.eurprd08.prod.outlook.com ([fe80::1227:db49:2235:a25b%6]) with mapi id 15.20.7828.023; Mon, 5 Aug 2024 09:27:01 +0000 From: Lucas Sinn To: ptxdist@pengutronix.de Date: Mon, 5 Aug 2024 11:26:45 +0200 Message-ID: <20240805092645.2851657-1-lucas.sinn@wolfvision.net> X-Mailer: git-send-email 2.37.2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-ClientProxiedBy: VI1PR07CA0303.eurprd07.prod.outlook.com (2603:10a6:800:130::31) To DU0PR08MB8185.eurprd08.prod.outlook.com (2603:10a6:10:3ec::14) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DU0PR08MB8185:EE_|GV1PR08MB10606:EE_|DB5PEPF00014B9B:EE_|VE1PR08MB5774:EE_ X-MS-Office365-Filtering-Correlation-Id: 43c551c7-04b6-45eb-ceed-08dcb530c71e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|366016|1800799024|376014|52116014|38350700014; X-Microsoft-Antispam-Message-Info-Original: =?us-ascii?Q?q2X0wYMOGOxpGaHnoPv5f12P96wjrTxd0tnwG/SnbJ6b8ktr4DQXAMRtpG2I?= =?us-ascii?Q?F/bpjwhx6Ksrl4ur6UosDaDyWQZdVzQ70dAXllAViNOWhmO1EyELIGXIUSbm?= =?us-ascii?Q?wjxIZIHhRK2eiOW89JaMLQF54yZETAUR59Rmp1DXumN/OtxaV6VWhUqna9va?= =?us-ascii?Q?RvIPrOF2a3KcnObmXP2QKdyrextlJj7vPqwaisr/V4+erHTjMue4qHC1hyku?= =?us-ascii?Q?Xl1bwlMghOT32CaG07FLnTYDfuppav5gp8gafFCGh0teXiyMtLThePNqqCX6?= =?us-ascii?Q?kqmRq6ijf4HDW4b8RN1XCx9HY7JXrRNW56ZDbLNIUCQz9YjMt3DS5Q9K/Qxw?= =?us-ascii?Q?e21Be667lnWDN3V0HLUjvRgDbteZ9LycBRHs2AE5IfLN/WvBjEorBtJu7TEv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0aGl2rgrOnYKn8TbCG2sOl49NMf1?= =?us-ascii?Q?OuiMy3msMvcfJResMTppmwAtrHsSQ3NbstXQmZ67MKgzfOJU8n+tlCnublG7?= =?us-ascii?Q?7HoxCnLZ6pzl69eACmPc9aRSe52BjNDg7GvI0PFDTRKOvLgTuw=3D=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR08MB8185.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(1800799024)(376014)(52116014)(38350700014); DIR:OUT; SFP:1102; X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB10606 X-CodeTwo-MessageID: d3c7a22a-2524-4439-b5cb-6a1ca57aff44.20240805092707@eu21-emailsignatures-cloud.codetwo.com References: <016db821-bc16-4106-ab26-ac766a339fab.e0c24246-04d4-485f-8d5f-1cc8fbefd095.50e4b2f3-bf9f-4320-9d9c-bde1c07a5454@emailsignatures365.codetwo.com> X-CodeTwoProcessed: true X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5PEPF00014B9B.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: e535cc48-275d-4004-d14e-08dcb530c337 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|36860700013|35042699022|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?sKdGrz4/KThhQxPKnaF5WYh0C5W/tm/4ZmFOxOFIuW4p0xEdLlkDl8ee5QvE?= =?us-ascii?Q?jr9g+220G2EK6MuJtt9Cpa1kWCU+R2MmFxSM20O0yWKyfC3N4ari7xLsEqFM?= =?us-ascii?Q?bz7yYj9dF6cW7VGLX0xPHEQbSTcyu4ufTV0wDVGBcUZ090Xm3+UPKFU1YuYt?= =?us-ascii?Q?WKYwafjKw+KI3/oWDOsCJ6wTnXHE/Jrmbg4peFGmpc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V1Bw9ICfXGN/JJWDo7QIiv+JIPyNXnxbEPW3FrQTNiUQ3264CwlWLF?= =?us-ascii?Q?p+2srt4FsHr/miWJKYl745A36XPTTE1z/F59fLTllqA0FDByXlzO2mn49rB4?= =?us-ascii?Q?yykZHy7u2LT6isEHC7nHEt2H8OmiTR3Y9QGsO/npQx8xx9JQSuu8HzLoYfIe?= =?us-ascii?Q?xr6aNmfJLoOlG4VcY3RmwIi6L+SBTVAKVZqMomcpCUXRGXegrFQjv3DwpKHy?= =?us-ascii?Q?zSyPSsOUSWiFc8CrnVV/EGLl0+FPe8UJ6QbmP0qDhFzbltclEW9eUfPKuLdj?= =?us-ascii?Q?rzezKV2FWCdFnarTYg1TNhf/P6Ax?= X-Forefront-Antispam-Report: CIP:13.74.137.176; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eu21-emailsignatures-cloud.codetwo.com; PTR:eu21-emailsignatures-cloud.codetwo.com; CAT:NONE; SFS:(13230040)(376014)(82310400026)(36860700013)(35042699022)(1800799024); DIR:OUT; SFP:1102; X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2024 09:27:08.3354 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 43c551c7-04b6-45eb-ceed-08dcb530c71e X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e94ec9da-9183-471e-83b3-51baa8eb804f; Ip=[13.74.137.176]; Helo=[eu21-emailsignatures-cloud.codetwo.com] X-MS-Exchange-CrossTenant-AuthSource: DB5PEPF00014B9B.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5774 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-1.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Mailman-Approved-At: Tue, 06 Aug 2024 14:16:37 +0200 Subject: [ptxdist] [PATCH] pipewire: add bluez support X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Lucas Sinn Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false This makes basic bluetooth support selectable in the menuconfig with the simple SBC and faststream codec support. Signed-off-by: Lucas Sinn --- rules/pipewire.in | 6 ++++++ rules/pipewire.make | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/rules/pipewire.in b/rules/pipewire.in index 9d1b920b4..12d3687b4 100644 --- a/rules/pipewire.in +++ b/rules/pipewire.in @@ -18,6 +18,8 @@ menuconfig PIPEWIRE select NCURSES_WIDE_CHAR if PIPEWIRE_PW_TOP select OPENSSL if PIPEWIRE_RAOP select SYSTEMD if PIPEWIRE_SYSTEMD + select BLUEZ if PIPEWIRE_BLUETOOTH + select SBC if PIPEWIRE_BLUETOOTH select UDEV select UDEV_LIBUDEV prompt "pipewire " @@ -31,6 +33,10 @@ menuconfig PIPEWIRE =20 if PIPEWIRE =20 +config PIPEWIRE_BLUETOOTH + bool + prompt "enable bluetooth options" + config PIPEWIRE_GSTREAMER bool prompt "build and install gstreamer plugins" diff --git a/rules/pipewire.make b/rules/pipewire.make index 02da82f97..4595fee22 100644 --- a/rules/pipewire.make +++ b/rules/pipewire.make @@ -42,7 +42,7 @@ PIPEWIRE_CONF_OPT :=3D \ -Daudiotestsrc=3Denabled \ -Davahi=3Ddisabled \ -Davb=3Ddisabled \ - -Dbluez5=3Ddisabled \ + -Dbluez5=3D$(call ptx/endis,PTXCONF_PIPEWIRE_BLUETOOTH)d \ -Dbluez5-backend-hfp-native=3Ddisabled \ -Dbluez5-backend-hsp-native=3Ddisabled \ -Dbluez5-backend-hsphfpd=3Ddisabled \ @@ -173,6 +173,9 @@ PIPEWIRE_SPA_MODULES :=3D \ audiomixer/libspa-audiomixer \ audiotestsrc/libspa-audiotestsrc \ control/libspa-control \ + $(call ptx/ifdef,PTXCONF_PIPEWIRE_BLUETOOTH,bluez5/libspa-bluez5) \ + $(call ptx/ifdef,PTXCONF_PIPEWIRE_BLUETOOTH,bluez5/libspa-codec-bluez5-fa= ststream) \ + $(call ptx/ifdef,PTXCONF_PIPEWIRE_BLUETOOTH,bluez5/libspa-codec-bluez5-sb= c) \ $(call ptx/ifdef,PTXCONF_PIPEWIRE_LIBCAMERA,libcamera/libspa-libcamera) \ support/libspa-dbus \ $(call ptx/ifdef,PTXCONF_PIPEWIRE_SYSTEMD,support/libspa-journal) \ --=20 2.37.2 Lucas Sinn =0A= R&D Engineer=0A= =0A= Wolfvision GmbH =0A= Oberes Ried 14 | 6833 Klaus | Austria =0A= Tel: +43 5523 52250 | Mail: lucas.sinn@wolfvision.net =0A= =0A= Website: wolfvision.com =0A= Firmenbuch / Commercial Register: FN283521v Feldkirch/Austria=0A= =0A=