1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python3_6 )
6 DISTUTILS_SINGLE_IMPL=1
8 inherit distutils-r1 gnome2-utils xdg-utils
10 DESCRIPTION="Drop-down terminal for GNOME"
11 HOMEPAGE="https://github.com/Guake/guake https://pypi.org/project/Guake"
12 SRC_URI="mirror://pypi/G/${PN^}/${P^}.tar.gz -> ${P}.tar.gz"
16 KEYWORDS="amd64 arm x86"
21 dev-python/dbus-python[${PYTHON_USEDEP}]
22 dev-python/pbr[${PYTHON_USEDEP}]
23 dev-python/pycairo[${PYTHON_USEDEP}]
24 dev-python/pygobject:3[${PYTHON_USEDEP}]
27 utempter? ( sys-libs/libutempter )
31 dev-python/setuptools[${PYTHON_USEDEP}]
32 gnome-base/gsettings-desktop-schemas
38 "${FILESDIR}"/${PN}-3.3.2-paths.patch
42 python_compile_all() {
43 emake prepare-install prefix=/usr
44 emake generate-paths prefix=/usr DATA_DIR='$(datadir)/guake' DEV_SCHEMA_DIR='$(gsettingsschemadir)'
48 python_install_all() {
49 emake install-schemas install-locale prefix=/usr DESTDIR="${D}"
50 distutils-r1_python_install_all
55 xdg_desktop_database_update
60 xdg_desktop_database_update