x11-misc/screenkey: move to guru
This commit is contained in:
parent
77b16cc8f7
commit
1673f426e2
@ -1 +0,0 @@
|
||||
DIST screenkey-1.2.tar.gz 71803 BLAKE2B 3f3ece34f9a3ba2907411d96022c329e63bbc55924f97cb13472b25740051bdaacb745601dde3ff8e162f807057bfc6d11ba1dd4a828c597c5f3ea6185d9b7d2 SHA512 0a9454409f3615849380765ecf884ef02049b9e9e8d6af6ae58d565f879eccb5821845341410232a1c252f9da294a9528557792e713f81915a2433cd14babf8b
|
@ -1,7 +0,0 @@
|
||||
<?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>
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,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="mirror"
|
||||
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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,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="mirror"
|
||||
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
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
}
|
Loading…
Reference in New Issue
Block a user