commit: 797667a1651e148065f233afc3b035f55108192f Author: NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com> AuthorDate: Sat Feb 22 13:27:33 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Feb 22 23:47:20 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=797667a1
media-sound/gimmix: update EAPI 7 -> 8, fix build It depends upon deprecated dependency libglade. Upstream is dead. Closes: https://bugs.gentoo.org/919181 Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/40702 Signed-off-by: Sam James <sam <AT> gentoo.org> .../gimmix/files/gimmix-0.5.7.2-fix-headers.patch | 22 +++++++++ media-sound/gimmix/gimmix-0.5.7.2-r2.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 75 insertions(+) diff --git a/media-sound/gimmix/files/gimmix-0.5.7.2-fix-headers.patch b/media-sound/gimmix/files/gimmix-0.5.7.2-fix-headers.patch new file mode 100644 index 000000000000..8f8c1537e13a --- /dev/null +++ b/media-sound/gimmix/files/gimmix-0.5.7.2-fix-headers.patch @@ -0,0 +1,22 @@ +Fix headers for USE="lyrics -cover -taglib" +Add missing dependency, include guard +https://bugs.gentoo.org/919181 +--- a/src/gimmix-lyrics.h ++++ b/src/gimmix-lyrics.h +@@ -4,6 +4,7 @@ + #define GIMMIX_LYRICS_H + + #include "gimmix-core.h" ++#include "gimmix-metadata.h" + #include "gimmix.h" + #include "wejpconfig.h" + #include <gtk/gtk.h> +--- a/src/gimmix-metadata.h ++++ b/src/gimmix-metadata.h +@@ -1,5 +1,5 @@ + #ifndef GIMMIX_METADATA_H +-#define GIMMIX_METADAT_H ++#define GIMMIX_METADATA_H + + #include "gimmix-core.h" + #include "gimmix.h" diff --git a/media-sound/gimmix/gimmix-0.5.7.2-r2.ebuild b/media-sound/gimmix/gimmix-0.5.7.2-r2.ebuild new file mode 100644 index 000000000000..182a2703ab0c --- /dev/null +++ b/media-sound/gimmix/gimmix-0.5.7.2-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools xdg + +DESCRIPTION="a graphical music player daemon (MPD) client using GTK+2" +HOMEPAGE="https://launchpad.net/gimmix" +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="cover lyrics taglib" + +RDEPEND=" + media-libs/libmpd:= + gnome-base/libglade:= + x11-libs/gtk+:2 + cover? ( + net-libs/libnxml:= + net-misc/curl:= + ) + lyrics? ( + net-libs/libnxml:= + net-misc/curl:= + ) + taglib? ( media-libs/taglib:= )" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + dev-util/intltool" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.7.1-curl-headers.patch + "${FILESDIR}"/${PN}-0.5.7.2-format-security.patch + "${FILESDIR}"/${PN}-0.5.7.2-QA-desktop-file.patch + "${FILESDIR}"/${PN}-0.5.7.2-fno-common.patch + "${FILESDIR}"/${PN}-0.5.7.2-fix-headers.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable cover) \ + $(use_enable lyrics) \ + $(use_enable taglib tageditor) +}
