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