From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7DA4715800A for ; Sat, 12 Apr 2025 20:59:47 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 677BC343064 for ; Sat, 12 Apr 2025 20:59:47 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D5B911104B7; Sat, 12 Apr 2025 20:59:40 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id D17611104B7 for ; Sat, 12 Apr 2025 20:59:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8AF2B34307D for ; Sat, 12 Apr 2025 20:59:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D9CF27F1 for ; Sat, 12 Apr 2025 20:59:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1744491449.d9b239edd556b45af332918dc9d99d13fd082770.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libbtbb/files/, net-libs/libbtbb/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libbtbb/files/libbtbb-2020.12.1-cmake4.patch net-libs/libbtbb/libbtbb-2020.12.1-r2.ebuild X-VCS-Directories: net-libs/libbtbb/files/ net-libs/libbtbb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d9b239edd556b45af332918dc9d99d13fd082770 X-VCS-Branch: master Date: Sat, 12 Apr 2025 20:59:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 57077767-1302-4d0b-9504-9696c9614e4b X-Archives-Hash: feac1874fb726c24f6ec82a843dad33d commit: d9b239edd556b45af332918dc9d99d13fd082770 Author: NHOrus yahoo com> AuthorDate: Mon Mar 24 19:22:48 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 12 20:57:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b239ed net-libs/libbtbb: fix build with CMake 4 Closes: https://bugs.gentoo.org/951931 Signed-off-by: NHOrus yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/41268 Signed-off-by: Sam James gentoo.org> .../libbtbb/files/libbtbb-2020.12.1-cmake4.patch | 13 ++++++++ net-libs/libbtbb/libbtbb-2020.12.1-r2.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-libs/libbtbb/files/libbtbb-2020.12.1-cmake4.patch b/net-libs/libbtbb/files/libbtbb-2020.12.1-cmake4.patch new file mode 100644 index 000000000000..3e8404e2b17b --- /dev/null +++ b/net-libs/libbtbb/files/libbtbb-2020.12.1-cmake4.patch @@ -0,0 +1,13 @@ +Bump minimum version to fix build with CMake4 +https://bugs.gentoo.org/951931 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -20,7 +20,7 @@ + # + #top level cmake project for libbtbb lib + tools + +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.5) + project(libbtbb_all) + set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/modules) + diff --git a/net-libs/libbtbb/libbtbb-2020.12.1-r2.ebuild b/net-libs/libbtbb/libbtbb-2020.12.1-r2.ebuild new file mode 100644 index 000000000000..954dd15deb35 --- /dev/null +++ b/net-libs/libbtbb/libbtbb-2020.12.1-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Library to decode Bluetooth baseband packets" +HOMEPAGE="https://github.com/greatscottgadgets/libbtbb" + +if [[ ${PV} == *9999* ]] ; then + EGIT_REPO_URI="https://github.com/greatscottgadgets/libbtbb.git" + inherit git-r3 +else + MY_PV=${PV/\./-} + MY_PV=${MY_PV/./-R} + SRC_URI="https://github.com/greatscottgadgets/${PN}/archive/${MY_PV}.tar.gz -> ${PN}-${MY_PV}.tar.gz" + S="${WORKDIR}"/${PN}-${MY_PV} + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-2" +SLOT="0/${PV}" +IUSE="static-libs" + +PATCHES=( + "${FILESDIR}"/${PN}-2020.12.1-musl-u-char.patch + "${FILESDIR}"/${PN}-2020.12.1-cmake4.patch +) + +src_configure() { + local mycmakeargs=( + -DENABLE_PYTHON=OFF + -DBUILD_STATIC_LIB=$(usex static-libs) + ) + cmake_src_configure +}