1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python2_7 )
8 inherit gnome2 python-r1
10 DESCRIPTION="Tool to customize GNOME 3 options"
11 HOMEPAGE="https://wiki.gnome.org/action/show/Apps/GnomeTweakTool"
17 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
19 KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 x86"
21 # Newer pygobject needed due upstream bug #723951
25 >=dev-python/pygobject-3.10.2:3[${PYTHON_USEDEP}]
26 >=gnome-base/gsettings-desktop-schemas-3.21.2
28 # g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas
29 RDEPEND="${COMMON_DEPEND}
30 >=gnome-base/gnome-desktop-3.6.0.1:3=[introspection]
31 >=x11-libs/gtk+-3.12:3[introspection]
33 net-libs/libsoup:2.4[introspection]
34 x11-libs/libnotify[introspection]
36 >=gnome-base/gnome-settings-daemon-3
37 gnome-base/gnome-shell
38 >=gnome-base/nautilus-3
40 DEPEND="${COMMON_DEPEND}
41 >=dev-util/intltool-0.40.0
46 # Add contents of Gentoo's cursor theme directory to cursor theme list
47 eapply "${FILESDIR}/${PN}-3.10.1-gentoo-cursor-themes.patch"
54 python_foreach_impl run_in_build_dir gnome2_src_configure
58 python_foreach_impl run_in_build_dir gnome2_src_compile
62 python_foreach_impl run_in_build_dir default
68 python_doscript gnome-tweak-tool || die
70 python_foreach_impl run_in_build_dir install_python