diff options
Diffstat (limited to 'gnome-extra/cinnamon-screensaver/cinnamon-screensaver-4.4.1.ebuild')
-rw-r--r-- | gnome-extra/cinnamon-screensaver/cinnamon-screensaver-4.4.1.ebuild | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-4.4.1.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-4.4.1.ebuild new file mode 100644 index 000000000000..d5eb0b7997af --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-4.4.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit autotools gnome2 python-single-r1 + +DESCRIPTION="Screensaver for Cinnamon" +HOMEPAGE="https://projects.linuxmint.com/cinnamon/" +SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="debug systemd xinerama" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND=" + >=dev-libs/glib-2.37.3:2[dbus] + >=x11-libs/gtk+-3.1.4:3[introspection] + >=gnome-extra/cinnamon-desktop-4.4:0= + >=gnome-base/gsettings-desktop-schemas-0.1.7 + >=dev-libs/dbus-glib-0.78 + + sys-apps/dbus + sys-libs/pam + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-themes/adwaita-icon-theme + + ${PYTHON_DEPS} + + xinerama? ( x11-libs/libXinerama ) +" + +RDEPEND="${COMMON_DEPEND} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] + dev-python/xapp[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ') + systemd? ( >=sys-apps/systemd-31 ) + !systemd? ( sys-auth/elogind ) +" +DEPEND="${COMMON_DEPEND} + dev-util/gdbus-codegen + >=dev-util/intltool-0.40 + sys-devel/gettext + virtual/pkgconfig + x11-base/xorg-proto +" + +src_prepare() { + python_fix_shebang src + + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(usex debug --enable-debug ' ') \ + $(use_enable xinerama) +} |