1 # Copyright 1999-2018 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="amd64 ~ia64 x86"
24 >=dev-python/pygobject-3.10.2:3[${PYTHON_USEDEP}]
25 >=gnome-base/gsettings-desktop-schemas-3.23.3
27 # g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas
28 RDEPEND="${COMMON_DEPEND}
29 >=gnome-base/gnome-desktop-3.6.0.1:3=[introspection]
30 >=x11-libs/gtk+-3.12:3[introspection]
32 net-libs/libsoup:2.4[introspection]
33 x11-libs/libnotify[introspection]
35 >=gnome-base/gnome-settings-daemon-3
36 >=gnome-base/gnome-shell-3.24
37 >=gnome-base/nautilus-3
39 DEPEND="${COMMON_DEPEND}
40 >=dev-util/intltool-0.40.0
45 # Add contents of Gentoo's cursor theme directory to cursor theme list
46 eapply "${FILESDIR}/${PN}-3.10.1-gentoo-cursor-themes.patch"
53 python_foreach_impl run_in_build_dir gnome2_src_configure
57 python_foreach_impl run_in_build_dir gnome2_src_compile
61 python_foreach_impl run_in_build_dir default
67 python_doscript gnome-tweak-tool || die
69 python_foreach_impl run_in_build_dir install_python