1
0
mirror of synced 2024-11-01 10:48:48 +01:00
TheChymera-overlay/gui-apps/waybar-tooltips/waybar-tooltips-0.0.6.ebuild
Horea Christian 971edce96d
gui-apps/waybar-tooltips: add 0.0.6
Signed-off-by: Horea Christian <chr@chymera.eu>
2023-01-09 05:59:30 -05:00

42 lines
836 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit python-r1
DESCRIPTION="Tooltips for Waybar"
HOMEPAGE="https://github.com/TheChymera/waybar-tooltips/"
SRC_URI="https://github.com/TheChymera/waybar-tooltips/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
IUSE="khal weather"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
SLOT="0"
RDEPEND="
${PYTHON_DEPS}
media-fonts/fontawesome
khal? (
app-misc/khal[${PYTHON_USEDEP}]
)
weather? (
app-misc/ansiweather
)
"
khal_python_install() {
python_doscript "${S}/bin/waybar-tooltip-khal.py"
}
src_install() {
if use khal; then
python_foreach_impl khal_python_install
fi
if use weather; then
dobin "${S}/bin/waybar-tooltip-weather"
fi
}