summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2021-03-08 09:34:24 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-03-08 09:35:05 +0200
commitbe49ac3e4d40f47f2b1c1a356bcab27ae0f6a324 (patch)
tree7d93a83293786fa41e31171e76cfc5037c8e0248 /x11-terms
parentapp-crypt/openpgp-keys-terminator: new package (diff)
downloadgentoo-be49ac3e4d40f47f2b1c1a356bcab27ae0f6a324.tar.gz
gentoo-be49ac3e4d40f47f2b1c1a356bcab27ae0f6a324.tar.bz2
gentoo-be49ac3e4d40f47f2b1c1a356bcab27ae0f6a324.zip
x11-terms/terminator: version 2.1.0
Closes: https://bugs.gentoo.org/772326 Signed-off-by: Alexey Sokolov <sokolov@google.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/terminator/Manifest2
-rw-r--r--x11-terms/terminator/terminator-2.1.0.ebuild72
2 files changed, 74 insertions, 0 deletions
diff --git a/x11-terms/terminator/Manifest b/x11-terms/terminator/Manifest
index 7d3d391e290c..e0f1884ffcc5 100644
--- a/x11-terms/terminator/Manifest
+++ b/x11-terms/terminator/Manifest
@@ -1 +1,3 @@
DIST terminator-2.0.1.tar.gz 934263 BLAKE2B b3b74f513f50f53bd9d6c0909daebb6912b20fd19cfb4ebcded443d2118a4608c3377e0498604ffec61e4d4ee48eb573a4e59ebef9a2b5708f52afb6949238cf SHA512 d0159ba966a10e51d18374ce2c9f700a2b9cc981496804948ed8d13b2896ad2c2a621337b6e5da8abee59616c16a64ac267e02b8ecd55d40c35d503397a9f50b
+DIST terminator-2.1.0.tar.gz 1030864 BLAKE2B 2fb92644b1e5a79f9f9d307e50889d8741e5dc5c9e15f10d29b9c0ecb8a5c07839fd3018034435815f5dbf8f387122c18fcc71d7c82a8a250ea4449673a7054d SHA512 0406b0542d5b4498084968b4e49a5ae3ff10db394907930923ad76ac5edf459c976a0a5b8617fd3a14dcde464b563ae137beb33e04b5b82ae856c497abf3fd04
+DIST terminator-2.1.0.tar.gz.asc 866 BLAKE2B de8580504665943677eff710418c587f9da1618f2a79c8af76f53c1dae1a5d458be6489e5fd4c8fc7cd89d87d38d7546b1932b9c9c4876a7c3fed3be8fcec930 SHA512 bc5562cf75bb4e890e98e3f3d52f385d357ad97ccca3584da3ea0e5b383f30558ca99808af20c3b5d479d98beed3e69a31a9fe43d289e55d949976843f09ae31
diff --git a/x11-terms/terminator/terminator-2.1.0.ebuild b/x11-terms/terminator/terminator-2.1.0.ebuild
new file mode 100644
index 000000000000..50543f700755
--- /dev/null
+++ b/x11-terms/terminator/terminator-2.1.0.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2021 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 verify-sig 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/releases/download/v${PV}/${P}.tar.gz
+ verify-sig? ( https://github.com/gnome-terminator/terminator/releases/download/v${PV}/${P}.tar.gz.asc )
+"
+
+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]
+ )
+ verify-sig? ( app-crypt/openpgp-keys-terminator )
+"
+distutils_enable_tests pytest
+
+VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/terminator.asc
+
+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
+}