mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
media-sound/wildmidi: fix compilation with cmake4
Minor fixes to ebuild. Closes: https://bugs.gentoo.org/964466 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44227 Closes: https://github.com/gentoo/gentoo/pull/44227 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
6587fc49b9
commit
2225b47f20
14
media-sound/wildmidi/files/wildmidi-0.4.6_cmake4.patch
Normal file
14
media-sound/wildmidi/files/wildmidi-0.4.6_cmake4.patch
Normal file
@ -0,0 +1,14 @@
|
||||
From https://github.com/Mindwerks/wildmidi/commit/1e21a829ce3b00a4747a50f8ae5e0cf11402a293
|
||||
From: Ozkan Sezer <sezeroz@gmail.com>
|
||||
Date: Sat, 3 May 2025 14:56:50 +0300
|
||||
Subject: [PATCH] cmake: set maximum policy to 3.10
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
# Project setup
|
||||
-CMAKE_MINIMUM_REQUIRED(VERSION 3.4...3.5)
|
||||
+CMAKE_MINIMUM_REQUIRED(VERSION 3.4...3.10)
|
||||
PROJECT(wildmidi LANGUAGES C VERSION 0.4.6)
|
||||
|
||||
# WildMIDI Version
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -9,6 +9,8 @@ DESCRIPTION="MIDI processing library and player using the GUS patch set"
|
||||
HOMEPAGE="http://www.mindwerks.net/projects/wildmidi/"
|
||||
SRC_URI="https://github.com/Mindwerks/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
LICENSE="GPL-3+ LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv x86"
|
||||
@ -29,7 +31,9 @@ DOC_CONTENTS="${PN} is using timidity-freepats for midi playback.
|
||||
A default configuration file was placed on /etc/${PN}/${PN}.cfg.
|
||||
For more information please read the ${PN}.cfg manpage."
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/wildmidi-0.4.6_cmake4.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user