diff options
-rw-r--r-- | x11-terms/guake/Manifest | 1 | ||||
-rw-r--r-- | x11-terms/guake/guake-3.7.0.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/x11-terms/guake/Manifest b/x11-terms/guake/Manifest index 52799d9f7725..b41545b0251a 100644 --- a/x11-terms/guake/Manifest +++ b/x11-terms/guake/Manifest @@ -2,3 +2,4 @@ DIST guake-3.3.2.tar.gz 1084094 BLAKE2B b534ed18a6b9ad686fbe41fe1aa6e522429a5072 DIST guake-3.4.0.tar.gz 1167667 BLAKE2B 66cb4ae07894e06b37a264a79c52ac7b97fdd8e31f753a9e30f1609eba34b1f09bb133bd5413436e375eda39bb2716c1ad8ef8e0baf6641b540f03efc95e9406 SHA512 94053383a28c60fefbed70f166669a9a1528e9505c3bbfc1688312ef896e1c25c006536c755f01dca4868a97b30d857b044715f59f7a345fa4dc6075fac72ab6 DIST guake-3.6.1.tar.gz 1181556 BLAKE2B 62b47a5a00a6e90d28afd8a74e747b8d77e36d450d4349687bf341ec1d338a01c5c46dddd1cca2bd507ea7a1056a5fbb5870b15c70e91347c4c8692577eb0573 SHA512 12e005e413bfa37f368caa7995c3b8d6c40bdca3ccdc7e3795c26d977981629971f75ae5d024b5c5c205c2d5a1bf6a80e49dbef95a1e8dd6511694da079865b6 DIST guake-3.6.3.tar.gz 1192394 BLAKE2B 18aeee4151b9d88dc5eab089de404e0c61a3baa9ce09d579af048805125ce239574e6f7e154da6fcca3b24b9e630f7ba037f8a988ce43ce8f7e57c42e3e772ae SHA512 11515f3645eb4c8cac05d50a1bec0a14582cf94ac4bdaae85cf6fd3da0e428e044410f18893dd50f073eede042ac447983e233ba3742b113c03385a44058d401 +DIST guake-3.7.0.tar.gz 1215186 BLAKE2B ff60f83fce5fbdd3712e261bbb72247cdcb311b8208af75007183bced88fcc2d2ebe3c49b76e2264786246444e9d07a41f884de949112c249277717070d64c11 SHA512 578c42ed41049acd253e0c409a9ecb103c7f71679fc5efdd94c60461b952ac77c836e59439361e1cd70e5fe6785ab4c15e7bf73b9f4c7d23b47c77468fa05f62 diff --git a/x11-terms/guake/guake-3.7.0.ebuild b/x11-terms/guake/guake-3.7.0.ebuild new file mode 100644 index 000000000000..ec327169929e --- /dev/null +++ b/x11-terms/guake/guake-3.7.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_6 ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 gnome2-utils xdg-utils + +DESCRIPTION="Drop-down terminal for GNOME" +HOMEPAGE="https://github.com/Guake/guake https://pypi.org/project/Guake" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="utempter" + +RDEPEND=" + dev-libs/glib + dev-libs/keybinder:3[introspection] + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/pbr[${PYTHON_MULTI_USEDEP}] + dev-python/pycairo[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + ') + x11-libs/libnotify[introspection] + x11-libs/libwnck:3[introspection] + x11-libs/vte:2.91[introspection] + utempter? ( sys-libs/libutempter ) +" +DEPEND=" + ${RDEPEND} + gnome-base/gsettings-desktop-schemas + sys-devel/gettext + sys-devel/make +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.3.2-paths.patch +) + +pkg_setup() { + GUAKE_SCHEMA_DIR="${EROOT}"/usr/share/glib-2.0/schemas + python-single-r1_pkg_setup +} + +src_prepare() { + default + sed -i -e '/^SCHEMA_DIR/s|get_default_schema_dir()|"'"${GUAKE_SCHEMA_DIR}"'"|g' ${PN}/paths.py || die +} + +python_compile_all() { + emake prepare-install PREFIX=/usr + emake generate-paths PREFIX=/usr DATA_DIR='$(datadir)/guake' DEV_SCHEMA_DIR='$(gsettingsschemadir)' + default +} + +python_install_all() { + emake install-schemas install-locale PREFIX=/usr DESTDIR="${D}" + distutils-r1_python_install_all +} + +pkg_postinst() { + gnome2_schemas_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_schemas_update + xdg_desktop_database_update +} |