diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-10 00:31:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-10 00:31:33 +0100 |
commit | abb30563c27d2f713333a02c5d124acc8e301d12 (patch) | |
tree | 584169f99cd4c93cecaaf57768c589fef99d78b8 /mate-base/mate-menus/mate-menus-1.28.0.ebuild | |
parent | fb7c221776ce0bda5eb40ef32cb74daa98aed0d7 (diff) |
gentoo auto-resync : 10:04:2024 - 00:31:32
Diffstat (limited to 'mate-base/mate-menus/mate-menus-1.28.0.ebuild')
-rw-r--r-- | mate-base/mate-menus/mate-menus-1.28.0.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/mate-base/mate-menus/mate-menus-1.28.0.ebuild b/mate-base/mate-menus/mate-menus-1.28.0.ebuild new file mode 100644 index 000000000000..3aa5f5deff60 --- /dev/null +++ b/mate-base/mate-menus/mate-menus-1.28.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2024 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-0.6.7:= ) +" + +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) \ + $(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" +} |