diff options
author | Pacho Ramos <pacho@gentoo.org> | 2022-12-04 13:24:46 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2022-12-04 15:49:15 +0100 |
commit | bed3a0701a03725980af19a6c07a733c4bf334c0 (patch) | |
tree | ee778b869e77480563a3aa61e621f9da48781108 /media-sound | |
parent | gnome-extra/nautilus-dropbox: add github upstream metadata (diff) | |
download | gentoo-bed3a0701a03725980af19a6c07a733c4bf334c0.tar.gz gentoo-bed3a0701a03725980af19a6c07a733c4bf334c0.tar.bz2 gentoo-bed3a0701a03725980af19a6c07a733c4bf334c0.zip |
media-sound/easytag: Disable nautilus support
As I could not find any fix for adapting it to nautilus-43, we need to rely
on upstream then.
Also fix metadata path.
Closes: https://bugs.gentoo.org/751694
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/easytag/easytag-2.4.3-r5.ebuild | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/media-sound/easytag/easytag-2.4.3-r5.ebuild b/media-sound/easytag/easytag-2.4.3-r5.ebuild new file mode 100644 index 000000000000..fa4818f154ce --- /dev/null +++ b/media-sound/easytag/easytag-2.4.3-r5.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit 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="~alpha ~amd64 ~arm ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris" +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 + media-libs/libcanberra[gtk3] + >=x11-libs/gtk+-3.10:3 + flac? ( >=media-libs/flac-1.3:= ) + mp3? ( + >=media-libs/id3lib-3.8.3-r8 + >=media-libs/libid3tag-0.15.1b-r4:= + ) + mp4? ( >=media-libs/taglib-1.9.1[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/libxml2 + dev-libs/libxslt + >=dev-util/intltool-0.50 + >=sys-devel/gettext-0.18.3.2 + virtual/pkgconfig + test? ( + dev-libs/appstream-glib + >=dev-util/desktop-file-utils-0.22 + )" + +PATCHES=( "${FILESDIR}"/${P}-ogg-corruption.patch ) + +src_configure() { + 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) +} + +src_install() { + gnome2_src_install + # https://gitlab.gnome.org/GNOME/easytag/-/issues/82 + mv "${ED}"/usr/share/{appdata,metainfo} +} |