commit:     5cc622f16aaf55ddfed9fd1981e89f05c94625f2
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  3 01:55:05 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Jul  3 07:59:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cc622f1

media-sound/easytag: drop confusing dependency on libcanberra-gtk

This was added in commit 9e0426f0b0345675926e1635d440f429a0ec1fad with
zero explanation as part of a routine version bump. The package doesn't
look for or use it, there is zero mention of canberra at all ANYWHERE in
git history, and other distros don't depend on it. I daresay it should
never have been added.

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 media-sound/easytag/easytag-2.4.3-r9.ebuild | 82 +++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)

diff --git a/media-sound/easytag/easytag-2.4.3-r9.ebuild 
b/media-sound/easytag/easytag-2.4.3-r9.ebuild
new file mode 100644
index 000000000000..1ac62418deec
--- /dev/null
+++ b/media-sound/easytag/easytag-2.4.3-r9.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GNOME2_EAUTORECONF="yes"
+inherit flag-o-matic gnome2
+
+DESCRIPTION="GTK+ utility for editing MP2, MP3, MP4, FLAC, Ogg and other media 
tags"
+HOMEPAGE="https://wiki.gnome.org/Apps/EasyTAG";
+
+LICENSE="GPL-2 GPL-2+ LGPL-2 LGPL-2+ LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux 
~ppc-macos"
+IUSE="flac mp3 mp4 opus speex test vorbis wavpack"
+# Disable nautilus support until 
https://gitlab.gnome.org/GNOME/easytag/-/issues/78
+# is solved
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+       opus? ( vorbis )
+       speex? ( vorbis )"
+
+RDEPEND="
+       >=dev-libs/glib-2.38:2
+       >=x11-libs/gtk+-3.10:3
+       flac? ( >=media-libs/flac-1.3:= )
+       mp3? (
+               >=media-libs/id3lib-3.8.3-r11
+               >=media-libs/libid3tag-0.15.1b-r4:=
+       )
+       mp4? ( media-libs/taglib:=[mp4(+)] )
+       opus? (
+               >=media-libs/opus-1.1
+               >=media-libs/opusfile-0.4
+       )
+       speex? ( >=media-libs/speex-1.2_rc1 )
+       vorbis? (
+               >=media-libs/libogg-1.3.1
+               >=media-libs/libvorbis-1.3.4
+       )
+       wavpack? ( >=media-sound/wavpack-4.70 )"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       app-text/docbook-xml-dtd:4.4
+       app-text/yelp-tools
+       dev-util/glib-utils
+       dev-libs/appstream-glib
+       dev-libs/libxml2
+       dev-libs/libxslt
+       >=dev-util/intltool-0.50
+       >=sys-devel/gettext-0.18.3.2
+       virtual/pkgconfig
+       test? (
+               >=dev-util/desktop-file-utils-0.22
+       )"
+
+PATCHES=(
+       "${FILESDIR}"/${P}-ogg-corruption.patch
+       "${FILESDIR}"/${P}-fix-build-taglib2.patch
+       "${FILESDIR}"/${P}-fix-check-id3.patch
+       "${FILESDIR}"/${P}-fix-appdata.patch
+       "${FILESDIR}"/${P}-c23.patch
+)
+
+src_configure() {
+       # bug #940245
+       use mp3 && filter-lto
+
+       gnome2_src_configure \
+               --disable-Werror \
+               --disable-nautilus-actions \
+               $(use_enable test appdata-validate) \
+               $(use_enable test tests) \
+               $(use_enable mp3) \
+               $(use_enable mp3 id3v23) \
+               $(use_enable vorbis ogg) \
+               $(use_enable opus) \
+               $(use_enable speex) \
+               $(use_enable flac) \
+               $(use_enable mp4) \
+               $(use_enable wavpack)
+}

Reply via email to