From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/taglib/, media-libs/taglib/files/
Date: Sat, 18 Oct 2025 10:28:20 +0000 (UTC) [thread overview]
Message-ID: <1760783292.b74a0e3f9df716a7b2e915dc7794e2ad8df297f2.asturm@gentoo> (raw)
commit: b74a0e3f9df716a7b2e915dc7794e2ad8df297f2
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 18 10:26:39 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 18 10:28:12 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b74a0e3f
media-libs/taglib: Fix CMake < 3.10 warning
Closes: https://bugs.gentoo.org/964576
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
.../files/taglib-2.1.1-cmake-minreqver-3.10.patch | 35 ++++++++++++++++++++++
media-libs/taglib/taglib-2.1.1.ebuild | 3 ++
2 files changed, 38 insertions(+)
diff --git a/media-libs/taglib/files/taglib-2.1.1-cmake-minreqver-3.10.patch b/media-libs/taglib/files/taglib-2.1.1-cmake-minreqver-3.10.patch
new file mode 100644
index 000000000000..8fbc60b46eaf
--- /dev/null
+++ b/media-libs/taglib/files/taglib-2.1.1-cmake-minreqver-3.10.patch
@@ -0,0 +1,35 @@
+From 245c33c73002a6472ad422d4f0d1f6d6614cae8f Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sat, 18 Oct 2025 12:21:41 +0200
+Subject: [PATCH] Raise CMake minimum version to 3.10..3.31 range
+
+CMake 3.10 was released in 2017.
+
+Amends 967aaf7af2f4aa2e9fed0edb2cbaca98b737eebe, 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 <min> value. Or, use the <min>...<max> syntax
+ to tell CMake that the project requires at least <min> but has been updated
+ to work with policies introduced by <max> 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 9e6589c7..2e631da5 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR)
++cmake_minimum_required(VERSION 3.10..3.31)
+
+ project(taglib)
+
+--
+2.51.0
+
diff --git a/media-libs/taglib/taglib-2.1.1.ebuild b/media-libs/taglib/taglib-2.1.1.ebuild
index e9fc10f045b5..e5ed9df71210 100644
--- a/media-libs/taglib/taglib-2.1.1.ebuild
+++ b/media-libs/taglib/taglib-2.1.1.ebuild
@@ -26,6 +26,9 @@ BDEPEND="
doc? ( app-text/doxygen[dot] )
"
+# https://github.com/taglib/taglib/pull/1285
+PATCHES=( "${FILESDIR}"/${P}-cmake-minreqver-3.10.patch ) # bug #964576
+
MULTILIB_CHOST_TOOLS=(
/usr/bin/taglib-config
)
next reply other threads:[~2025-10-18 10:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-18 10:28 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-30 20:26 [gentoo-commits] repo/gentoo:master commit in: media-libs/taglib/, media-libs/taglib/files/ Andreas Sturmlechner
2022-10-28 16:57 Andreas Sturmlechner
2021-04-15 22:36 Andreas Sturmlechner
2021-02-16 0:24 Andreas Sturmlechner
2019-10-20 14:21 Andreas Sturmlechner
2018-11-17 23:10 Andreas Sturmlechner
2017-08-08 17:29 Andreas Sturmlechner
2016-07-20 21:35 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1760783292.b74a0e3f9df716a7b2e915dc7794e2ad8df297f2.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox