1 |
commit: 836eb20048bb69aabac2b1d5a45519f134fab975 |
2 |
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 11 05:50:54 2018 +0000 |
4 |
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 11 05:50:54 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=836eb200 |
7 |
|
8 |
gnome-extra/gnome-shell-extensions: bump |
9 |
|
10 |
Package-Manager: Portage-2.3.36, Repoman-2.3.9 |
11 |
Manifest-Sign-Key: 0x7DF238CF0AA182E1 |
12 |
|
13 |
.../gnome-shell-extensions-3.26.2.ebuild | 76 ++++++++++++++++++++++ |
14 |
1 file changed, 76 insertions(+) |
15 |
|
16 |
diff --git a/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-3.26.2.ebuild b/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-3.26.2.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000..e8fdd259 |
19 |
--- /dev/null |
20 |
+++ b/gnome-extra/gnome-shell-extensions/gnome-shell-extensions-3.26.2.ebuild |
21 |
@@ -0,0 +1,76 @@ |
22 |
+# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=6 |
26 |
+inherit gnome2 readme.gentoo-r1 |
27 |
+ |
28 |
+DESCRIPTION="JavaScript extensions for GNOME Shell" |
29 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell/Extensions" |
30 |
+ |
31 |
+LICENSE="GPL-2" |
32 |
+SLOT="0" |
33 |
+IUSE="examples" |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+ |
36 |
+COMMON_DEPEND=" |
37 |
+ >=dev-libs/glib-2.26:2 |
38 |
+ >=gnome-base/libgtop-2.28.3[introspection] |
39 |
+ >=app-eselect/eselect-gnome-shell-extensions-20111211 |
40 |
+" |
41 |
+RDEPEND="${COMMON_DEPEND} |
42 |
+ >=dev-libs/gjs-1.29 |
43 |
+ dev-libs/gobject-introspection:= |
44 |
+ dev-libs/atk[introspection] |
45 |
+ gnome-base/gnome-menus:3[introspection] |
46 |
+ >=gnome-base/gnome-shell-3.14.2 |
47 |
+ media-libs/clutter:1.0[introspection] |
48 |
+ net-libs/telepathy-glib[introspection] |
49 |
+ x11-libs/gdk-pixbuf:2[introspection] |
50 |
+ x11-libs/gtk+:3[introspection] |
51 |
+ x11-libs/pango[introspection] |
52 |
+ x11-themes/adwaita-icon-theme |
53 |
+ x11-wm/mutter[introspection] |
54 |
+" |
55 |
+DEPEND="${COMMON_DEPEND} |
56 |
+ >=sys-devel/gettext-0.19.6 |
57 |
+ virtual/pkgconfig |
58 |
+" |
59 |
+# eautoreconf needs gnome-base/gnome-common |
60 |
+ |
61 |
+DISABLE_AUTOFORMATTING="yes" |
62 |
+DOC_CONTENTS="Installed extensions installed are initially disabled by default. |
63 |
+To change the system default and enable some extensions, you can use |
64 |
+# eselect gnome-shell-extensions |
65 |
+ |
66 |
+Alternatively, to enable/disable extensions on a per-user basis, |
67 |
+you can use the https://extensions.gnome.org/ web interface, the |
68 |
+gnome-extra/gnome-tweak-tool GUI, or modify the org.gnome.shell |
69 |
+enabled-extensions gsettings key from the command line or a script." |
70 |
+ |
71 |
+src_configure() { |
72 |
+ gnome2_src_configure --enable-extensions=all |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ gnome2_src_install |
77 |
+ |
78 |
+ local example="example@×××××××××××××××××××××××××××××××××××××.com" |
79 |
+ if use examples; then |
80 |
+ mv "${ED}usr/share/gnome-shell/extensions/${example}" \ |
81 |
+ "${ED}usr/share/doc/${PF}/" || die |
82 |
+ else |
83 |
+ rm -r "${ED}usr/share/gnome-shell/extensions/${example}" || die |
84 |
+ fi |
85 |
+ |
86 |
+ readme.gentoo_create_doc |
87 |
+} |
88 |
+ |
89 |
+pkg_postinst() { |
90 |
+ gnome2_pkg_postinst |
91 |
+ |
92 |
+ ebegin "Updating list of installed extensions" |
93 |
+ eselect gnome-shell-extensions update |
94 |
+ eend $? |
95 |
+ |
96 |
+ readme.gentoo_print_elog |
97 |
+} |