summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2021-12-10 04:44:42 +0100
committerMaciej Barć <xgqt@gentoo.org>2021-12-10 04:50:20 +0100
commitda7a3fae5464aa046c7089d37a2553c4c8259664 (patch)
treed562480bb8e485ce1d202af0c4ff6fdeb5088daa /x11-misc
parentnet-analyzer/cacti-spine: add 1.2.19 (diff)
downloadgentoo-da7a3fae5464aa046c7089d37a2553c4c8259664.tar.gz
gentoo-da7a3fae5464aa046c7089d37a2553c4c8259664.tar.bz2
gentoo-da7a3fae5464aa046c7089d37a2553c4c8259664.zip
x11-misc/screenkey: bump to 1.5
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/screenkey/Manifest1
-rw-r--r--x11-misc/screenkey/screenkey-1.5.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/x11-misc/screenkey/Manifest b/x11-misc/screenkey/Manifest
index 743ab584e958..3669c103c44e 100644
--- a/x11-misc/screenkey/Manifest
+++ b/x11-misc/screenkey/Manifest
@@ -1,2 +1,3 @@
DIST screenkey-1.3.tar.gz 82732 BLAKE2B 53cf700f7211783c360552667d5bc77dfa467137476c4ae57944fe7a1e3e9da9b4488cade9c2f091b2be51cb393e063509ae858f6cca1b34ceadd3e158586e05 SHA512 16aceeb1e1a0ed5add06ed2bfd1eca04b9909537bbb979f531a98270c33af3d5e667534e73546a85c3f58ef837795a35891f00f8cf41e5ea10c45b7992334e96
DIST screenkey-1.4.tar.gz 83784 BLAKE2B 4d4264ff88fdd57b27709091c5bd79dba304f94209465e4bbaf3d6ee965b2088fcbf3afc96e0c785fa954b5bb96fc26d4d79e9aeb2dd774daf519055fc301030 SHA512 f22afbdeb2c7d7884f97faec3601bfe13f65d33a2e284cccda6d6851d0838e4a4c6860c93abd4c11f21170fb970e6cb12b52cb0cd4cb1fb58cfcf44f0945ad2d
+DIST screenkey-1.5.tar.gz 87449 BLAKE2B 1ca3a7d643c65e2a82ce51feb4de022ccb0bb35848c0bb63871343b499e4b7a677e7df379ad259c149ba4a93d98cc36a05d9fb58976cc96d20b3fe98b54301db SHA512 bc9457b17c9e2fea3cefc97546dfd89a019a527608ec79960d1a712c1f1bbc97cf37404a1d84ca1c4587ae4d52163e2de30797f75b9a4a1da45ac585b8b650cf
diff --git a/x11-misc/screenkey/screenkey-1.5.ebuild b/x11-misc/screenkey/screenkey-1.5.ebuild
new file mode 100644
index 000000000000..21e05cd08015
--- /dev/null
+++ b/x11-misc/screenkey/screenkey-1.5.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+inherit distutils-r1 xdg
+
+DESCRIPTION="A screencast tool to display your keys inspired by Screenflick"
+HOMEPAGE="https://www.thregr.org/~wavexx/software/screenkey/"
+
+if [[ "${PV}" == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/screenkey/${PN}.git"
+else
+ SRC_URI="https://gitlab.com/screenkey/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/${PN}-v${PV}"
+fi
+
+RESTRICT="test"
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="appindicator"
+
+BDEPEND="
+ dev-python/Babel[${PYTHON_USEDEP}]
+ dev-python/wheel[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ media-fonts/fontawesome
+ x11-libs/gtk+:3[X,introspection]
+ x11-misc/slop
+ appindicator? ( dev-libs/libappindicator:3[introspection] )
+"
+
+src_prepare() {
+ # Change the doc install path
+ sed -i "s|share/doc/screenkey|share/doc/${PF}|g" setup.py || die
+
+ default
+}