diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /x11-terms/terminator/terminator-2.0.1.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'x11-terms/terminator/terminator-2.0.1.ebuild')
-rw-r--r-- | x11-terms/terminator/terminator-2.0.1.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/x11-terms/terminator/terminator-2.0.1.ebuild b/x11-terms/terminator/terminator-2.0.1.ebuild new file mode 100644 index 000000000000..b4f2d5d860e5 --- /dev/null +++ b/x11-terms/terminator/terminator-2.0.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +inherit distutils-r1 optfeature virtualx xdg-utils + +DESCRIPTION="Multiple GNOME terminals in one window" +HOMEPAGE="https://github.com/gnome-terminator/terminator" +SRC_URI="https://github.com/gnome-terminator/terminator/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc x86" +IUSE="test" + +RDEPEND=" + dev-libs/glib:2 + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + gnome-base/gsettings-desktop-schemas[introspection] + x11-libs/gtk+:3 + x11-libs/vte:2.91[introspection] +" +BDEPEND=" + dev-util/intltool + sys-devel/gettext + test? ( + dev-python/dbus-python[${PYTHON_USEDEP}] + x11-libs/libnotify[introspection] + ) +" +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/terminator-1.91-without-icon-cache.patch + "${FILESDIR}"/terminator-1.91-desktop.patch +) + +src_prepare() { + xdg_environment_reset + sed -i -e '/pytest-runner/d' setup.py || die + distutils-r1_src_prepare +} + +src_test() { + virtx distutils-r1_src_test +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + elog "Consider installing the following for additional features:" + optfeature "D-Bus" dev-python/dbus-python + optfeature "Desktop notifications" "x11-libs/libnotify[introspection]" + optfeature "Global keyboard shortcuts" "dev-libs/keybinder:3[introspection]" +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} |