summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew S. Turnbull <sparky@bluefang-logic.com>2021-12-28 16:54:41 -0500
committerSam James <sam@gentoo.org>2022-01-21 17:15:11 +0000
commit15a8a65e3cd45663811dc9b302cb372c1f567069 (patch)
tree7ff3648bf7a0c9a0416adcdbab9d48034ca0dc0d /gnome-extra/cinnamon-screensaver
parentdev-python/python3-xapp: Add Python 3.10 support (diff)
downloadgentoo-15a8a65e3cd45663811dc9b302cb372c1f567069.tar.gz
gentoo-15a8a65e3cd45663811dc9b302cb372c1f567069.tar.bz2
gentoo-15a8a65e3cd45663811dc9b302cb372c1f567069.zip
gnome-extra/cinnamon-screensaver: 5.2.0 version bump
Add Python 3.10 support. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gnome-extra/cinnamon-screensaver')
-rw-r--r--gnome-extra/cinnamon-screensaver/Manifest1
-rw-r--r--gnome-extra/cinnamon-screensaver/cinnamon-screensaver-5.2.0.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon-screensaver/Manifest b/gnome-extra/cinnamon-screensaver/Manifest
index 338a7f84e829..ed5b67a69746 100644
--- a/gnome-extra/cinnamon-screensaver/Manifest
+++ b/gnome-extra/cinnamon-screensaver/Manifest
@@ -1 +1,2 @@
DIST cinnamon-screensaver-5.0.7.tar.gz 154480 BLAKE2B 38b89e2d4729ea2806903e9bd27024b274248325720d233485ab756477625bc07832582bbe99c599b7a7d4dbcf76d22b59df179ac8617a81b584b9f5684cb6d2 SHA512 ec5990e1f73983e96eb07f0d4d1a66076d067df28d56c68cce987dc7fce35871650273d2d4a64058d73c7daff2326722e3c1a2fd86afc761d81d1a6b2e7f9370
+DIST cinnamon-screensaver-5.2.0.tar.gz 154678 BLAKE2B 65e2ecf62319198b7637129711bc7cce08ad05a9ed89f30553bac77e5e4b147bdbcb992a1e8717e903912d0b4f70075684b40c136afc0099182c1101f1ba1a0b SHA512 d248ef848d2990a8464ff866b4d090b60531832c7a327b10f879c5a00558e14b70c6b45223550ad4100e7af1a491dc7c460c27d159c28eb289a37b916d89ad41
diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-5.2.0.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-5.2.0.ebuild
new file mode 100644
index 000000000000..f9fd96c4619b
--- /dev/null
+++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-5.2.0.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit meson python-single-r1 xdg
+
+DESCRIPTION="Screensaver for Cinnamon"
+HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cinnamon-screensaver"
+SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="systemd xinerama"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ >=dev-libs/dbus-glib-0.78
+ >=dev-libs/glib-2.37.3:2[dbus]
+ >=gnome-extra/cinnamon-desktop-5.2:0=
+ sys-apps/dbus
+ sys-libs/pam
+ >=x11-libs/gtk+-3.22:3[introspection]
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-themes/adwaita-icon-theme
+
+ xinerama? ( x11-libs/libXinerama )
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ >=app-accessibility/caribou-0.3
+ sys-apps/accountsservice[introspection]
+ $(python_gen_cond_dep '
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/setproctitle[${PYTHON_USEDEP}]
+ >=dev-python/python3-xapp-2.2.1-r1[${PYTHON_USEDEP}]
+ ')
+
+ systemd? ( >=sys-apps/systemd-31 )
+ !systemd? ( sys-auth/elogind )
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ x11-base/xorg-proto
+"
+BDEPEND="
+ dev-util/gdbus-codegen
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_prepare() {
+ default
+ python_fix_shebang install-scripts src
+}
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use xinerama)
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ python_optimize "${ED}"/usr/share/cinnamon-screensaver/
+}