summaryrefslogtreecommitdiff
path: root/mate-extra/mate-screensaver
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-30 17:27:54 +0100
commitf70a1bfc721336d4fc7dfb711c2f518a6b18cf16 (patch)
treee907cb121b30e3c1df1710719c0ddf4029597a47 /mate-extra/mate-screensaver
parentdb063b515939ab15261136b24e4bc44386335c0c (diff)
gentoo resync : 30.09.2020
Diffstat (limited to 'mate-extra/mate-screensaver')
-rw-r--r--mate-extra/mate-screensaver/Manifest2
-rw-r--r--mate-extra/mate-screensaver/mate-screensaver-1.24.1.ebuild121
2 files changed, 123 insertions, 0 deletions
diff --git a/mate-extra/mate-screensaver/Manifest b/mate-extra/mate-screensaver/Manifest
index 4c7056ae8455..9944a9339387 100644
--- a/mate-extra/mate-screensaver/Manifest
+++ b/mate-extra/mate-screensaver/Manifest
@@ -1,4 +1,6 @@
AUX xss-conversion.txt 1026 BLAKE2B 4675ecb7d7ce45b28183ff503739b5d3853e8a68adfb8e4bf92274944c034d4f043c8854cc54a801ad72160bf452c645dfc5a0d35a71b967c9094f2a8464e59a SHA512 149d28bf7ff9dffe75f0a59408d91eff6537ec27a9457bf2419efe78e9b39a11796b341176e6ba4b1a183cc3ead080abe0ba85f51a3d57b0ff54dae8a3ec312a
DIST mate-screensaver-1.24.0.tar.xz 5075860 BLAKE2B f669cb9ce1c84cdd2dd84b1c88b668ad1910102ae5d9765117d313b6ece03e535b5fdaae600d8f3315346ac1109d1316e15c0dcac5bd4a637b682fa7b5d1e22b SHA512 8947b85ab8b006a1756649131a9184e4eb8f44c563f5a1b55840aa8280820713bca1ce46fece92b5ac44a73193bfe965e8ef0d17e8e403a751807ee72c674cc0
+DIST mate-screensaver-1.24.1.tar.xz 5073836 BLAKE2B 501c8dffbb5e53b88414c799a6e4d25cf89dfe490e6a902901c339b142e2b687dc2e668f65349a2ff43b6eb44d7721658de771b1a698624f95d1828da2fbda67 SHA512 f7cab280da90623ad265beb84770e48431ae6685fbb1eabc7cd2ad07b0f8ed5da2426017243d83271b969d2e020b8afcc93a6135b4c8e42a29f454a4e826b277
EBUILD mate-screensaver-1.24.0.ebuild 3080 BLAKE2B 9a7966ce3094c466b4c863167d3f7a50ec44d1674e5c806ec9b84fdb3e1deb11cdc91ddfa0ebe0202bcdfba91e9d29e584ddee11d29554c15d84d69311419f73 SHA512 7ae2ff9ba2e8b08e5fa8b262f24514ae638bf6f65cf3c8f40e142b11b5dac241523ec0851c2130cc18c551ddecb16dd4f3beaaf0599bb108534f2a26541dd3c8
+EBUILD mate-screensaver-1.24.1.ebuild 3082 BLAKE2B 4060cf692693cc4d2538eb7731b54a16d02cc7934a135cfeda31e2d71d8d0c9cf30903a9638bda57fe4418596c452a30494410e13dd92628828c49050151c37b SHA512 027c56f31fec71e0b4540c35735e0f46f678ca8f391855b80d64184880cdf3069cafc8f5c3de1477ee0f88dc6477f79890c4109cf4c29c26d2c962abd66ac8c2
MISC metadata.xml 447 BLAKE2B febc277d7b427ae9a48c3c6e318b779f8a3fb9e27f896b17a3ebafec9bc8b03c4af3f30de7881fcc7feff674fdc0106d0b46f91d72d7267d4c4eeffb1dbe341a SHA512 29d7b99ddd69b2503d91f185679e1811403ba34443e20e2b17782878ee509565dcd62c2e3339709b3d29f568168c9c5c5a9284823d0187392220e781792b73e8
diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.24.1.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.24.1.ebuild
new file mode 100644
index 000000000000..485f4ee1e39c
--- /dev/null
+++ b/mate-extra/mate-screensaver/mate-screensaver-1.24.1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit mate readme.gentoo-r1
+
+if [[ ${PV} != 9999 ]]; then
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop"
+
+LICENSE="GPL-2+ HPND LGPL-2+"
+SLOT="0"
+IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd"
+REQUIRED_USE="?? ( elogind systemd )"
+
+COMMON_DEPEND="
+ >=dev-libs/dbus-glib-0.71:0
+ >=dev-libs/glib-2.50:2
+ gnome-base/dconf
+ >=mate-base/libmatekbd-1.17.0
+ >=mate-base/mate-desktop-1.17.0
+ >=mate-base/mate-menus-1.21.0
+ >=sys-apps/dbus-0.30
+ >=x11-libs/gdk-pixbuf-2.14:2
+ >=x11-libs/libX11-1
+ x11-libs/cairo
+ >=x11-libs/gtk+-3.22:3
+ x11-libs/libXext
+ x11-libs/libXrandr
+ x11-libs/libXScrnSaver
+ x11-libs/libXxf86vm
+ x11-libs/libxklavier
+ x11-libs/pango
+ consolekit? ( sys-auth/consolekit )
+ libnotify? ( >=x11-libs/libnotify-0.7:0 )
+ opengl? ( virtual/opengl )
+ pam? ( gnome-base/gnome-keyring sys-libs/pam )
+ !pam? ( kernel_linux? ( sys-apps/shadow ) )
+ elogind? ( sys-auth/elogind )
+ systemd? ( sys-apps/systemd:= )
+"
+
+RDEPEND="${COMMON_DEPEND}
+ >=mate-base/mate-session-manager-1.6
+ virtual/libintl
+ !!<gnome-extra/gnome-screensaver-3
+"
+
+DEPEND="${COMMON_DEPEND}
+ dev-libs/libxml2
+ >=sys-devel/gettext-0.19.8:*
+ x11-base/xorg-proto
+ virtual/pkgconfig:*
+"
+
+DOC_CONTENTS="
+ Information for converting screensavers is located in
+ /usr/share/doc/${PF}/xss-conversion.txt*
+"
+
+src_configure() {
+ local myconf=(
+ --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 elogind)
+ $(use_with libnotify)
+ $(use_with opengl libgl)
+ $(use_with systemd)
+ $(use_enable debug)
+ $(use_enable pam)
+ )
+
+ mate_src_configure "${myconf[@]}"
+}
+
+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
+ # https://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
+}