x11-misc/screenkey - 9999 (gentoo)

Search

Install

Install this version:

emerge -a =x11-misc/screenkey-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =x11-misc/screenkey-9999

Or alternatively:

emerge --autounmask-write -a =x11-misc/screenkey-9999

Package Information

Description:
A screencast tool to display your keys inspired by Screenflick
Homepage:
https://www.thregr.org/~wavexx/software/screenkey/
License:
GPL-3+

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )

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/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2
		-> ${P}.tar.bz2"
	S="${WORKDIR}/${PN}-v${PV}"

	KEYWORDS="~amd64"
fi

LICENSE="GPL-3+"
SLOT="0"
IUSE="appindicator"
RESTRICT="test"

RDEPEND="
	>=dev-libs/glib-2.84.3[introspection]
	dev-python/dbus-python[${PYTHON_USEDEP}]
	dev-python/pycairo[${PYTHON_USEDEP}]
	dev-python/pygobject[${PYTHON_USEDEP}]
	media-fonts/fontawesome
	x11-libs/gdk-pixbuf[introspection]
	x11-libs/gtk+:3[X,introspection]
	x11-libs/libX11
	x11-libs/libXtst
	x11-libs/pango[introspection]
	x11-misc/slop
	appindicator? ( dev-libs/libayatana-appindicator )
"
BDEPEND="
	dev-python/babel[${PYTHON_USEDEP}]
"

src_prepare() {
	# Change the doc install path
	sed -i "s|share/doc/screenkey|share/doc/${PF}|g" setup.py || die

	distutils-r1_src_prepare
}

USE Flags

Manage flags for this package: euse -i <flag> -p x11-misc/screenkey | euse -E <flag> -p x11-misc/screenkey | euse -D <flag> -p x11-misc/screenkey

Global/Standard Flags

Inherited Eclasses

xdg

Dependencies

RDEPEND

	>=dev-libs/glib-2.84.3[introspection]
	dev-python/dbus-python[]
	dev-python/pycairo[]
	dev-python/pygobject[]
	media-fonts/fontawesome
	x11-libs/gdk-pixbuf[introspection]
	x11-libs/gtk+:3[X,introspection]
	x11-libs/libX11
	x11-libs/libXtst
	x11-libs/pango[introspection]
	x11-misc/slop
	appindicator? ( dev-libs/libayatana-appindicator )

BDEPEND

	dev-python/babel[]