1 |
commit: 8b6824edda98005b7755573409d127ad5d5b0e4c |
2 |
Author: Adam Feldman <NP-Hardass <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 4 17:23:40 2020 +0000 |
4 |
Commit: Adam Feldman <np-hardass <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 20:32:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b6824ed |
7 |
|
8 |
mate-extra/mate-screensaver: Bump to 1.24.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Adam Feldman <NP-Hardass <AT> gentoo.org> |
12 |
|
13 |
mate-extra/mate-screensaver/Manifest | 1 + |
14 |
.../mate-screensaver-1.24.1.ebuild | 121 +++++++++++++++++++++ |
15 |
2 files changed, 122 insertions(+) |
16 |
|
17 |
diff --git a/mate-extra/mate-screensaver/Manifest b/mate-extra/mate-screensaver/Manifest |
18 |
index 1af2c5137fb..8c093767512 100644 |
19 |
--- a/mate-extra/mate-screensaver/Manifest |
20 |
+++ b/mate-extra/mate-screensaver/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST mate-screensaver-1.24.0.tar.xz 5075860 BLAKE2B f669cb9ce1c84cdd2dd84b1c88b668ad1910102ae5d9765117d313b6ece03e535b5fdaae600d8f3315346ac1109d1316e15c0dcac5bd4a637b682fa7b5d1e22b SHA512 8947b85ab8b006a1756649131a9184e4eb8f44c563f5a1b55840aa8280820713bca1ce46fece92b5ac44a73193bfe965e8ef0d17e8e403a751807ee72c674cc0 |
23 |
+DIST mate-screensaver-1.24.1.tar.xz 5073836 BLAKE2B 501c8dffbb5e53b88414c799a6e4d25cf89dfe490e6a902901c339b142e2b687dc2e668f65349a2ff43b6eb44d7721658de771b1a698624f95d1828da2fbda67 SHA512 f7cab280da90623ad265beb84770e48431ae6685fbb1eabc7cd2ad07b0f8ed5da2426017243d83271b969d2e020b8afcc93a6135b4c8e42a29f454a4e826b277 |
24 |
|
25 |
diff --git a/mate-extra/mate-screensaver/mate-screensaver-1.24.1.ebuild b/mate-extra/mate-screensaver/mate-screensaver-1.24.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..485f4ee1e39 |
28 |
--- /dev/null |
29 |
+++ b/mate-extra/mate-screensaver/mate-screensaver-1.24.1.ebuild |
30 |
@@ -0,0 +1,121 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit mate readme.gentoo-r1 |
37 |
+ |
38 |
+if [[ ${PV} != 9999 ]]; then |
39 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
40 |
+fi |
41 |
+ |
42 |
+DESCRIPTION="Replaces xscreensaver, integrating with the MATE desktop" |
43 |
+ |
44 |
+LICENSE="GPL-2+ HPND LGPL-2+" |
45 |
+SLOT="0" |
46 |
+IUSE="X debug consolekit elogind kernel_linux libnotify opengl pam systemd" |
47 |
+REQUIRED_USE="?? ( elogind systemd )" |
48 |
+ |
49 |
+COMMON_DEPEND=" |
50 |
+ >=dev-libs/dbus-glib-0.71:0 |
51 |
+ >=dev-libs/glib-2.50:2 |
52 |
+ gnome-base/dconf |
53 |
+ >=mate-base/libmatekbd-1.17.0 |
54 |
+ >=mate-base/mate-desktop-1.17.0 |
55 |
+ >=mate-base/mate-menus-1.21.0 |
56 |
+ >=sys-apps/dbus-0.30 |
57 |
+ >=x11-libs/gdk-pixbuf-2.14:2 |
58 |
+ >=x11-libs/libX11-1 |
59 |
+ x11-libs/cairo |
60 |
+ >=x11-libs/gtk+-3.22:3 |
61 |
+ x11-libs/libXext |
62 |
+ x11-libs/libXrandr |
63 |
+ x11-libs/libXScrnSaver |
64 |
+ x11-libs/libXxf86vm |
65 |
+ x11-libs/libxklavier |
66 |
+ x11-libs/pango |
67 |
+ consolekit? ( sys-auth/consolekit ) |
68 |
+ libnotify? ( >=x11-libs/libnotify-0.7:0 ) |
69 |
+ opengl? ( virtual/opengl ) |
70 |
+ pam? ( gnome-base/gnome-keyring sys-libs/pam ) |
71 |
+ !pam? ( kernel_linux? ( sys-apps/shadow ) ) |
72 |
+ elogind? ( sys-auth/elogind ) |
73 |
+ systemd? ( sys-apps/systemd:= ) |
74 |
+" |
75 |
+ |
76 |
+RDEPEND="${COMMON_DEPEND} |
77 |
+ >=mate-base/mate-session-manager-1.6 |
78 |
+ virtual/libintl |
79 |
+ !!<gnome-extra/gnome-screensaver-3 |
80 |
+" |
81 |
+ |
82 |
+DEPEND="${COMMON_DEPEND} |
83 |
+ dev-libs/libxml2 |
84 |
+ >=sys-devel/gettext-0.19.8:* |
85 |
+ x11-base/xorg-proto |
86 |
+ virtual/pkgconfig:* |
87 |
+" |
88 |
+ |
89 |
+DOC_CONTENTS=" |
90 |
+ Information for converting screensavers is located in |
91 |
+ /usr/share/doc/${PF}/xss-conversion.txt* |
92 |
+" |
93 |
+ |
94 |
+src_configure() { |
95 |
+ local myconf=( |
96 |
+ --enable-locking |
97 |
+ --with-kbd-layout-indicator |
98 |
+ --with-xf86gamma-ext |
99 |
+ --with-xscreensaverdir=/usr/share/xscreensaver/config |
100 |
+ --with-xscreensaverhackdir=/usr/$(get_libdir)/misc/xscreensaver |
101 |
+ $(use_with X x) |
102 |
+ $(use_with consolekit console-kit) |
103 |
+ $(use_with elogind) |
104 |
+ $(use_with libnotify) |
105 |
+ $(use_with opengl libgl) |
106 |
+ $(use_with systemd) |
107 |
+ $(use_enable debug) |
108 |
+ $(use_enable pam) |
109 |
+ ) |
110 |
+ |
111 |
+ mate_src_configure "${myconf[@]}" |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ mate_src_install |
116 |
+ |
117 |
+ # Install the conversion script in the documentation. |
118 |
+ dodoc "${S}"/data/migrate-xscreensaver-config.sh |
119 |
+ dodoc "${S}"/data/xscreensaver-config.xsl |
120 |
+ dodoc "${FILESDIR}"/xss-conversion.txt |
121 |
+ |
122 |
+ # Non PAM users will need this suid to read the password hashes. |
123 |
+ # OpenPAM users will probably need this too when |
124 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=370847 |
125 |
+ # is fixed. |
126 |
+ if ! use pam ; then |
127 |
+ fperms u+s /usr/libexec/mate-screensaver-dialog |
128 |
+ fi |
129 |
+ |
130 |
+ readme.gentoo_create_doc |
131 |
+} |
132 |
+ |
133 |
+pkg_postinst() { |
134 |
+ mate_pkg_postinst |
135 |
+ |
136 |
+ if has_version "<x11-base/xorg-server-1.5.3-r4" ; then |
137 |
+ ewarn "You have a too old xorg-server installation. This will cause" |
138 |
+ ewarn "mate-screensaver to eat up your CPU. Please consider upgrading." |
139 |
+ echo |
140 |
+ fi |
141 |
+ |
142 |
+ if has_version "<x11-misc/xscreensaver-4.22-r2" ; then |
143 |
+ ewarn "You have xscreensaver installed, you probably want to disable it." |
144 |
+ ewarn "To prevent a duplicate screensaver entry in the menu, you need to" |
145 |
+ ewarn "build xscreensaver with -gnome in the USE flags." |
146 |
+ ewarn "echo \"x11-misc/xscreensaver -gnome\" >> /etc/portage/package.use" |
147 |
+ echo |
148 |
+ fi |
149 |
+ |
150 |
+ readme.gentoo_print_elog |
151 |
+} |