commit: 5b2023b0c3305f429542acbbbf87ba4f0eb4eed3 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Jul 27 21:59:14 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Jul 27 22:12:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2023b0
media-sound/bpmdetect: drop 0.7.0_pre20170810-r2 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> media-sound/bpmdetect/Manifest | 1 - .../bpmdetect-0.7.0_pre20170810-r2.ebuild | 43 ---------------------- .../files/bpmdetect-0.7.0_pre20170810-cmake4.patch | 32 ---------------- ...etect-0.7.0_pre20170810-fix-build-taglib2.patch | 23 ------------ .../files/bpmdetect-0.7.0_pre20170810-gcc-11.patch | 41 --------------------- 5 files changed, 140 deletions(-) diff --git a/media-sound/bpmdetect/Manifest b/media-sound/bpmdetect/Manifest index ea1e548b6c5a..e1152c471083 100644 --- a/media-sound/bpmdetect/Manifest +++ b/media-sound/bpmdetect/Manifest @@ -1,2 +1 @@ -DIST bpmdetect-0.7.0_pre20170810.tar.gz 257777 BLAKE2B 8a6cfa43b70883d3bf03328c9e52a642140c5a25cd72ea5a9515394551e2ae108135b284b788e12a53e79cb0e2fd916d35a27d743558abb996ad5eb5db7beb45 SHA512 a2bbb67c2e5c46b08396e85fd4b91a5fa8622222929a4a67abdcb4587f04f1d8f40414800cb476f7aaa66d95571dd2d65332e48ed639b621a4351f70ab545779 DIST bpmdetect-0.7.1.tar.gz 259068 BLAKE2B ed9136a4c13d7ff4a09f202fd6cff7fdf1b1dcb83b045ed9ec6ab0f94c51ae3ab352f22090630316da500a3aab9b8e0626162c056382f7221e1f65db03019caa SHA512 f0aeadebc8b7eeede40a6452728cfd02a6393884a6b139da02f69db56c013dd90e7ddae80e198e9de8987b2445be844003d4e7291e405785e9e9b7221a9e9e20 diff --git a/media-sound/bpmdetect/bpmdetect-0.7.0_pre20170810-r2.ebuild b/media-sound/bpmdetect/bpmdetect-0.7.0_pre20170810-r2.ebuild deleted file mode 100644 index 869e1ebc8ad2..000000000000 --- a/media-sound/bpmdetect/bpmdetect-0.7.0_pre20170810-r2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -COMMIT=b13aac15904c1f821b1739d00445f49432705387 -inherit cmake - -DESCRIPTION="Automatic BPM detection utility" -HOMEPAGE="https://github.com/Tatsh/bpmdetect" -SRC_URI="https://github.com/Tatsh/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COMMIT}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtwidgets:5 - media-libs/flac:= - media-libs/libmad - media-libs/libvorbis - media-libs/portaudio - media-libs/taglib:= -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${P}-gcc-11.patch # git master - "${FILESDIR}"/${P}-fix-build-taglib2.patch # git master - "${FILESDIR}"/${P}-cmake4.patch # pending PR -) - -src_install() { - einstalldocs - dobin "${BUILD_DIR}"/src/${PN} -} diff --git a/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-cmake4.patch b/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-cmake4.patch deleted file mode 100644 index 07b2c42ee64d..000000000000 --- a/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-cmake4.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 9834edc9af52ec1e07aab10bd703bf16b3432ca0 Mon Sep 17 00:00:00 2001 -From: Andreas Sturmlechner <[email protected]> -Date: Fri, 2 May 2025 21:34:42 +0200 -Subject: [PATCH] Fix build with >=cmake-4 - -> CMake Error at CMakeLists.txt:1 (cmake_minimum_required): -> Compatibility with CMake < 3.5 has been removed from 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. -> -> Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway. - -Signed-off-by: Andreas Sturmlechner <[email protected]> ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 0ba689f..6c52cf9 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,4 +1,4 @@ --cmake_minimum_required(VERSION 2.8.3) -+cmake_minimum_required(VERSION 3.10) - project(bpmdetect) - set(CMAKE_INCLUDE_CURRENT_DIR ON) - set(CMAKE_AUTOMOC ON) --- -2.49.0 - diff --git a/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-fix-build-taglib2.patch b/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-fix-build-taglib2.patch deleted file mode 100644 index fb40c7b2a938..000000000000 --- a/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-fix-build-taglib2.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://github.com/Tatsh/bpmdetect/pull/4.patch ---- a/src/trackoggvorbis.cpp -+++ b/src/trackoggvorbis.cpp -@@ -223,7 +223,7 @@ - if (tag == NULL) { - return; - } -- tag->removeField("TBPM"); -+ tag->removeFields("TBPM"); - f.save(); - //open(); - #endif ---- a/src/trackflac.cpp -+++ b/src/trackflac.cpp -@@ -239,7 +239,7 @@ - TagLib::FLAC::File f ( fname.c_str(), false ); - TagLib::Ogg::XiphComment* xiph = f.xiphComment (true); - if (xiph != NULL) { -- xiph->removeField ("TBPM"); -+ xiph->removeFields ("TBPM"); - } - - TagLib::ID3v2::Tag* tag = f.ID3v2Tag (true); diff --git a/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-gcc-11.patch b/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-gcc-11.patch deleted file mode 100644 index 9264d92f8602..000000000000 --- a/media-sound/bpmdetect/files/bpmdetect-0.7.0_pre20170810-gcc-11.patch +++ /dev/null @@ -1,41 +0,0 @@ -https://bugs.gentoo.org/740328 -https://github.com/Tatsh/bpmdetect/pull/2 - -From 4dbca9ede5126da8d6ce2949cd8db53096fb03fe Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich <[email protected]> -Date: Sun, 9 May 2021 13:12:20 +0100 -Subject: [PATCH] src/trackmp3.cpp: fix build against gcc-11 - -On gcc-11 build fails as: - -``` -../src/trackmp3.cpp: In member function 'int TrackMp3::findFrame(int)': -../src/trackmp3.cpp:458:13: error: - ordered comparison of pointer with integer zero ('MadSeekFrameType*' and 'int') - 458 | if (temp>0) { - | ~~~~^~ -``` - -The fix changes pointer-to-int comparison to NULL comparison. - -Reported-by: Agostino Sarubbo -Bug: https://bugs.gentoo.org/740328 -Signed-off-by: Sergei Trofimovich <[email protected]> ---- - src/trackmp3.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/src/trackmp3.cpp -+++ b/src/trackmp3.cpp -@@ -455,7 +455,7 @@ int TrackMp3::findFrame(int pos) { - temp = m_qSeekList.at(--frameIdx); - } - -- if (temp>0) { -+ if (temp) { - return temp->pos; - } else { - return 0; --- -2.31.1 -
