commit:     14924522681594cdb93d860e8581f641e2241042
Author:     Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 17:02:43 2017 +0000
Commit:     Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
CommitDate: Wed Mar 15 17:02:43 2017 +0000
URL:        https://gitweb.gentoo.org/proj/gentoo-mate.git/commit/?id=14924522

mate-extra/mate-screensaver: Version bump to 1.18.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 mate-extra/mate-screensaver/Manifest               |   1 +
 .../mate-screensaver-1.18.0.ebuild                 | 116 +++++++++++++++++++++
 2 files changed, 117 insertions(+)

diff --git a/mate-extra/mate-screensaver/Manifest 
b/mate-extra/mate-screensaver/Manifest
index f661ce2..f7ca642 100644
--- a/mate-extra/mate-screensaver/Manifest
+++ b/mate-extra/mate-screensaver/Manifest
@@ -1,3 +1,4 @@
 DIST mate-screensaver-1.12.0.tar.xz 4868924 SHA256 
198cb5159bd6321c90e0069115909be52eb4382de25cb9c4ba33fa29e3fdc693 SHA512 
01bdef496560eb8e9118b0ff66863568aaa6df872e7947d0a92fe9fcb1d305618b28928ea95c65a3367e3e4e79e9bdab7a8266287c8e3db2a5210b955d412c8d
 WHIRLPOOL 
2cf7db69a1609cd785eef50c070743722cd190633a3b34b4cc87c11aa46164106a785dd027e728121e18a671c1b36cd5d20d30f232011a1ac6a4ff5f37953dc4
 DIST mate-screensaver-1.14.1.tar.xz 4912772 SHA256 
e903932d9e3b01b527abf8b4957d68797afd1b6b035854bcbbd5e4e6934da5c6 SHA512 
28b5834450da9d7d2fd3a77504f244e69212e751435bd41a957f30a5231db312dba37ee39442c63a40098bb3d1e1fade81ea423f9d59b29fc5d1201522d1d8f8
 WHIRLPOOL 
c39b1f2ee9bb3082a038c765c9c007c500470ab4c73d5221d3d5e49de9c54fa950e9eeabec9f02f4791f7ade984076574ad8c25357af43bf5ff39d3623cff74b
 DIST mate-screensaver-1.16.0.tar.xz 4918240 SHA256 
fda3051346f4d23b383142fe5a86abb7e745c4a3fbcd9ac0c449fbc8a1cb5aa5 SHA512 
e25d654ce4090108a0d1c38c3a7d7315c3c3b6226f694ad1833c6d2d26c6682bf52450809b33c75b1276c3ad6cbfe709df44556cdc9a0c2e7faa66373efcdc9d
 WHIRLPOOL 
6a6c43d6f628f566d90288b065d89980a9173395e14914962b60445f21d8161297de595ac5af8650ccf3dcfb21a44fcd13c928eb48826149aba4ad5f417e28b1
+DIST mate-screensaver-1.18.0.tar.xz 4920204 SHA256 
d5b5bbadb3ac4917b920f500f0d19f803565b2f209652851c2e7a615ecb7c0d5 SHA512 
877a1acb333b07d4467418ce6489ec5c70ca802513965213c881ce282d87984606303df70d135be59f47a17055e5123b4fa97063e3ba858a31368cda865bb43a
 WHIRLPOOL 
3da55606ad79fcf4f852d2ba526e8b288544b8fb4aafddd3f91761f929f0bedcb47e87038de97ab1c1c7178450317776d2a3307bf4d1c730dbf928091ec2b66a

diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.18.0.ebuild 
b/mate-extra/mate-screensaver/mate-screensaver-1.18.0.ebuild
new file mode 100644
index 0000000..284f936
--- /dev/null
+++ b/mate-extra/mate-screensaver/mate-screensaver-1.18.0.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit mate multilib readme.gentoo-r1
+
+if [[ ${PV} != 9999 ]]; then
+       KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
+LICENSE="GPL-2"
+SLOT="0"
+
+IUSE="X debug consolekit kernel_linux libnotify opengl pam systemd"
+
+DOC_CONTENTS="
+       Information for converting screensavers is located in
+       /usr/share/doc/${PF}/xss-conversion.txt*
+"
+
+COMMON_DEPEND="
+       >=dev-libs/dbus-glib-0.71:0
+       >=dev-libs/glib-2.36:2
+       gnome-base/dconf:0
+       >=mate-base/libmatekbd-1.17.0
+       >=mate-base/mate-desktop-1.17.0
+       >=mate-base/mate-menus-1.10.0
+       >=sys-apps/dbus-0.30:0
+       >=x11-libs/gdk-pixbuf-2.14:2
+       >=x11-libs/libX11-1:0
+       x11-libs/cairo:0
+       >=x11-libs/gtk+-3.14:3
+       x11-libs/libXext:0
+       x11-libs/libXrandr:0
+       x11-libs/libXScrnSaver:0
+       x11-libs/libXxf86misc:0
+       x11-libs/libXxf86vm:0
+       x11-libs/libxklavier:0
+       x11-libs/pango:0
+       virtual/libintl:0
+       consolekit? ( sys-auth/consolekit:0 )
+       libnotify? ( >=x11-libs/libnotify-0.7:0 )
+       opengl? ( virtual/opengl:0 )
+       pam? ( gnome-base/gnome-keyring:0 virtual/pam:0 )
+       !pam? ( kernel_linux? ( sys-apps/shadow:0 ) )
+       systemd? ( sys-apps/systemd:0= )
+       !!<gnome-extra/gnome-screensaver-3:0"
+
+RDEPEND="${COMMON_DEPEND}
+       >=mate-base/mate-session-manager-1.6"
+
+DEPEND="${COMMON_DEPEND}
+       >=dev-util/intltool-0.50.1:*
+       sys-devel/gettext:*
+       x11-proto/randrproto:0
+       x11-proto/scrnsaverproto:0
+       x11-proto/xextproto:0
+       x11-proto/xf86miscproto:0
+       virtual/pkgconfig:*"
+
+src_configure() {
+       mate_src_configure \
+               --enable-locking \
+               --with-kbd-layout-indicator \
+               --with-xf86gamma-ext \
+               --with-xscreensaverdir=/usr/share/xscreensaver/config \
+               --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver 
\
+               $(use_with X x) \
+               $(use_with consolekit console-kit) \
+               $(use_with libnotify) \
+               $(use_with opengl libgl) \
+               $(use_with systemd) \
+               $(use_enable debug) \
+               $(use_enable pam)
+}
+
+src_install() {
+       mate_src_install
+
+       # Install the conversion script in the documentation.
+       dodoc "${S}"/data/migrate-xscreensaver-config.sh
+       dodoc "${S}"/data/xscreensaver-config.xsl
+       dodoc "${FILESDIR}"/xss-conversion.txt
+
+       # Non PAM users will need this suid to read the password hashes.
+       # OpenPAM users will probably need this too when
+       # http://bugzilla.gnome.org/show_bug.cgi?id=370847
+       # is fixed.
+       if ! use pam ; then
+               fperms u+s /usr/libexec/mate-screensaver-dialog
+       fi
+
+       readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+       mate_pkg_postinst
+
+       if has_version "<x11-base/xorg-server-1.5.3-r4" ; then
+               ewarn "You have a too old xorg-server installation. This will 
cause"
+               ewarn "mate-screensaver to eat up your CPU. Please consider 
upgrading."
+               echo
+       fi
+
+       if has_version "<x11-misc/xscreensaver-4.22-r2" ; then
+               ewarn "You have xscreensaver installed, you probably want to 
disable it."
+               ewarn "To prevent a duplicate screensaver entry in the menu, 
you need to"
+               ewarn "build xscreensaver with -gnome in the USE flags."
+               ewarn "echo \"x11-misc/xscreensaver -gnome\" >> 
/etc/portage/package.use"
+               echo
+       fi
+
+       readme.gentoo_print_elog
+}

Reply via email to