summaryrefslogtreecommitdiff
blob: c76843ae55d835ca4740e1551bcb9d79e937ec47 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

if [[ ${PV} == 9999 ]]; then
	MATE_BRANCH=9999
	MATE_THEMES_V=9999
else
	inherit versionator
	MATE_BRANCH="$(get_version_component_range 1-2)"
	MATE_THEMES_V=3
	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
fi

SRC_URI=""
DESCRIPTION="Meta ebuild for MATE, a traditional desktop environment"
HOMEPAGE="http://mate-desktop.org"

LICENSE="metapackage"

SLOT="0"
IUSE="+base -bluetooth help +notification +themes +extras"

S="${WORKDIR}"

RDEPEND="
	=mate-base/mate-desktop-${MATE_BRANCH}*:0
	=mate-base/mate-menus-${MATE_BRANCH}*:0
	=mate-base/mate-panel-${MATE_BRANCH}*:0
	=mate-base/mate-session-manager-${MATE_BRANCH}*:0
	=mate-base/mate-settings-daemon-${MATE_BRANCH}*:0
	=x11-wm/marco-${MATE_BRANCH}*:0
	base? (
		=mate-base/caja-${MATE_BRANCH}*:0
		=mate-base/mate-applets-meta-${MATE_BRANCH}*:0
		=mate-base/mate-control-center-${MATE_BRANCH}*:0
		=mate-extra/mate-media-${MATE_BRANCH}*:0
		=x11-misc/mozo-${MATE_BRANCH}*:0
		=x11-terms/mate-terminal-${MATE_BRANCH}*:0
	)
	bluetooth? ( net-wireless/blueman:0 )
	themes? (
		=x11-themes/mate-backgrounds-${MATE_BRANCH}*:0
		=x11-themes/mate-icon-theme-${MATE_BRANCH}*:0
		>=x11-themes/mate-themes-meta-${MATE_THEMES_V}:0
	)
	extras? (
		=app-arch/engrampa-${MATE_BRANCH}*:0
		=app-editors/pluma-${MATE_BRANCH}*:0
		=app-text/atril-${MATE_BRANCH}*:0
		=mate-extra/caja-extensions-${MATE_BRANCH}*:0
		=mate-extra/mate-calc-${MATE_BRANCH}*:0
		=mate-extra/mate-netbook-${MATE_BRANCH}*:0
		=mate-extra/mate-power-manager-${MATE_BRANCH}*:0
		=mate-extra/mate-screensaver-${MATE_BRANCH}*:0
		=mate-extra/mate-system-monitor-${MATE_BRANCH}*:0
		=mate-extra/mate-utils-${MATE_BRANCH}*:0
		=media-gfx/eom-${MATE_BRANCH}*:0
		sys-apps/gnome-disk-utility:0
	)
	help? (
		gnome-extra/yelp:0
		=mate-extra/mate-user-guide-${MATE_BRANCH}*:0
	)
"

PDEPEND="
	notification? ( =x11-misc/mate-notification-daemon-${MATE_BRANCH}*:0 )
	virtual/notification-daemon:0"

pkg_postinst() {
	elog "For installation, usage and troubleshooting details regarding MATE;"
	elog "read more about it at Gentoo Wiki: https://wiki.gentoo.org/wiki/MATE"
	elog ""
	if ! has_version x11-misc/mate-notification-daemon; then
		elog "If you experience any issues with notifications, please try using"
		elog "x11-misc/mate-notification-daemon instead your currently installed daemon"
		elog ""
	fi
	elog "Some packages that are not included in this meta-package but may be of interest:"
	elog "		mate-extra/caja-dropbox"
	elog "		mate-extra/mate-user-share"
}