summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-07-04 19:20:22 +0000
committerPacho Ramos <pacho@gentoo.org>2015-07-04 19:20:22 +0000
commit866088e42a0c06abc0bedb9a1bb8b5fbbaa296c1 (patch)
tree6648b409b71e1c3256e9cc7ea849a799ca3b4909 /gnome-extra
parentVersion bump (diff)
downloadgentoo-2-866088e42a0c06abc0bedb9a1bb8b5fbbaa296c1.tar.gz
gentoo-2-866088e42a0c06abc0bedb9a1bb8b5fbbaa296c1.tar.bz2
gentoo-2-866088e42a0c06abc0bedb9a1bb8b5fbbaa296c1.zip
Version bump, drop old
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/cinnamon-screensaver/ChangeLog8
-rw-r--r--gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.4.ebuild (renamed from gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.4.1.ebuild)44
2 files changed, 41 insertions, 11 deletions
diff --git a/gnome-extra/cinnamon-screensaver/ChangeLog b/gnome-extra/cinnamon-screensaver/ChangeLog
index 1a73e64e7346..c3b76b42befe 100644
--- a/gnome-extra/cinnamon-screensaver/ChangeLog
+++ b/gnome-extra/cinnamon-screensaver/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for gnome-extra/cinnamon-screensaver
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-screensaver/ChangeLog,v 1.16 2015/06/26 09:22:17 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-screensaver/ChangeLog,v 1.17 2015/07/04 19:20:22 pacho Exp $
+
+*cinnamon-screensaver-2.6.4 (04 Jul 2015)
+
+ 04 Jul 2015; Pacho Ramos <pacho@gentoo.org>
+ +cinnamon-screensaver-2.6.4.ebuild, -cinnamon-screensaver-2.4.1.ebuild:
+ Version bump, drop old
26 Jun 2015; Agostino Sarubbo <ago@gentoo.org>
cinnamon-screensaver-2.4.2.ebuild:
diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.4.1.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.4.ebuild
index b2527e2f0017..a32a26c8bfb6 100644
--- a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.4.1.ebuild
+++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.4.ebuild
@@ -1,11 +1,12 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.4.1.ebuild,v 1.3 2015/03/15 13:24:20 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-2.6.4.ebuild,v 1.1 2015/07/04 19:20:22 pacho Exp $
EAPI="5"
GCONF_DEBUG="yes"
+PYTHON_COMPAT=( python2_7 )
-inherit autotools eutils gnome2
+inherit autotools eutils gnome2 multilib python-single-r1
DESCRIPTION="Screensaver for Cinnamon"
HOMEPAGE="http://cinnamon.linuxmint.com/"
@@ -14,15 +15,17 @@ SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz
LICENSE="GPL-2+"
SLOT="0"
IUSE="doc pam systemd"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="
- >=dev-libs/glib-2.25.6:2
- >=x11-libs/gtk+-2.99.3:3
- >=gnome-extra/cinnamon-desktop-2.4:0=
+ >=dev-libs/glib-2.37.3:2[dbus]
+ >=x11-libs/gtk+-3.1.4:3[introspection]
+ >=gnome-extra/cinnamon-desktop-2.6.3:0=[systemd=]
>=gnome-base/gsettings-desktop-schemas-0.1.7
>=gnome-base/libgnomekbd-3.6
- >=dev-libs/dbus-glib-0.71
+ >=dev-libs/dbus-glib-0.78
+
+ net-libs/webkit-gtk:3[introspection]
sys-apps/dbus
x11-libs/libxklavier
@@ -34,6 +37,8 @@ COMMON_DEPEND="
x11-libs/libXxf86vm
x11-themes/gnome-icon-theme-symbolic
+ ${PYTHON_DEPS}
+
pam? ( virtual/pam )
systemd? ( >=sys-apps/systemd-31:0= )
"
@@ -41,6 +46,8 @@ COMMON_DEPEND="
RDEPEND="
!~gnome-extra/cinnamon-1.8.8.1
!systemd? ( sys-auth/consolekit )
+
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
"
DEPEND="${COMMON_DEPEND}
>=dev-util/intltool-0.35
@@ -57,9 +64,18 @@ DEPEND="${COMMON_DEPEND}
app-text/docbook-xml-dtd:4.4 )
"
+pkg_setup() {
+ python_setup
+}
+
src_prepare() {
- # https://github.com/linuxmint/cinnamon-screensaver/issues/80
- sed -i -e 's/X-Cinnamon/X-Cinnamon;/' src/cinnamon-screensaver.desktop.in.in || die
+ epatch "${FILESDIR}"/${PN}-2.6.3-automagic-logind.patch
+
+ # Fix xscreensaver paths for gentoo
+ sed -e "s#/usr/lib/xscreensaver/#${EPREFIX}/usr$(get_libdir)/misc/xscreensaver/#" \
+ -i data/screensavers/xscreensaver@cinnamon.org/main || die
+
+ python_fix_shebang data/screensavers
epatch_user
eautoreconf
@@ -71,7 +87,7 @@ src_configure() {
gnome2_src_configure \
$(use_enable doc docbook-docs) \
$(use_enable pam locking) \
- $(use_with systemd) \
+ $(use_enable systemd logind) \
--with-mit-ext \
--with-pam-prefix=/etc \
--with-xf86gamma-ext \
@@ -80,3 +96,11 @@ src_configure() {
# 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
+}