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 git-r3 gnome2-utils xdg-utils
10 DESCRIPTION="Drop-down terminal for GNOME"
11 HOMEPAGE="https://github.com/Guake/guake https://pypi.org/project/Guake"
12 EGIT_REPO_URI="https://github.com/Guake/guake.git"
21 dev-libs/keybinder:3[introspection]
22 dev-python/dbus-python[${PYTHON_USEDEP}]
23 dev-python/pbr[${PYTHON_USEDEP}]
24 dev-python/pycairo[${PYTHON_USEDEP}]
25 dev-python/pygobject:3[${PYTHON_USEDEP}]
26 x11-libs/libnotify[introspection]
27 x11-libs/libwnck:3[introspection]
28 x11-libs/vte:2.91[introspection]
29 utempter? ( sys-libs/libutempter )
33 dev-python/setuptools[${PYTHON_USEDEP}]
34 gnome-base/gsettings-desktop-schemas
40 "${FILESDIR}"/${PN}-3.3.2-paths.patch
43 python_compile_all() {
44 emake prepare-install prefix=/usr
45 emake generate-paths prefix=/usr DATA_DIR='$(datadir)/guake' DEV_SCHEMA_DIR='$(gsettingsschemadir)'
49 python_install_all() {
50 emake install-schemas install-locale prefix=/usr DESTDIR="${D}"
51 distutils-r1_python_install_all
56 xdg_desktop_database_update
61 xdg_desktop_database_update