blob: bc6cb170dcd1b407c3f5b7b142ad4b34e860233e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
GNOME2_LA_PUNT="yes"
inherit mate
if [[ ${PV} != 9999 ]]; 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"
}
|