1 |
commit: 0161e52577c0d12c50854c6e2441f2d7ebd7a4e5 |
2 |
Author: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 28 19:51:48 2017 +0000 |
4 |
Commit: Kristian Fiskerstrand <k_f <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 28 19:52:06 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0161e525 |
7 |
|
8 |
gnome-extra/cinnamon-screensaver: Add xinerama use flag |
9 |
|
10 |
Thanks-To: cronolio |
11 |
Bug: https://bugs.gentoo.org/636924 |
12 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
13 |
|
14 |
.../cinnamon-screensaver-3.6.1-r1.ebuild | 93 ++++++++++++++++++++++ |
15 |
1 file changed, 93 insertions(+) |
16 |
|
17 |
diff --git a/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-3.6.1-r1.ebuild b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-3.6.1-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..57085c813e0 |
20 |
--- /dev/null |
21 |
+++ b/gnome-extra/cinnamon-screensaver/cinnamon-screensaver-3.6.1-r1.ebuild |
22 |
@@ -0,0 +1,93 @@ |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+PYTHON_COMPAT=( python3_{4,5,6} ) |
28 |
+ |
29 |
+inherit autotools gnome2 multilib python-single-r1 |
30 |
+ |
31 |
+DESCRIPTION="Screensaver for Cinnamon" |
32 |
+HOMEPAGE="http://cinnamon.linuxmint.com/" |
33 |
+SRC_URI="https://github.com/linuxmint/cinnamon-screensaver/archive/${PV}.tar.gz -> ${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="GPL-2+" |
36 |
+SLOT="0" |
37 |
+IUSE="debug doc pam systemd xinerama" |
38 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
39 |
+KEYWORDS="~amd64 ~x86" |
40 |
+ |
41 |
+COMMON_DEPEND=" |
42 |
+ >=dev-libs/glib-2.37.3:2[dbus] |
43 |
+ >=x11-libs/gtk+-3.1.4:3[introspection] |
44 |
+ >=gnome-extra/cinnamon-desktop-2.6.3:0=[systemd=] |
45 |
+ >=gnome-base/gsettings-desktop-schemas-0.1.7 |
46 |
+ >=gnome-base/libgnomekbd-3.6 |
47 |
+ >=dev-libs/dbus-glib-0.78 |
48 |
+ |
49 |
+ net-libs/webkit-gtk:4[introspection] |
50 |
+ |
51 |
+ sys-apps/dbus |
52 |
+ x11-libs/libxklavier |
53 |
+ x11-libs/libX11 |
54 |
+ x11-libs/libXext |
55 |
+ x11-libs/libXrandr |
56 |
+ x11-libs/libXScrnSaver |
57 |
+ x11-libs/libXxf86misc |
58 |
+ x11-libs/libXxf86vm |
59 |
+ x11-themes/adwaita-icon-theme |
60 |
+ |
61 |
+ !systemd? ( sys-auth/elogind ) |
62 |
+ |
63 |
+ ${PYTHON_DEPS} |
64 |
+ |
65 |
+ pam? ( virtual/pam ) |
66 |
+ systemd? ( >=sys-apps/systemd-31:0= ) |
67 |
+ xinerama? ( x11-libs/libXinerama ) |
68 |
+" |
69 |
+# our cinnamon-1.8 ebuilds installed a cinnamon-screensaver.desktop hack |
70 |
+RDEPEND="${COMMON_DEPEND} |
71 |
+ !~gnome-extra/cinnamon-1.8.8.1 |
72 |
+ dev-python/pygobject:3[${PYTHON_USEDEP}] |
73 |
+ dev-python/setproctitle[${PYTHON_USEDEP}] |
74 |
+ dev-python/xapp[${PYTHON_USEDEP}] |
75 |
+ dev-python/psutil[${PYTHON_USEDEP}] |
76 |
+" |
77 |
+DEPEND="${COMMON_DEPEND} |
78 |
+ >=dev-util/intltool-0.35 |
79 |
+ gnome-base/gnome-common |
80 |
+ sys-devel/gettext |
81 |
+ virtual/pkgconfig |
82 |
+ x11-proto/xextproto |
83 |
+ x11-proto/randrproto |
84 |
+ x11-proto/scrnsaverproto |
85 |
+ x11-proto/xf86miscproto |
86 |
+ doc? ( |
87 |
+ app-text/xmlto |
88 |
+ app-text/docbook-xml-dtd:4.1.2 |
89 |
+ app-text/docbook-xml-dtd:4.4 ) |
90 |
+" |
91 |
+ |
92 |
+pkg_setup() { |
93 |
+ python_setup |
94 |
+} |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ python_fix_shebang screensavers |
98 |
+ eautoreconf |
99 |
+ gnome2_src_prepare |
100 |
+} |
101 |
+ |
102 |
+src_configure() { |
103 |
+ gnome2_src_configure \ |
104 |
+ $(usex debug --enable-debug ' ') \ |
105 |
+ $(use_enable xinerama) |
106 |
+} |
107 |
+ |
108 |
+pkg_postinst() { |
109 |
+ gnome2_pkg_postinst |
110 |
+ |
111 |
+ if ! has_version x11-misc/xscreensaver; then |
112 |
+ elog "${PN} can use screensavers from x11-misc/xscreensaver" |
113 |
+ fi |
114 |
+ |
115 |
+} |