Skip to content

Commit

Permalink
gnome-extra/cinnamon-session: 4.4.1 version bump
Browse files Browse the repository at this point in the history
Update cinnamon-session to 4.4.1. Switch to EAPI=7
and clean up eclass usage and dependencies.

Bug: https://bugs.gentoo.org/704532
Closes: https://bugs.gentoo.org/680808
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthew S. Turnbull <[email protected]>
Signed-off-by: Matt Turner <[email protected]>
  • Loading branch information
SparkyBluefang authored and mattst88 committed May 29, 2020
1 parent db2ce06 commit a3bfca1
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
1 change: 1 addition & 0 deletions gnome-extra/cinnamon-session/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST cinnamon-session-4.0.0.tar.gz 198396 BLAKE2B 713573d445f09cfa4707c3ccaff04bdcc95ea7b60568fc136359258022af287df66992444da462f0488dc4049036deb190523695e519eb61329e922e05871c39 SHA512 7e91bef4e294175fa3333a96d0cb9d06db36c9b5a86d6e52734447ea62d411535760fc46713961a46299ebeb3767a0abd4768279e9f6c176ae882de9b7aedc5e
DIST cinnamon-session-4.4.1.tar.gz 198819 BLAKE2B bd39b5a89011942239beb76976b01234eaf839e80f1f54d26e1ee988797596d876d2708bee91d4c016a584d76fd9ba1209b4f8e77da8e9db8d7a8b4e5a43dac1 SHA512 f5caf7a3797ca30c397433ea052b7736308a31da291442f64224f034a6bd50eb45307cc8987efe5148eb816c2c70c3033795290386c93f205684796d03b63c22
72 changes: 72 additions & 0 deletions gnome-extra/cinnamon-session/cinnamon-session-4.4.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit meson gnome2-utils xdg

DESCRIPTION="Cinnamon session manager"
HOMEPAGE="https://projects.linuxmint.com/cinnamon/"
SRC_URI="https://github.com/linuxmint/cinnamon-session/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-2+ FDL-1.1+ LGPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc elogind ipv6 systemd"
REQUIRED_USE="^^ ( elogind systemd )"

COMMON_DEPEND="
>=dev-libs/glib-2.37.3:2
media-libs/libcanberra
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-3:3
x11-libs/cairo
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/xapps-1.0.4
virtual/opengl
systemd? ( >=sys-apps/systemd-183 )
elogind? ( sys-auth/elogind[policykit] )
"

RDEPEND="${COMMON_DEPEND}
>=gnome-extra/cinnamon-desktop-4.4
"
DEPEND="${COMMON_DEPEND}"
BDEPEND="
>=dev-util/intltool-0.40.6
virtual/pkgconfig
doc? (
app-text/xmlto
dev-libs/libxslt )
"

PATCHES=(
"${FILESDIR}"/${PN}-3.8.0-elogind.patch
"${FILESDIR}"/${PN}-3.8.0-elogind2.patch
)

src_configure() {
local emesonargs=(
-Dgconf=false
$(meson_use doc docbook)
$(meson_use ipv6)
)
meson_src_configure
}

pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}

pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}
8 changes: 8 additions & 0 deletions gnome-extra/cinnamon-session/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
<email>[email protected]</email>
<name>Cinnamon Project</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Proxy Maintainers</name>
</maintainer>
<maintainer type="person">
<email>[email protected]</email>
<name>Matthew Turnbull</name>
</maintainer>
<use>
<flag name="elogind">Rely on <pkg>sys-auth/elogind</pkg> as runtime logind provider</flag>
</use>
Expand Down

0 comments on commit a3bfca1

Please sign in to comment.