diff options
author | Maciej Barć <xgqt@protonmail.com> | 2021-01-31 14:57:00 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2021-01-31 17:56:39 +0100 |
commit | 1f78b7f47d2b3f2006d377c9f912a11f1553ddbe (patch) | |
tree | d308b1dc9285fc22df943f93859b614113d55d29 /x11-misc/screenkey | |
parent | media-libs/libxmi: stable 1.3-r1 for sparc, bug #768066 (diff) | |
download | gentoo-1f78b7f47d2b3f2006d377c9f912a11f1553ddbe.tar.gz gentoo-1f78b7f47d2b3f2006d377c9f912a11f1553ddbe.tar.bz2 gentoo-1f78b7f47d2b3f2006d377c9f912a11f1553ddbe.zip |
x11-misc/screenkey: bump to 1.4
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19271
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'x11-misc/screenkey')
-rw-r--r-- | x11-misc/screenkey/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/screenkey/screenkey-1.4.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/x11-misc/screenkey/Manifest b/x11-misc/screenkey/Manifest index b702d58e8ad6..743ab584e958 100644 --- a/x11-misc/screenkey/Manifest +++ b/x11-misc/screenkey/Manifest @@ -1 +1,2 @@ DIST screenkey-1.3.tar.gz 82732 BLAKE2B 53cf700f7211783c360552667d5bc77dfa467137476c4ae57944fe7a1e3e9da9b4488cade9c2f091b2be51cb393e063509ae858f6cca1b34ceadd3e158586e05 SHA512 16aceeb1e1a0ed5add06ed2bfd1eca04b9909537bbb979f531a98270c33af3d5e667534e73546a85c3f58ef837795a35891f00f8cf41e5ea10c45b7992334e96 +DIST screenkey-1.4.tar.gz 83784 BLAKE2B 4d4264ff88fdd57b27709091c5bd79dba304f94209465e4bbaf3d6ee965b2088fcbf3afc96e0c785fa954b5bb96fc26d4d79e9aeb2dd774daf519055fc301030 SHA512 f22afbdeb2c7d7884f97faec3601bfe13f65d33a2e284cccda6d6851d0838e4a4c6860c93abd4c11f21170fb970e6cb12b52cb0cd4cb1fb58cfcf44f0945ad2d diff --git a/x11-misc/screenkey/screenkey-1.4.ebuild b/x11-misc/screenkey/screenkey-1.4.ebuild new file mode 100644 index 000000000000..0b52f31fef09 --- /dev/null +++ b/x11-misc/screenkey/screenkey-1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 +} |