From d55a67027a410ede37787b0b7b6d37abf0aa0ff3 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Fri, 8 Jan 2021 19:58:00 +0100 Subject: x11-misc/screenkey: new proxy-maintained pkg; add 1.3 and 9999 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ć Signed-off-by: Stephan Hartmann --- x11-misc/screenkey/Manifest | 1 + x11-misc/screenkey/metadata.xml | 15 +++++++++++ x11-misc/screenkey/screenkey-1.3.ebuild | 46 ++++++++++++++++++++++++++++++++ x11-misc/screenkey/screenkey-9999.ebuild | 46 ++++++++++++++++++++++++++++++++ 4 files changed, 108 insertions(+) create mode 100644 x11-misc/screenkey/Manifest create mode 100644 x11-misc/screenkey/metadata.xml create mode 100644 x11-misc/screenkey/screenkey-1.3.ebuild create mode 100644 x11-misc/screenkey/screenkey-9999.ebuild (limited to 'x11-misc/screenkey') 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 @@ + + + + + xgqt@protonmail.com + Maciej Barć + + + sultan@gentoo.org + Stephan Hartmann + + + screenkey/screenkey + + 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 +} -- cgit v1.2.3-65-gdbad