summaryrefslogtreecommitdiff
path: root/dev-libs/rinutils
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-libs/rinutils
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'dev-libs/rinutils')
-rw-r--r--dev-libs/rinutils/Manifest1
-rw-r--r--dev-libs/rinutils/files/rinutils-0.10.3-cmake-minreqver-3.10.patch35
-rw-r--r--dev-libs/rinutils/metadata.xml11
-rw-r--r--dev-libs/rinutils/rinutils-0.10.3.ebuild45
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-libs/rinutils/Manifest b/dev-libs/rinutils/Manifest
new file mode 100644
index 000000000000..90e033169eaf
--- /dev/null
+++ b/dev-libs/rinutils/Manifest
@@ -0,0 +1 @@
+DIST rinutils-0.10.3.tar.xz 19192 BLAKE2B 32875b3b8afcdbe66fb0f68b5b6d67599b55577b80d2e6d90c04e670592b253964be8dcf7db0521d96b05d52feccd5379a26e20f965a2867f6c290057cbb05f4 SHA512 fe9e774c597012bb0d86b867bb05d27d00234edcca89a61f715f96464e06d5985286328b2cb8960f1582ea25fb5b04eb37b6384b3d178b8dca959f4e3d86a0ff
diff --git a/dev-libs/rinutils/files/rinutils-0.10.3-cmake-minreqver-3.10.patch b/dev-libs/rinutils/files/rinutils-0.10.3-cmake-minreqver-3.10.patch
new file mode 100644
index 000000000000..cb8aaba28733
--- /dev/null
+++ b/dev-libs/rinutils/files/rinutils-0.10.3-cmake-minreqver-3.10.patch
@@ -0,0 +1,35 @@
+Source: https://github.com/shlomif/rinutils/pull/7
+
+From e872b44309ef2df02055c2da2f438ed1d5afede6 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 18 Oct 2025 22:41:36 +0200
+Subject: [PATCH] Raise CMake minimum version to 3.10..3.31 range
+
+CMake 3.10 was released in 2017. Fixes warning since CMake-3.31:
+
+CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
+Compatibility with CMake < 3.10 will be removed from a future version of
+CMake.
+
+Update the VERSION argument value. Or, use the ... syntax
+to tell CMake that the project requires at least but has been updated
+to work with policies introduced by or earlier.
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fd6ea92..6910899 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
++CMAKE_MINIMUM_REQUIRED(VERSION 3.10..3.31)
+ PROJECT(rinutils)
+
+ INCLUDE ("${CMAKE_SOURCE_DIR}/cmake/shlomif_common_bootstrap.cmake")
+--
+2.51.1
+
diff --git a/dev-libs/rinutils/metadata.xml b/dev-libs/rinutils/metadata.xml
new file mode 100644
index 000000000000..cf2a183b6c71
--- /dev/null
+++ b/dev-libs/rinutils/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">shlomif/rinutils</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-libs/rinutils/rinutils-0.10.3.ebuild b/dev-libs/rinutils/rinutils-0.10.3.ebuild
new file mode 100644
index 000000000000..19d5eeeead4f
--- /dev/null
+++ b/dev-libs/rinutils/rinutils-0.10.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Set of C headers containing macros and static functions"
+HOMEPAGE="https://www.shlomifish.org/open-source/projects/ https://github.com/shlomif/rinutils"
+SRC_URI="https://github.com/shlomif/${PN}/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc64 ~riscv ~sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ dev-perl/Env-Path
+ dev-perl/Path-Tiny
+ dev-perl/Inline
+ dev-perl/Inline-C
+ dev-perl/Test-TrailingSpace
+ dev-perl/Test-Differences
+ dev-perl/IO-All
+ dev-perl/Perl-Critic
+ dev-perl/Perl-Tidy
+ dev-perl/Test-Pod
+ dev-perl/Test-Pod-Coverage
+ dev-perl/Test-Trap
+ dev-util/cmocka
+ )
+"
+
+PATCHES=( "${FILESDIR}/${P}-cmake-minreqver-3.10.patch" ) # bug #964580
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_APPLYING_RPATH=OFF
+ -DWITH_TEST_SUITE=$(usex test ON OFF)
+ )
+
+ cmake_src_configure
+}