summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@protonmail.com>2021-01-08 19:58:00 +0100
committerStephan Hartmann <sultan@gentoo.org>2021-01-29 22:27:02 +0100
commitd55a67027a410ede37787b0b7b6d37abf0aa0ff3 (patch)
tree04af3d8c26c77198bc04ff7e48e61845bf32de06 /x11-misc/screenkey
parentdev-ml/logs: bump version to 0.6.3 and 0.7.0 (diff)
downloadgentoo-d55a67027a410ede37787b0b7b6d37abf0aa0ff3.tar.gz
gentoo-d55a67027a410ede37787b0b7b6d37abf0aa0ff3.tar.bz2
gentoo-d55a67027a410ede37787b0b7b6d37abf0aa0ff3.zip
x11-misc/screenkey: new proxy-maintained pkg; add 1.3 and 9999
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/18995 Closes: https://bugs.gentoo.org/724986 Signed-off-by: Maciej Barć <xgqt@protonmail.com> Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'x11-misc/screenkey')
-rw-r--r--x11-misc/screenkey/Manifest1
-rw-r--r--x11-misc/screenkey/metadata.xml15
-rw-r--r--x11-misc/screenkey/screenkey-1.3.ebuild46
-rw-r--r--x11-misc/screenkey/screenkey-9999.ebuild46
4 files changed, 108 insertions, 0 deletions
diff --git a/x11-misc/screenkey/Manifest b/x11-misc/screenkey/Manifest
new file mode 100644
index 000000000000..b702d58e8ad6
--- /dev/null
+++ b/x11-misc/screenkey/Manifest
@@ -0,0 +1 @@
+DIST screenkey-1.3.tar.gz 82732 BLAKE2B 53cf700f7211783c360552667d5bc77dfa467137476c4ae57944fe7a1e3e9da9b4488cade9c2f091b2be51cb393e063509ae858f6cca1b34ceadd3e158586e05 SHA512 16aceeb1e1a0ed5add06ed2bfd1eca04b9909537bbb979f531a98270c33af3d5e667534e73546a85c3f58ef837795a35891f00f8cf41e5ea10c45b7992334e96
diff --git a/x11-misc/screenkey/metadata.xml b/x11-misc/screenkey/metadata.xml
new file mode 100644
index 000000000000..dc5be68e2b19
--- /dev/null
+++ b/x11-misc/screenkey/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>xgqt@protonmail.com</email>
+ <name>Maciej Barć</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>sultan@gentoo.org</email>
+ <name>Stephan Hartmann</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">screenkey/screenkey</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-misc/screenkey/screenkey-1.3.ebuild b/x11-misc/screenkey/screenkey-1.3.ebuild
new file mode 100644
index 000000000000..5aded2be34d6
--- /dev/null
+++ b/x11-misc/screenkey/screenkey-1.3.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/python-distutils-extra[${PYTHON_USEDEP}]
+ sys-devel/gettext
+"
+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
+}
diff --git a/x11-misc/screenkey/screenkey-9999.ebuild b/x11-misc/screenkey/screenkey-9999.ebuild
new file mode 100644
index 000000000000..0b52f31fef09
--- /dev/null
+++ b/x11-misc/screenkey/screenkey-9999.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
+}