summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/cinnamon-session/cinnamon-session-4.6.2.ebuild')
-rw-r--r--gnome-extra/cinnamon-session/cinnamon-session-4.6.2.ebuild15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnome-extra/cinnamon-session/cinnamon-session-4.6.2.ebuild b/gnome-extra/cinnamon-session/cinnamon-session-4.6.2.ebuild
index 03023fcda262..3bf079671799 100644
--- a/gnome-extra/cinnamon-session/cinnamon-session-4.6.2.ebuild
+++ b/gnome-extra/cinnamon-session/cinnamon-session-4.6.2.ebuild
@@ -2,7 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit meson gnome2-utils xdg
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+inherit meson gnome2-utils python-any-r1 xdg-utils
DESCRIPTION="Cinnamon session manager"
HOMEPAGE="https://projects.linuxmint.com/cinnamon/"
@@ -39,6 +42,7 @@ RDEPEND="${COMMON_DEPEND}
"
DEPEND="${COMMON_DEPEND}"
BDEPEND="
+ ${PYTHON_DEPS}
>=dev-util/intltool-0.40.6
virtual/pkgconfig
doc? (
@@ -46,6 +50,11 @@ BDEPEND="
dev-libs/libxslt )
"
+src_prepare() {
+ default
+ python_fix_shebang data
+}
+
src_configure() {
local emesonargs=(
-Dgconf=false
@@ -56,11 +65,11 @@ src_configure() {
}
pkg_postinst() {
- xdg_pkg_postinst
+ xdg_icon_cache_update
gnome2_schemas_update
}
pkg_postrm() {
- xdg_pkg_postrm
+ xdg_icon_cache_update
gnome2_schemas_update
}