blob: 9bc622ec1f13f31fe2ad1fd930218fcf63fbdc7d (
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
85
86
87
88
89
90
91
92
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{10..12} )
inherit meson gnome2-utils python-single-r1 xdg-utils
DESCRIPTION="Cinnamon session manager"
HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-session"
SRC_URI="https://github.com/linuxmint/cinnamon-session/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
IUSE="systemd"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
COMMON_DEPEND="
>=dev-libs/glib-2.37.3:2
>=gnome-extra/cinnamon-desktop-6.0:0=
media-libs/libcanberra[pulseaudio]
virtual/opengl
x11-libs/cairo
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-3:3[introspection]
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libXcomposite
x11-libs/libXext
x11-libs/libXrender
x11-libs/libXtst
x11-libs/pango[X]
>=x11-libs/xapp-2.8.1[introspection]
systemd? (
>=sys-apps/systemd-183
)
!systemd? (
sys-auth/elogind[policykit]
)
"
DEPEND="
${COMMON_DEPEND}
x11-libs/xtrans
"
RDEPEND="
${COMMON_DEPEND}
${PYTHON_DEPS}
dev-libs/gobject-introspection
$(python_gen_cond_dep '
dev-python/pygobject:3[${PYTHON_USEDEP}]
dev-python/setproctitle[${PYTHON_USEDEP}]
')
"
BDEPEND="
${PYTHON_DEPS}
dev-util/gdbus-codegen
virtual/pkgconfig
"
PATCHES=(
# Fix bad systemd include
# https://github.com/linuxmint/cinnamon-session/pull/164
"${FILESDIR}/${PN}-6.0.0-fix-optional-systemd.patch"
)
src_prepare() {
default
python_fix_shebang data cinnamon-session-quit
}
src_configure() {
local emesonargs=(
-Dipv6=true
-Dxtrans=true
)
meson_src_configure
}
pkg_postinst() {
xdg_icon_cache_update
gnome2_schemas_update
}
pkg_postrm() {
xdg_icon_cache_update
gnome2_schemas_update
}
|