You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.6 KiB
73 lines
1.6 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
12 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
12 years ago
|
|
||
8 years ago
|
EAPI=6
|
||
12 years ago
|
GNOME2_LA_PUNT="yes"
|
||
11 years ago
|
PYTHON_COMPAT=( python2_7 )
|
||
12 years ago
|
|
||
8 years ago
|
inherit gnome2 python-r1
|
||
12 years ago
|
|
||
|
DESCRIPTION="Tool to customize GNOME 3 options"
|
||
11 years ago
|
HOMEPAGE="https://wiki.gnome.org/action/show/Apps/GnomeTweakTool"
|
||
12 years ago
|
|
||
|
LICENSE="GPL-2+"
|
||
|
SLOT="0"
|
||
8 years ago
|
|
||
12 years ago
|
IUSE=""
|
||
11 years ago
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||
|
|
||
8 years ago
|
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||
12 years ago
|
|
||
11 years ago
|
# Newer pygobject needed due upstream bug #723951
|
||
12 years ago
|
COMMON_DEPEND="
|
||
11 years ago
|
${PYTHON_DEPS}
|
||
9 years ago
|
dev-libs/glib:2[dbus]
|
||
11 years ago
|
>=dev-python/pygobject-3.10.2:3[${PYTHON_USEDEP}]
|
||
8 years ago
|
>=gnome-base/gsettings-desktop-schemas-3.21.2
|
||
12 years ago
|
"
|
||
|
# g-s-d, gnome-desktop, gnome-shell etc. needed at runtime for the gsettings schemas
|
||
|
RDEPEND="${COMMON_DEPEND}
|
||
|
>=gnome-base/gnome-desktop-3.6.0.1:3=[introspection]
|
||
10 years ago
|
>=x11-libs/gtk+-3.12:3[introspection]
|
||
11 years ago
|
|
||
8 years ago
|
net-libs/libsoup:2.4[introspection]
|
||
11 years ago
|
x11-libs/libnotify[introspection]
|
||
12 years ago
|
|
||
|
>=gnome-base/gnome-settings-daemon-3
|
||
|
gnome-base/gnome-shell
|
||
|
>=gnome-base/nautilus-3
|
||
|
"
|
||
|
DEPEND="${COMMON_DEPEND}
|
||
|
>=dev-util/intltool-0.40.0
|
||
|
virtual/pkgconfig
|
||
|
"
|
||
|
|
||
|
src_prepare() {
|
||
|
# Add contents of Gentoo's cursor theme directory to cursor theme list
|
||
8 years ago
|
eapply "${FILESDIR}/${PN}-3.10.1-gentoo-cursor-themes.patch"
|
||
9 years ago
|
|
||
12 years ago
|
gnome2_src_prepare
|
||
|
python_copy_sources
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
python_foreach_impl run_in_build_dir gnome2_src_configure
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
python_foreach_impl run_in_build_dir gnome2_src_compile
|
||
|
}
|
||
|
|
||
|
src_test() {
|
||
|
python_foreach_impl run_in_build_dir default
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
install_python() {
|
||
|
gnome2_src_install
|
||
|
python_doscript gnome-tweak-tool || die
|
||
|
}
|
||
|
python_foreach_impl run_in_build_dir install_python
|
||
|
}
|