diff --git a/x11-misc/screenkey/Manifest b/x11-misc/screenkey/Manifest new file mode 100644 index 0000000..451cdc5 --- /dev/null +++ b/x11-misc/screenkey/Manifest @@ -0,0 +1 @@ +DIST screenkey-0.9.tar.gz 58220 BLAKE2B 1f12e01f741148356dd293907aa2ae324f7cdb3c2a31fd4b04cea598ca33d805ebc4a51f71324553ac211dd23c99727240f47069b053bc3b098afb865d28ba93 SHA512 99f069f6f64d0812b526b7550b713bcd99e39756b07591d4e546273efcd085790e44f1586b6562f71f5a8dd22e755f17076f3e6c44bf0ed9b43b05c10d7fcbfa diff --git a/x11-misc/screenkey/metadata.xml b/x11-misc/screenkey/metadata.xml new file mode 100644 index 0000000..7606c30 --- /dev/null +++ b/x11-misc/screenkey/metadata.xml @@ -0,0 +1,7 @@ + + + + + screenkey/screenkey + + diff --git a/x11-misc/screenkey/screenkey-0.9.ebuild b/x11-misc/screenkey/screenkey-0.9.ebuild new file mode 100644 index 0000000..e32428a --- /dev/null +++ b/x11-misc/screenkey/screenkey-0.9.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 xdg-utils + +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" + KEYWORDS="" +else + SRC_URI="https://www.thregr.org/~wavexx/software/${PN}/releases/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT="mirror" +LICENSE="GPL-3+" +SLOT="0" +IUSE="" + +BDEPEND=" + dev-python/python-distutils-extra[${PYTHON_USEDEP}] + dev-python/setuptools-git[${PYTHON_USEDEP}] +" +RDEPEND=" + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + sys-devel/gettext +" + +src_prepare() { + xdg_environment_reset + default +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} diff --git a/x11-misc/screenkey/screenkey-9999.ebuild b/x11-misc/screenkey/screenkey-9999.ebuild new file mode 100644 index 0000000..e32428a --- /dev/null +++ b/x11-misc/screenkey/screenkey-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend +inherit distutils-r1 xdg-utils + +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" + KEYWORDS="" +else + SRC_URI="https://www.thregr.org/~wavexx/software/${PN}/releases/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT="mirror" +LICENSE="GPL-3+" +SLOT="0" +IUSE="" + +BDEPEND=" + dev-python/python-distutils-extra[${PYTHON_USEDEP}] + dev-python/setuptools-git[${PYTHON_USEDEP}] +" +RDEPEND=" + dev-python/pycairo[${PYTHON_USEDEP}] + dev-python/pygobject[${PYTHON_USEDEP}] + sys-devel/gettext +" + +src_prepare() { + xdg_environment_reset + default +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +}