commit:     4f71ea1e928739279de05f8f073908b0d200048c
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 21 13:47:45 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 21 15:34:11 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f71ea1e

media-sound/spek: use ffmpeg-compat:7

Not looked closely but fixing this may(?) not be trivial given it
uses a removed header, and then seems upstream hasn't had activity
in 2 years and is also m-n in Gentoo, so ffmpeg-compat likely the
best bet for now to avoid last-riting.

Bug: https://bugs.gentoo.org/964014
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-sound/spek/spek-0.8.5-r3.ebuild | 43 +++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/media-sound/spek/spek-0.8.5-r3.ebuild 
b/media-sound/spek/spek-0.8.5-r3.ebuild
new file mode 100644
index 000000000000..ef41a5b57762
--- /dev/null
+++ b/media-sound/spek/spek-0.8.5-r3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+WX_GTK_VER="3.2-gtk3"
+
+inherit autotools ffmpeg-compat wxwidgets xdg
+
+DESCRIPTION="Analyse your audio files by showing their spectrogram"
+HOMEPAGE="https://spek.cc/";
+SRC_URI="https://github.com/alexkay/spek/releases/download/v${PV}/${P}.tar.xz";
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       media-video/ffmpeg-compat:7=
+       x11-libs/wxGTK:${WX_GTK_VER}=[X]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-0.8.4-disable-updates.patch
+       # Debian patches
+       "${FILESDIR}"/00_dfsg.patch
+       "${FILESDIR}"/01_arm64-mips64el.patch
+       "${FILESDIR}"/02_ftbfs-gcc13.patch
+       "${FILESDIR}"/03_metainfo.patch
+)
+
+src_prepare() {
+       setup-wxwidgets unicode
+       default
+       eautoreconf
+
+       # TODO: fix with >=ffmpeg-8 then drop compat (bug #964014)
+       ffmpeg_compat_setup 7
+}

Reply via email to