diff options
Diffstat (limited to 'x11-terms/terminator/terminator-1.92-r2.ebuild')
| -rw-r--r-- | x11-terms/terminator/terminator-1.92-r2.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/x11-terms/terminator/terminator-1.92-r2.ebuild b/x11-terms/terminator/terminator-1.92-r2.ebuild new file mode 100644 index 0000000..f1c426e --- /dev/null +++ b/x11-terms/terminator/terminator-1.92-r2.ebuild | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | # Copyright 1999-2020 Gentoo Authors | ||
| 2 | # Distributed under the terms of the GNU General Public License v2 | ||
| 3 | |||
| 4 | EAPI=7 | ||
| 5 | |||
| 6 | PYTHON_COMPAT=( python3_{6,7,8} ) | ||
| 7 | DISTUTILS_USE_SETUPTOOLS="no" | ||
| 8 | inherit distutils-r1 virtualx xdg-utils | ||
| 9 | |||
| 10 | DESCRIPTION="Multiple GNOME terminals in one window (patched by sgs)" | ||
| 11 | HOMEPAGE="https://github.com/gnome-terminator/terminator" | ||
| 12 | SRC_URI="https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz" | ||
| 13 | |||
| 14 | LICENSE="GPL-2" | ||
| 15 | SLOT="0" | ||
| 16 | KEYWORDS="amd64 ~ppc x86" | ||
| 17 | IUSE="dbus +libnotify X" | ||
| 18 | |||
| 19 | RDEPEND=" | ||
| 20 | dev-libs/glib:2 | ||
| 21 | dev-python/configobj[${PYTHON_USEDEP}] | ||
| 22 | dev-python/psutil[${PYTHON_USEDEP}] | ||
| 23 | dev-python/pycairo[${PYTHON_USEDEP}] | ||
| 24 | dev-python/pygobject:3[${PYTHON_USEDEP}] | ||
| 25 | x11-libs/gtk+:3 | ||
| 26 | x11-libs/vte:2.91[introspection] | ||
| 27 | dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] ) | ||
| 28 | libnotify? ( x11-libs/libnotify[introspection] ) | ||
| 29 | X? ( dev-libs/keybinder:3[introspection] ) | ||
| 30 | " | ||
| 31 | BDEPEND=" | ||
| 32 | dev-util/intltool | ||
| 33 | " | ||
| 34 | distutils_enable_tests setup.py | ||
| 35 | |||
| 36 | PATCHES=( | ||
| 37 | "${FILESDIR}"/terminator-1.91-without-icon-cache.patch | ||
| 38 | "${FILESDIR}"/terminator-1.91-desktop.patch | ||
| 39 | "${FILESDIR}"/terminator-1.92-make-tests-fail.patch | ||
| 40 | "${FILESDIR}"/terminator-1.92-metainfo.patch | ||
| 41 | "${FILESDIR}"/${P}-single-tab.patch | ||
| 42 | ) | ||
| 43 | |||
| 44 | src_prepare() { | ||
| 45 | xdg_environment_reset | ||
| 46 | distutils-r1_src_prepare | ||
| 47 | } | ||
| 48 | |||
| 49 | src_test() { | ||
| 50 | virtx distutils-r1_src_test | ||
| 51 | } | ||
| 52 | |||
| 53 | pkg_postinst() { | ||
| 54 | xdg_desktop_database_update | ||
| 55 | xdg_icon_cache_update | ||
| 56 | } | ||
| 57 | |||
| 58 | pkg_postrm() { | ||
| 59 | xdg_desktop_database_update | ||
| 60 | xdg_icon_cache_update | ||
| 61 | } | ||
