mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
net-libs/biblesync: fix build w/ cmake 4, EAPI 8
Closes: https://bugs.gentoo.org/952093 Signed-off-by: Johannes Huber <johu@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@gentoo.org>
This commit is contained in:
parent
3978d0f1cf
commit
411b65ee47
24
net-libs/biblesync/biblesync-2.1.0-r1.ebuild
Normal file
24
net-libs/biblesync/biblesync-2.1.0-r1.ebuild
Normal file
@ -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
|
||||||
|
}
|
||||||
23
net-libs/biblesync/files/biblesync-2.1.0-cmake4.patch
Normal file
23
net-libs/biblesync/files/biblesync-2.1.0-cmake4.patch
Normal file
@ -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")
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user