mirror of
https://github.com/gryf/gryf-overlay.git
synced 2026-01-06 22:04:17 +01:00
Added screenkey ebuild
This commit is contained in:
2
app-accessibility/screenkey/Manifest
Normal file
2
app-accessibility/screenkey/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST screenkey-1.5.tar.gz 87449 BLAKE2B 1ca3a7d643c65e2a82ce51feb4de022ccb0bb35848c0bb63871343b499e4b7a677e7df379ad259c149ba4a93d98cc36a05d9fb58976cc96d20b3fe98b54301db SHA512 bc9457b17c9e2fea3cefc97546dfd89a019a527608ec79960d1a712c1f1bbc97cf37404a1d84ca1c4587ae4d52163e2de30797f75b9a4a1da45ac585b8b650cf
|
||||||
|
EBUILD screenkey-1.5.ebuild 985 BLAKE2B c22b91024bee4592d3afadcc298ea29f8b36f161c1d7caea3fb43feaa1389c16623093977aa974e91def6a66a933fc0edc12a1b1f4b1e151655f64f736890cfd SHA512 a40c23a68533dac5043d3a1f9025b88150a54c1178e23b80a4011fda8c1e763a290656cf81a6fd96fca3ded00914e25bdb49e9e6de49979c6392495d1567fc81
|
||||||
43
app-accessibility/screenkey/screenkey-1.5.ebuild
Normal file
43
app-accessibility/screenkey/screenkey-1.5.ebuild
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..11} )
|
||||||
|
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 ~x86"
|
||||||
|
S="${WORKDIR}"/"${PN}"-v"${PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
dev-python/python-distutils-extra[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/pycairo[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||||
|
sys-devel/gettext
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
xdg_environment_reset
|
||||||
|
|
||||||
|
# Change the doc install path
|
||||||
|
sed -i "s/share\/doc\/screenkey/share\/doc\/${P}/g" setup.py || die
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user