commit:     620473cf6c6d1ee84325a277ba664e680bbdcb5a
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Thu Feb 13 15:30:26 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 14 05:22:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=620473cf

media-libs/libggiwmh: update EAPI 7 -> 8, fix impl decls in configure

Autoreconf, but non-regenerated acinclude.m4 needs to be removed

Closes: https://bugs.gentoo.org/899822
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/40558
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/libggiwmh/libggiwmh-0.3.2-r2.ebuild | 46 ++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/media-libs/libggiwmh/libggiwmh-0.3.2-r2.ebuild 
b/media-libs/libggiwmh/libggiwmh-0.3.2-r2.ebuild
new file mode 100644
index 000000000000..50df6bba01fd
--- /dev/null
+++ b/media-libs/libggiwmh/libggiwmh-0.3.2-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Window manager hints extensions for libggi"
+HOMEPAGE="https://ibiblio.org/ggicore/packages/libggiwmh.html";
+SRC_URI="https://downloads.sourceforge.net/ggi/${P}.src.tar.bz2";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="X"
+
+RDEPEND=">=media-libs/libggi-2.2.2
+       X? (
+               x11-libs/libX11
+               x11-libs/libXext
+               x11-libs/libXxf86dga
+               x11-libs/libXxf86vm
+       )"
+DEPEND="${RDEPEND}"
+
+DOCS=( ChangeLog README doc/libggiwmh{,-functions,-libraries}.txt )
+
+src_prepare() {
+       default
+
+       # https://bugs.gentoo.org/899822
+       rm acinclude.m4 || die #it's not regenerated and breaks libggi check
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               $(use_enable X x) \
+               $(use_with X x) \
+               --disable-static
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}

Reply via email to