diff options
Diffstat (limited to 'x11-terms/terminator/terminator-2.1.1-r1.ebuild')
| -rw-r--r-- | x11-terms/terminator/terminator-2.1.1-r1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/x11-terms/terminator/terminator-2.1.1-r1.ebuild b/x11-terms/terminator/terminator-2.1.1-r1.ebuild new file mode 100644 index 0000000..e42cdf2 --- /dev/null +++ b/x11-terms/terminator/terminator-2.1.1-r1.ebuild | |||
| @@ -0,0 +1,65 @@ | |||
| 1 | # Copyright 1999-2022 Gentoo Authors | ||
| 2 | # Distributed under the terms of the GNU General Public License v2 | ||
| 3 | |||
| 4 | EAPI=7 | ||
| 5 | |||
| 6 | PYTHON_COMPAT=( python3_{7,8,9,10} ) | ||
| 7 | inherit distutils-r1 optfeature verify-sig virtualx xdg | ||
| 8 | |||
| 9 | DESCRIPTION="Multiple GNOME terminals in one window" | ||
| 10 | HOMEPAGE="https://github.com/gnome-terminator/terminator" | ||
| 11 | SRC_URI=" | ||
| 12 | https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz | ||
| 13 | verify-sig? ( https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz.asc ) | ||
| 14 | " | ||
| 15 | |||
| 16 | LICENSE="GPL-2" | ||
| 17 | SLOT="0" | ||
| 18 | KEYWORDS="amd64 ~ppc x86" | ||
| 19 | IUSE="test" | ||
| 20 | |||
| 21 | RDEPEND=" | ||
| 22 | dev-libs/glib:2 | ||
| 23 | dev-python/configobj[${PYTHON_USEDEP}] | ||
| 24 | dev-python/psutil[${PYTHON_USEDEP}] | ||
| 25 | dev-python/pycairo[${PYTHON_USEDEP}] | ||
| 26 | dev-python/pygobject:3[${PYTHON_USEDEP}] | ||
| 27 | gnome-base/gsettings-desktop-schemas[introspection] | ||
| 28 | x11-libs/gtk+:3 | ||
| 29 | x11-libs/vte:2.91[introspection] | ||
| 30 | " | ||
| 31 | BDEPEND=" | ||
| 32 | dev-util/intltool | ||
| 33 | sys-devel/gettext | ||
| 34 | test? ( | ||
| 35 | dev-python/dbus-python[${PYTHON_USEDEP}] | ||
| 36 | x11-libs/libnotify[introspection] | ||
| 37 | ) | ||
| 38 | verify-sig? ( sec-keys/openpgp-keys-terminator ) | ||
| 39 | " | ||
| 40 | distutils_enable_tests pytest | ||
| 41 | |||
| 42 | VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/terminator.asc | ||
| 43 | |||
| 44 | PATCHES=( | ||
| 45 | "${FILESDIR}"/terminator-1.91-without-icon-cache.patch | ||
| 46 | "${FILESDIR}"/terminator-1.91-desktop.patch | ||
| 47 | ) | ||
| 48 | |||
| 49 | src_prepare() { | ||
| 50 | xdg_environment_reset | ||
| 51 | sed -i -e '/pytest-runner/d' setup.py || die | ||
| 52 | distutils-r1_src_prepare | ||
| 53 | } | ||
| 54 | |||
| 55 | src_test() { | ||
| 56 | virtx distutils-r1_src_test | ||
| 57 | } | ||
| 58 | |||
| 59 | pkg_postinst() { | ||
| 60 | xdg_pkg_postinst | ||
| 61 | |||
| 62 | optfeature "D-Bus" dev-python/dbus-python | ||
| 63 | optfeature "desktop notifications" "x11-libs/libnotify[introspection]" | ||
| 64 | optfeature "global keyboard shortcuts" "dev-libs/keybinder:3[introspection]" | ||
| 65 | } | ||
