1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 inherit gnome2 readme.gentoo
10 DESCRIPTION="JavaScript extensions for GNOME Shell"
11 HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShell/Extensions"
16 KEYWORDS="~amd64 ~x86"
19 >=dev-libs/glib-2.26:2
20 >=gnome-base/libgtop-2.28.3[introspection]
21 >=app-eselect/eselect-gnome-shell-extensions-20111211
23 RDEPEND="${COMMON_DEPEND}
25 dev-libs/gobject-introspection:=
26 dev-libs/atk[introspection]
27 gnome-base/gnome-menus:3[introspection]
28 >=gnome-base/gnome-shell-3.14.2
29 media-libs/clutter:1.0[introspection]
30 net-libs/telepathy-glib[introspection]
31 x11-libs/gdk-pixbuf:2[introspection]
32 x11-libs/gtk+:3[introspection]
33 x11-libs/pango[introspection]
34 x11-themes/gnome-icon-theme-symbolic
36 DEPEND="${COMMON_DEPEND}
37 >=dev-util/intltool-0.50
41 # eautoreconf needs gnome-base/gnome-common
43 DISABLE_AUTOFORMATTING="yes"
44 DOC_CONTENTS="Installed extensions installed are initially disabled by default.
45 To change the system default and enable some extensions, you can use
46 # eselect gnome-shell-extensions
48 Alternatively, to enable/disable extensions on a per-user basis,
49 you can use the https://extensions.gnome.org/ web interface, the
50 gnome-extra/gnome-tweak-tool GUI, or modify the org.gnome.shell
51 enabled-extensions gsettings key from the command line or a script."
54 gnome2_src_configure --enable-extensions=all
60 local example="example@gnome-shell-extensions.gcampax.github.com"
62 mv "${ED}usr/share/gnome-shell/extensions/${example}" \
63 "${ED}usr/share/doc/${PF}/" || die
65 rm -r "${ED}usr/share/gnome-shell/extensions/${example}" || die
68 readme.gentoo_create_doc
74 ebegin "Updating list of installed extensions"
75 eselect gnome-shell-extensions update
78 readme.gentoo_print_elog