# Copyright 2015-2023 Pierre Lejeune # Distributed under the terms of the GNU General Purpose License v2 require github [ user='linuxmint' ] gsettings gtk-icon-cache meson SUMMARY="Session Manager for the Cinnamon Desktop" LICENCES="GPL-2" SLOT="0" PLATFORMS="~amd64" MYOPTIONS=" doc ( linguas: af am ar as ast az be be@latin bg bn bn_IN br bs ca ca@valencia crh cs csb cy da de dz el en_CA en_GB en@shaw eo es et eu fa fi fr fur fy ga gl gu ha he hi hr hu hy id ig is it ja ka km kn ko ku lt lv mai mg mi mk ml mn mr ms nb nds ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr@latin sv ta te th tk tr ug uk uz uz@cyrillic vi wa xh yo zh_CN zh_HK zh_TW zu ) ( providers: elogind systemd ) [[ number-selected = exactly-one *description = [ logind provider ] ]] " DEPENDENCIES=" build: dev-util/intltool[>=0.40.6] sys-devel/gettext virtual/pkg-config[>=0.20] build+run: cinnamon-desktop/xapps[>=1.0.4] dev-libs/glib:2[>=2.37.3] gnome-desktop/gsettings-desktop-schemas[>=0.1.7] [[ note = [ See GNOME bug #641686 ] ]] media-libs/libcanberra[providers:gtk3] x11-libs/gtk+:3[>=3.0.0] 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/xtrans x11-dri/mesa x11-libs/pango[X(+)] providers:elogind? ( sys-auth/elogind ) providers:systemd? ( sys-apps/systemd[>=183] ) " DEFAULT_SRC_PREPARE_PATCHES=( "${FILES}"/${PN}-$(ever range 1-2)-fix_g_free_on_uninitialized_pointers.patch ) MESON_SRC_CONFIGURE_PARAMS=( '-Dipv6=true' '-Dxtrans=true' ) pkg_postinst() { gsettings_pkg_postinst gtk-icon-cache_pkg_postinst } pkg_postrm() { gsettings_pkg_postrm gtk-icon-cache_pkg_postrm }