gui-apps/waybar-tooltips: new package, add 0.0.1
Signed-off-by: Horea Christian <chr@chymera.eu>
This commit is contained in:
parent
23344c955d
commit
830447900f
1
gui-apps/waybar-tooltips/Manifest
Normal file
1
gui-apps/waybar-tooltips/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST waybar-tooltips-0.0.1.tar.gz 14442 BLAKE2B 655f70dab366993074c07579ccb4cef9dbb4e84b0facc3870a76695c49f92f10d9bc2c36e3a333eeab778e1bd185c111ec3c1682e82506d3684d9cc49d0bce4b SHA512 5605b6a57b97c039945b4d2acce20e767117c07a6dfec9c68717c0a6968ad098ad5888a7a84cb3188fd3c2767515a08134a1689336a7bd9018e9444e49260d53
|
15
gui-apps/waybar-tooltips/metadata.xml
Normal file
15
gui-apps/waybar-tooltips/metadata.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@chymera.eu</email>
|
||||
<name>Horea Christian</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">TheChymera/waybar-tooltips</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="khal">Calendar tooltip via khal</flag>
|
||||
<flag name="weather">Weather tooltip via wttr.in and ansiweather fallback</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
40
gui-apps/waybar-tooltips/waybar-tooltips-0.0.1.ebuild
Normal file
40
gui-apps/waybar-tooltips/waybar-tooltips-0.0.1.ebuild
Normal file
@ -0,0 +1,40 @@
|
||||
# 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/0.0.1.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
IUSE="khal weather"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
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
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user