x11-misc/screenkey: add version 0.9 and 9999

Package-Manager: Portage-2.3.89, Repoman-2.3.20
This commit is contained in:
XGQT 2020-04-18 00:42:25 +02:00
parent 663501d465
commit 07e767512c
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
4 changed files with 110 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST screenkey-0.9.tar.gz 58220 BLAKE2B 1f12e01f741148356dd293907aa2ae324f7cdb3c2a31fd4b04cea598ca33d805ebc4a51f71324553ac211dd23c99727240f47069b053bc3b098afb865d28ba93 SHA512 99f069f6f64d0812b526b7550b713bcd99e39756b07591d4e546273efcd085790e44f1586b6562f71f5a8dd22e755f17076f3e6c44bf0ed9b43b05c10d7fcbfa

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">screenkey/screenkey</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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
}

View File

@ -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
}