commit:     43dee265af101f17dca896093a9aa50d16b8a59f
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Mon Nov 10 03:00:56 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 24 13:08:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43dee265

mate-base/mate-menus: use proper API checks

Fix regression introduced in commit
ee2e07ff72bc14c4f6ebfabf6cc74927d79bb0ec.

Closes: https://bugs.gentoo.org/945386
Signed-off-by: Thibaud CANALE <thican <AT> thican.net>
Part-of: https://github.com/gentoo/gentoo/pull/44563
Closes: https://github.com/gentoo/gentoo/pull/44563
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mate-base/mate-menus/mate-menus-1.28.0-r1.ebuild | 47 ++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/mate-base/mate-menus/mate-menus-1.28.0-r1.ebuild 
b/mate-base/mate-menus/mate-menus-1.28.0-r1.ebuild
new file mode 100644
index 000000000000..f3748ad5453e
--- /dev/null
+++ b/mate-base/mate-menus/mate-menus-1.28.0-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GNOME2_LA_PUNT="yes"
+
+inherit mate
+
+MINOR=$(($(ver_cut 2) % 2))
+if [[ ${MINOR} -eq 0 ]]; then
+       KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86"
+fi
+
+DESCRIPTION="MATE menu system, implementing the F.D.O cross-desktop spec"
+LICENSE="GPL-2+ LGPL-2+ LGPL-2.1+"
+SLOT="0"
+
+IUSE="debug +introspection nls"
+
+COMMON_DEPEND=">=dev-libs/glib-2.50:2
+       introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
+"
+
+RDEPEND="${COMMON_DEPEND}"
+
+BDEPEND="
+       >=sys-devel/gettext-0.19.8
+       virtual/pkgconfig
+"
+DEPEND="${COMMON_DEPEND}"
+
+src_configure() {
+       # Do NOT compile with --disable-debug/--enable-debug=no as it disables 
API
+       # usage checks.
+       mate_src_configure \
+               --enable-debug=$(usex debug yes minimum) \
+               $(use_enable introspection) \
+               $(use_enable nls)
+}
+
+src_install() {
+       mate_src_install
+
+       exeinto /etc/X11/xinit/xinitrc.d/
+       newexe "${FILESDIR}/10-xdg-menu-mate-r1" "10-xdg-menu-mate"
+}

Reply via email to