gui-apps/hiprompt-gtk-py - 9999 (guru)

Search

Install

Install this version:

emerge -a =gui-apps/hiprompt-gtk-py-9999

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

autounmask =gui-apps/hiprompt-gtk-py-9999

Or alternatively:

emerge --autounmask-write -a =gui-apps/hiprompt-gtk-py-9999

Package Information

Description:
GTK+ Himitsu prompter for Wayland
Homepage:
https://git.sr.ht/~sircmpwn/hiprompt-gtk-py
License:
GPL-3

Ebuild Details

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

EAPI=8

PYTHON_COMPAT=( python3_{12..14} )
inherit meson python-single-r1 xdg

if [[ "${PV}" == "9999" ]]
then
	inherit git-r3
	EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
else
	SRC_URI="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm64 ~riscv"
fi

DESCRIPTION="GTK+ Himitsu prompter for Wayland"
HOMEPAGE="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
LICENSE="GPL-3"
SLOT="0"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

RDEPEND="
	${PYTHON_DEPS}
	$(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
	x11-libs/gtk+:3[introspection]
	>=gui-libs/gtk-layer-shell-0.5.0[introspection]
"
DEPEND="${RDEPEND}"

src_prepare() {
	default

	# Otherwise you get the fake "python" symlink present in $WORKDIR
	sed -i "s;@PYTHON@;/usr/bin/${EPYTHON};g" hiprompt_gtk/hiprompt-gtk.in || die
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	${PYTHON_DEPS}
	$(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
	x11-libs/gtk+:3[introspection]
	>=gui-libs/gtk-layer-shell-0.5.0[introspection]

RDEPEND

	${PYTHON_DEPS}
	$(python_gen_cond_dep 'dev-python/pygobject[${PYTHON_USEDEP}]')
	x11-libs/gtk+:3[introspection]
	>=gui-libs/gtk-layer-shell-0.5.0[introspection]