summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.4.4.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon-screensaver/Manifest b/gnome-extra/cinnamon-screensaver/Manifest
index 134c2bc214a1..a6ce80d74cf5 100644
--- a/gnome-extra/cinnamon-screensaver/Manifest
+++ b/gnome-extra/cinnamon-screensaver/Manifest
@@ -1 +1,2 @@
DIST cinnamon-screensaver-5.2.1.tar.gz 154920 BLAKE2B a50508f6ad5ffee797db4f74295ef7ffdfdb0024e9a9ca005398f5ccac83687f356743c80d8911ccf1ee9b343a285e4e6c72ce864fe639e3494ed54701a84e8b SHA512 db293f619df8ea3e43c209f5d32d649935f1efbc5763700369d5bd595866805a3e604930a3f70b6d43cbc4469c6d618f258b49cf4962f87c8b06447178ed1e7a
+DIST cinnamon-screensaver-5.4.4.tar.gz 154920 BLAKE2B bf955b686d7d1868e9cc2a8ca42c17d7420893c05e27de0b318ac3a00f43d96d0befb0b82868a230e279820389482dffddc0116be28bbab7984af78db30635a2 SHA512 24e413345bd8a8c0942bee4ff9378fc82d5a5a25b79fea4a5ddd018fad8276a079db78b1df94389b98c0673b9a2e3f943b947e6b9703ba6b0ef9343ab9c9c83b
diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-5.4.4.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-5.4.4.ebuild
new file mode 100644
index 000000000000..58a056892f28
--- /dev/null
+++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-5.4.4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{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/glib-2.37.3:2[dbus]
+ >=gnome-extra/cinnamon-desktop-5.4:0=
+ sys-apps/dbus
+ sys-libs/pam
+ >=x11-libs/gtk+-3.22:3[introspection]
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-misc/xdotool
+ 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.2[${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/
+}