From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E71AA139083 for ; Sat, 11 Feb 2017 15:59:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F899E0D07; Sat, 11 Feb 2017 15:59:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 10371E0D07 for ; Sat, 11 Feb 2017 15:59:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E4CF33BF43 for ; Sat, 11 Feb 2017 15:59:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1981B4410 for ; Sat, 11 Feb 2017 15:59:08 +0000 (UTC) From: "Kristian Fiskerstrand" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kristian Fiskerstrand" Message-ID: <1486828731.f06b9e2b58acb9ede492554c6274fae5584b0fbc.k_f@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/cinnamon-screensaver/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/cinnamon-screensaver/cinnamon-screensaver-3.2.13-r2.ebuild X-VCS-Directories: gnome-extra/cinnamon-screensaver/ X-VCS-Committer: k_f X-VCS-Committer-Name: Kristian Fiskerstrand X-VCS-Revision: f06b9e2b58acb9ede492554c6274fae5584b0fbc X-VCS-Branch: master Date: Sat, 11 Feb 2017 15:59:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ccc512fa-c508-4555-8c9d-b5d1879fadb5 X-Archives-Hash: 0a436314362a6343018bb6cd6b26a7c7 commit: f06b9e2b58acb9ede492554c6274fae5584b0fbc Author: Kristian Fiskerstrand gentoo org> AuthorDate: Sat Feb 11 15:57:52 2017 +0000 Commit: Kristian Fiskerstrand gentoo org> CommitDate: Sat Feb 11 15:58:51 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f06b9e2b gnome-extra/cinnamon-screensaver: Fix dep for xapps Require introspection use flag Gentoo-Bug: 606080 Package-Manager: portage-2.3.3 .../cinnamon-screensaver-3.2.13-r2.ebuild | 92 ++++++++++++++++++++++ 1 file changed, 92 insertions(+) diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-3.2.13-r2.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-3.2.13-r2.ebuild new file mode 100644 index 0000000000..f09589c9f7 --- /dev/null +++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-3.2.13-r2.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python3_4 ) + +inherit autotools gnome2 multilib python-single-r1 + +DESCRIPTION="Screensaver for Cinnamon" +HOMEPAGE="http://cinnamon.linuxmint.com/" +SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +IUSE="debug doc pam systemd" +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-3.2.2:0=[systemd=] + >=gnome-base/gsettings-desktop-schemas-0.1.7 + >=gnome-base/libgnomekbd-3.6 + >=dev-libs/dbus-glib-0.78 + + net-libs/webkit-gtk:4[introspection] + + sys-apps/dbus + x11-libs/libxklavier + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrandr + x11-libs/libXScrnSaver + x11-libs/libXxf86misc + x11-libs/libXxf86vm + x11-themes/adwaita-icon-theme + x11-libs/xapps[introspection] + + ${PYTHON_DEPS} + + pam? ( virtual/pam ) + systemd? ( >=sys-apps/systemd-31:0= ) +" +# our cinnamon-1.8 ebuilds installed a cinnamon-screensaver.desktop hack +RDEPEND=" + !~gnome-extra/cinnamon-1.8.8.1 + !systemd? ( sys-auth/consolekit ) + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/setproctitle[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND} + >=dev-util/intltool-0.35 + gnome-base/gnome-common + sys-devel/gettext + virtual/pkgconfig + x11-proto/xextproto + x11-proto/randrproto + x11-proto/scrnsaverproto + x11-proto/xf86miscproto + doc? ( + app-text/xmlto + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.4 ) +" + +pkg_setup() { + python_setup +} + +src_prepare() { + python_fix_shebang screensavers + eautoreconf + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(usex debug --enable-debug ' ') \ + # Do not use --without-console-kit, it would provide no benefit: there is + # no build-time or run-time check for consolekit, $PN merely listens to + # consolekit's messages over dbus. +} + +pkg_postinst() { + gnome2_pkg_postinst + + if ! has_version x11-misc/xscreensaver; then + elog "${PN} can use screensavers from x11-misc/xscreensaver" + fi + +}