* [gentoo-commits] repo/gentoo:master commit in: net-libs/biblesync/, net-libs/biblesync/files/
@ 2025-05-29 10:34 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2025-05-29 10:34 UTC (permalink / raw
To: gentoo-commits
commit: 411b65ee47bcc44f844c597a48724a68c5c24d12
Author: Johannes Huber <johu <AT> gmx <DOT> de>
AuthorDate: Wed May 28 16:15:59 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu May 29 10:33:03 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411b65ee
net-libs/biblesync: fix build w/ cmake 4, EAPI 8
Closes: https://bugs.gentoo.org/952093
Signed-off-by: Johannes Huber <johu <AT> gmx.de>
Part-of: https://github.com/gentoo/gentoo/pull/42300
Closes: https://github.com/gentoo/gentoo/pull/42300
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
net-libs/biblesync/biblesync-2.1.0-r1.ebuild | 24 ++++++++++++++++++++++
.../biblesync/files/biblesync-2.1.0-cmake4.patch | 23 +++++++++++++++++++++
2 files changed, 47 insertions(+)
diff --git a/net-libs/biblesync/biblesync-2.1.0-r1.ebuild b/net-libs/biblesync/biblesync-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..434cac7222bc
--- /dev/null
+++ b/net-libs/biblesync/biblesync-2.1.0-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A multicast protocol to support Bible software shared co-navigation"
+HOMEPAGE="https://wiki.crosswire.org/BibleSync"
+SRC_URI="https://github.com/karlkleinpaste/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=( "${FILESDIR}"/${P}-cmake4.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ # To prevent multilib-strict violations
+ -DLIBDIR="${EPREFIX}"/usr/$(get_libdir)
+ )
+ cmake_src_configure
+}
diff --git a/net-libs/biblesync/files/biblesync-2.1.0-cmake4.patch b/net-libs/biblesync/files/biblesync-2.1.0-cmake4.patch
new file mode 100644
index 000000000000..26379dd7a407
--- /dev/null
+++ b/net-libs/biblesync/files/biblesync-2.1.0-cmake4.patch
@@ -0,0 +1,23 @@
+From 4b00f9fd3d0c858947eee18206ef44f9f6bd2283 Mon Sep 17 00:00:00 2001
+From: Karl Kleinpaste <karl@kleinpaste.org>
+Date: Wed, 26 Mar 2025 14:30:21 -0400
+Subject: [PATCH] fix #14 update cmake min version to 3.5 for cmake 4 min
+ permissible.
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7225bcb..8060d9c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -8,7 +8,7 @@
+ PROJECT(libbiblesync CXX)
+ SET(BIBLESYNC_VERSION 2.1.0)
+ # A required CMake line
+-CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
+ # Where our custom Find* files are located
+ SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-05-29 10:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-29 10:34 [gentoo-commits] repo/gentoo:master commit in: net-libs/biblesync/, net-libs/biblesync/files/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox